Calendar : invalid date

Hey !

Just installed Nextcloud and I can’t create event in calendar, I have a weird message

Nextcloud version (eg, 18.0.2): Nextcloud 19.0.1
Operating system and version (eg, Ubuntu 20.04): Docker via Linux 4.19.107-Unraid x86_64
Apache or nginx version (eg, Apache 2.4.25): ??
PHP version (eg, 7.1): 7.3.24

  1. add event
  2. popup with invalid date

The output of your Nextcloud log in Admin > Logging: I don’t know if it’s related

Doctrine\DBAL\Exception\DeadlockException: An exception occurred while executing 'UPDATE `oc_file_locks` SET `lock` = `lock` + 1, `ttl` = ? WHERE `key` = ? AND `lock` >= 0' with params [1604857206, "files\/8bcfa6f3577791f97978f8d02cb67ecb"]: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => '',
  'passwordsalt' => '',
  'trusted_domains' => 
  array (
    0 => '192.168.1.9:30443',
    1 => '10.253.0.1:30443',
  ),
  'dbtype' => 'mysql',
  'version' => '19.0.1.1',
  'overwrite.cli.url' => '',
  'dbname' => 'nextcloud',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '',
  'installed' => true,
  'mail_from_address' => '',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'gmail.com',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '587',
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'maintenance' => false,
);

Thank you

Could be a translation problem. I’d use a current version, perhaps the problem was already fixed: https://nextcloud.com/changelog/#latest19

Hello,
Just updated to Nextcloud 20, problem still here. Switch to English, same :

image

So please update to 19.0.4 and the latest calender app version if possible. Difficult to help here.

Updated to 20.0.2 but problem persists. I created a github issue.

Please link your GitHub issue here so others can follow activity.

I was getting the same error with the invalid date information until I actually created a new calendar.

A couple of other “calendars” were showing up in the calendar plugin, but they were basically task lists that had due dates, so don’t think they really counted as editable calendars.

Hope that is useful.

This topic was automatically closed after 13 days. New replies are no longer allowed.