I’m sorry if this question has already been asked, but after browsing this site (as well as the Thunderbird and GitHub sites) for a while, I couldn’t find an answer to my problem. I tried some stuff I found related to Thunderbird (something about the advanced configuration of Lightning and having to set a file on “false”), but it didn’t fix anything. So, here it is:
Since yesterday, I have a double problems of synchronization for my Nextcloud calendar. I use the latest version of Thunderbird and Lightning on my desktop (Ubuntu 18.04) and the latest version of Davdroid as well as the latest version of the Nextcloud apps on my mobile devices (Samsung Galaxy S7 and Samsung Galaxy Tab s2, both of which have the latest version of android that was available to them).
On the Thunderbird side, my calendar, which is normally synchronized with my nextlcoud calendar keeps deactivating itself, meaning that none of my events and tasks are showing up in Lightning. When I click on “properties” and click on “switch on this calendar”, as soon as a press “finish”, it re-deactivate itself. I tried to re-do a new connection between Lightning and my Nexcloud calendar, but as soon as it is set up, the calendar de-activates itself. The only way I can have my calendar is to download it from Nextcloud, import it into Lightning and then, the only way to have both the same calendar is to make changes in Nextcloud calendar, since the .ics sync is only one-way.
On my mobile device, also since yesterday, the connection between my Nextcloud calendar and Davdroid isn’t working anymore. So, I tried to re-set up the connection between the two by suppressing my account on Davdroid and making a new one with the same Nextcloud information. But this time, it tells me “No access possible to the CalDav or CardDav services”. I tried to re-set it up from the Nextcloud app settings, but I get the same result. It does so for both of my mobile devices. This means I can’t access my Nextcloud calendar from my mobile devices anymore nor add new tasks or events from there and have them synchronized with my calendar on Lightning.
As I rely a lot on my calendar and task management apps, this is a real problem for me. So, hopefully, someone can help me here! I thank you very much in advance!
I’m not sure that is the log, but when I get on my basic settings, I got the following message:
It’s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the Tips & Tricks section and the documentation for more information.
Sorry, no. It seems like your Nextcloud instance is running in a restricted environment. On first glance, sabre which is responsible for the DAV functionality can not operate on files. You would need to provide more logs though. Are you the administrator for this instance? There seem to be several other issues that might be responsible for the problems you experience.
I have set up my Nextcloud account on the server of the webhosting company where I have my website, domain name and emails. It’s part of the services they offer their customers. I believe I am the administrator of this instance, as I’m the one who decides which apps are activated on it, for instance. I also decide whether I want to use the Nextcloud calendar and contacts or not. It was working fairly fine until yesterday, but I have set it up only two months ago. Before, I was using OneDrive and other MIcrosoft services, but I’m progressively migrating on open-source softwares like Linux, Thunderbird, FIrefox, etc. So, I’m kind of a beginner here and I’m not used to all these technical layers.
You’re going to laugh, but I have followed the instructions from Nextcloud asking me to do the update to the next version and now, I can’t access my account anymore. Each times I try to get in, it tells me that the maintnance is going on and I can’t access my account until it is done! I’m not sure when that will be! And now, it tells me it can synchronize at all, because the account is busy with maintnance. This means I’m not sure anymore whether I’m the admin or not!
In the interface of your host or in a file at the root of your hosting you must be able to configure how you want php to work.
If I understand correctly, you have to put php 7.2 in php-fpm.
At OVH, php-cgi creates synchronization issues.
Maybe it will help you and may the Force be with you
The fact that your instance is in maintenance mode is a major fact that you should have mentioned from the beginning. This is not something your hoster does but Nextcloud itself. It switched to maintenance mode after the upgrade. It will not be disabled automatically. You have disable it yourself. Check your config/config.php and set:
"maintenance" => false,
Then call the URL of your Nextcloud instance. There might be some additional steps Nextcloud will ask you to perform.
I’m sorry that I didn’t specify it at first. I didn’t know I should have mentioned this. However, I have no idea where I should check the config/config.php files. Is it through the browser or through the client app on my desktop?
You need to find out how to modify the config.php. If you have no access to it, then you are not the administrator of this Nextcloud instance and you should ask your hosting provider to repair your installation.
I found it out and yes, I do have access to the ftp, so I’m the administrator! I called the support service from the host company where I have my account and my Nextcloud and they explained me how to access the ftp. They also explained me a bit about SSH, but said it might be easier for me to go through FTP, because SSH requires using the line command. They also unlocked my Nextcloud which was stuck on “maintnance” mode and I have been able to complete the update to version 14. So, I have been able to access the database through FTP! I’m sorry for being so ignorant, but I’m quite at the beginning of my journey on Nextcloud.
Alright, I just found the config.php file and the maintenance line is set on false already. Now, you asked me for more logs. I tried the nextcloud/data/nextcloud.log, but it doesn’t work. However, I’ve got a “logging” menu on my Nextcloud dashboard which lists a whole bunch of messages from something called “LevelApp”. Is that what you are asking for?
I have now access to my instance. The host company unstuck it for me! I’ll check the link you sent me! Thank you very much for your kind help! I’ll probably need more in other times, because I’m still a beginner, but I hope I’ll progressively figure out where to find the information and also how the forums work (because that is also something new to me).