-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Missing default Address Book (Contacts) #4830
Comments
Odd, but yeah I think the hook was changed to first login only |
Regression from 506ccdb I'm okay with reverting the dav related change in there. |
First login didn't fix the issue either. After logging in, both 11.0.3 and 12beta2, I still didn't get a default "contacts" address book. I had to manually create one. |
Okay, second idea, add something like "first login after last update"? That would help a bit better, since first login may be too restrictive and on login to broad |
cc @ChristophWurst because he works on something similar in another ticket. |
In my use case, Nextcloud is part of a Mail-In-a-Box install. This also uses Roundcube webmail with a carddav plugin that hooks into Nextcloud for address support. After a Nextcloud update you can not login to Roundcube as its trying to connect to the Nextcloud address book. I know Roundcube is outside the scope of your project, but waiting until a Nextlcoud login to generate a default address book also causes a problem. |
|
It can be easily worked around by manually reseting the last login date for all users after the update: UPDATE `oc_preferences`
SET `configvalue` = '0'
WHERE `appid` = 'login'
AND `configkey` = 'lastLogin'; |
@nickvergessen let's move this to 14 - okay? |
Hi, I have the same problem after updating from Nextcloud 11 to 12. I did the update on oc_preferences in mysql but also thereafter I did not get my adressbook back. Is there a way to connect again? Shall I upload any logs? |
Just so you know, the contacts app create one if none available. :) |
So this is not needed anymore? |
I have no idea @MorrisJobke |
We fixed some stuff in this area and haven't noticed since a while. Let's close it for now. If somebody still experience this we can look at this again. |
Running Nextcloud with Mail-In-a-box v0.22
After updated each version, making sure not to skip a major, I have no default address book. If I stop at Nextcloud v10.0.4 I have one.
The process is, I have a clean install of owncloud 8.2.3. The user logged in to create an account. Nothing else is done. Simply login and logout. Then run each upgrade to the new version. If I stop at 10.0.4 and login, select contacts, I have a default (empty) "contacts" address book. Everything works fine. If I skip that step, do not login at 10.0.4, and continue to upgrade I don't get a address book. When I click the contacts tab on either 11 or 12 I just get a spinning circle (loading icon).
If I click the settings in the lower left corner, I have nothing. After I create a new address book name, the spinning circle goes away. At this point everything seems to work fine.
Steps to reproduce
Expected behavior
Default "contacts" address book. Like I get in version 10.0.4
Actual behavior
Spinning circle. No address book.
Server configuration
Operating system: Ubuntu 14.05tls
Web server: nginx/1.4.6 (Ubuntu)
Database: Sqlite 3.8.2
PHP version: PHP 7.0.19-1+deb.sury.org~trusty+1
Nextcloud version: Nextcloud 12.0 beta 2
Updated from an older Nextcloud/ownCloud or fresh install:
Upgraded see above
Where did you install Nextcloud from:
https://download.nextcloud.com/server/prereleases
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: carddav.
Client configuration
Browser: Version 10.1 (12603.1.30.0.34)
Operating system: OS X 12.12.4
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: