-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Unable to enable user_ldap
app - PostgreSQL error: index "primary" does not exist
#36864
Comments
Is this bug present after an update or on a fresh install? |
user_ldap
app - PostgreSQL error: index "primary" does not exist
I never tried to enable user_ldap before so i can't tell if this bug existed in a previous major update, sorry :/ |
Ok but this isn't a fresh install, right? |
Yes, this isn't a fresh install. |
Thanks. Just to complete the report, please execute :
And report back please if this helps. |
Thanks, but it dosen't seem to work :/
|
I have the same issue, also on an existing install. This is an old instance that I've been upgrading ever since the owncloud days, so it's been through a fair amount of migrations and updates. I tried running the various db:add-missing commands to no effect. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry about the late reply, busy days. This is the output I get.
I can enable other apps just fine. I think the most unusual thing about this instance is that it's been continuously upgraded, migrated, and moved all the way from the ownCloud days, though I can't recall if I've wiped and recreated the database at any point during these years. I believe I did so when transitioning from ownCloud to Nextcloud, but I don't know for sure. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Unfortunately, in hindsight, you're both getting the I think I'm getting closer to the real culprit in any case: doctrine/dbal#2925 and is similar to #30539. It was addressed in #30568 though. I'm currently stumped regarding why you two are impacted still. @Nihlus Are you running PostgreSQL as well? |
Since i made this issue i'm now running PostgreSQL 15.4 and NC 27.0.2 (w/php 8.2), i don't know if that information could help you out. (Back then i was running PostgreSQL 14 and NC 25.0.4.1 (w/php 8.1) iirc) |
@joshtrichards Yep, running Postgres 14.7-1.pgdg110+1. My PHP version is 7.4. |
It's odd that there is an empty version string for your
Any chance you at one point ran an Release Candidate (RC) [particularly 23.0.1RC1, 22.2.4RC1] against this installation? |
I don't think so, i always stayed on stable branch and updated through the nextcloud updater, so my instance should never have seen any RC version. |
Bug description
I'm unable to enable the user_ldap app, resulting with the following error :
An exception occurred while executing a query: SQLSTATE[42704]: Undefined object: 7 ERROR: index "primary" does not exist
Steps to reproduce
Expected behavior
The app should enable.
Installation method
Community Manual installation with Archive
Operating system
Other
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: