-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't create event on calendar : Event does not exist #2694
Comments
Can you share the URL path before and after you click? Please also post the browser logs, as there should be an error message. |
possibly related to #2662 |
Link before the click: http://ip-addr/index.php/apps/calendar/timeGridWeek/now Browser logs:
|
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
After some monkey testing I've found how to reproduce this issue:
So it turns out that I converted my tasks list to list+calendar objects by running: update oc_calendars set components="VTODO,VEVENT" where id=...; I don't know if this is all that needs to be done, but everything works ok. This is so simple to convert, that I think it should be possible from web interface. Something like: |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Forgotten that i only created a Task List weeks before I was wondering why I can't add event to that calendar. Indeed, it turns out all I need is to create a calendar with a task list. Suddenly also Mobile sync works. My fault ofc, but Task Lists without Calendars shouldn't be shown under calendars. |
Thanks for pointing me in the right direction. I took down my instance of NextCloud and am waiting for new hardware in order to deploy it to a more permanent system, and will check to see if I have the same issue on a fresh install. Thanks for the help guys! |
I can confirm I can still reproduce this issue on nextcloud 22.2.5 (calendar 3.0.6). I'm just posting for anyone else who comes across this issue: to solve it, try creating a new calendar. In my case it makes sense that I cannot create a new event, since I only have read-only calendars (created with "New calendar -> New subscription from link") and calendars automatically created by the Tasks app (which, as @tlaguz pointed out, by default cannot be used to create events from the Calendar app). If I create a new calendar from the Calendar app, I can create new events. Maybe it could be improved in the UI to warn the user when there is no writable calendar (currently it only says "Event does not exist" like in the screenshot from the original post). |
Thanks a lot @rmelotte ! |
I had the same issue as @Traace described. First installed task list app and later the calendar app. The task list from the task list app is shown in the calender but no calender is automatically added. Creating events in the task list does obviously not work, but understanding the issue was not that easy. The solution from @rmelotte also worked for me. After adding a calendar, everything worked smoothly as expected. Versions: I would be happy to see @rmelotte idea (UI improvement) realized. Could have saved me an hour of searching. |
@nimishavijay could you suggest a UI improvement on how we can make it clearer there are only read-only calendars? |
Same issue on fresh install via docker All In One v8.1.0. I only had the calendar called "Tasks" and I got that pop up error whenever I click on the calendar or "new event". How do I know that a calendar is read-only? |
Steps to reproduce
Tested with different operating system (Windows, iOS) / Browser (Firefox, Edge, Safari) / languages (English, French)
Expected behaviour
Excepted to able to create a new event.
Actual behaviour
Popup error
Server configuration
Operating system: Linux 4.19.107-Unraid #1 SMP Thu Mar 5 13:55:57 PST 2020 x86_64
Webserver: nginx/1.18.0 (fpm-fcgi)
Database: mysql 10.4.16
PHP version: 7.3.24
Modules loaded: Core, date, libxml, pcre, zlib, filter, hash, readline, Reflection, SPL, session, cgi-fcgi, bcmath, bz2, ctype, curl, dom, fileinfo, ftp, gd, gmp, iconv, intl, json, ldap, mbstring, openssl, pcntl, PDO, pgsql, posix, standard, SimpleXML, smbclient, sodium, sqlite3, xml, xmlwriter, zip, exif, imap, mysqlnd, pdo_pgsql, pdo_sqlite, Phar, xmlreader, pdo_mysql, apcu, igbinary, redis, memcached, imagick, mcrypt, libsmbclient, Zend OPcache
Nextcloud version: 20.0.1 - 20.0.1.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown
Signing status
Array
(
)
List of activated apps
Configuration (config/config.php)
External storages: files_external is disabled
Encryption: no
User-backends:
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
The text was updated successfully, but these errors were encountered: