You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever i try to download and enable any app from the app store i get an InvalidArgumentException: Foreign key name "device_id" for table "oc_uppush_applications" collides with the constraint on table "oc_uppush_applications".
It seems to have to do with the UnifiedPush App. I have already tried to disable and remove the app and did a occ maintenance:repair
but its still the same.
Expected behavior
Apps can be downloaded and enabled
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 28.0.1 to 28.0.2)
Are you using the Nextcloud Server Encryption module?
{"reqId":"2PjvepPb6hl4lkIHksXR","level":3,"time":"2025-01-18T08:13:54+00:00","remoteAddr":"***REMOVED SENSITIVE VALUE***","user":"admin","app":"settings","method":"POST","url":"/settings/apps/enable","message":"could not enable apps","userAgent":"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36","version":"30.0.5.1","exception":{"Exception":"InvalidArgumentException","Message":"Foreign key name \"device_id\" for table \"oc_uppush_applications\" collides with the constraint on table \"oc_uppush_applications\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/DB/MigrationService.php","line":429,"function":"ensureUniqueNamesConstraints","class":"OC\\DB\\MigrationService","type":"->"},{"file":"/var/www/nextcloud/lib/private/DB/MigrationService.php","line":387,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Installer.php","line":105,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":528,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/DB/MigrationService.php","Line":687,"message":"could not enable apps","exception":[],"CustomMessage":"could not enable apps"},"id":"678b6d962f976"}
Additional info
No response
The text was updated successfully, but these errors were encountered:
Indeed. Looks like they have a couple open related issues over in their repo they're actively working on (including a merged PR that appears related but isn't yet released in a new version of their app). @sonnatager I suggest you read through their other recent open Issues to find a solution. Nothing we can do here.
Bug description
Whenever i try to download and enable any app from the app store i get an InvalidArgumentException:
Foreign key name "device_id" for table "oc_uppush_applications" collides with the constraint on table "oc_uppush_applications".
It seems to have to do with the UnifiedPush App. I have already tried to disable and remove the app and did a
occ maintenance:repair
but its still the same.
Expected behavior
Apps can be downloaded and enabled
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 28.0.1 to 28.0.2)
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: