-
Notifications
You must be signed in to change notification settings - Fork 2.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
oC Upgrade fails INSERT INTO oc_appconfig 19 columns appid, configkey are not unique #6371
Comments
Can you post a full bug report as described here? https://github.com/owncloud/core/blob/master/CONTRIBUTING.md |
Sorry for the missing informations, here are the details: Expected behaviourownCloud should be upgraded from Version 5.0.13 to Version 6.0.0.13 Actual behaviourUpgrade fails with the message above and the information to send this bug to the oC community Steps to reproduce
Server configurationOperating system: Debian GNU/Linux 7.1 Web server: Apache/2.2.22 (Debian) Database: sqlite PHP version: PHP 5.4.4-14+deb7u4 (cli) ownCloud version: should be 6.0.0.13 now Updated from an older ownCloud or fresh install: upgrade List of activated app: unknown config/config.phpThe content of config/config.php: (Without the database password and passwordsalt)
Client configurationBrowser:Firefox 26.0 Operating system: Windows 7 x64 SP1 LogsWeb server error log
ownCloud log (data/owncloud.log)
Browser log
|
Seems to be a duplicate of #6294 Please check the workaround there and post there whether it worked for you. |
The app_config stuff is very likely to NOT be related to #6294 |
I tried migration with the exact same setup and the same steps a few days ago without any problems... Which apps do you have enabled? |
@PlumbumDN did you enable any extra apps ? |
Ok, now i added the oc_jobs like in #6294 but the error with oc_appconfig is still the same. |
Can you use the I'm not sure what's wrong in your db, so not sure how to fix it. Also, some of the log entries look strange:
Why would |
And |
Table exists, here is the content appid;configkey;configvalue; |
Still having trouble understanding what's going on here. Can you try installing Xdebug for PHP ? It will show more details in logs. Also, when migrating make sure to open "index.php" not "index.php/apps/files" because of that other bug. Thanks. |
The L10N exception is covered here: #6438 For the appconfig part, still need further research. |
I too have this error - it went away when I disabled the OC6 "documents 0.7.2" app |
@AxiomDeSigns which one exactly?
on migration 5.0 to latest 6.0? |
Whilst messing about on my server after posting here, I upgraded from 6.0.0 to 6.0.0a In seeing your reply, I went to replicate it for you to give you more details, and now it's functioning. |
Ok a fresh install works, but if there are old entries in oc_appconfig upgrade fails. |
Ok, 2nd STEP. |
I suppose this is another case for the future "repair DB" script @karlitschek ? |
Absolutely. Do you want to add it to /core/command/maintenance/repair.php yourself? |
Hi there I just had the same error and found this issue googeling it. I managed to fix it by reordering the extensions within php.ini old order: new order: I suppose pdo_mysql.so depends on pdo.so and needs it to be loaded first. |
Hello,
Im getting the following error on upgrade from 5.0 to latest 6.0 release.
Is there a way to fix this on a default install?
An exception occurred while executing 'INSERT INTO oc_appconfig ("appid", "configkey", configvalue) SELECT appid, configkey, configvalue FROM tempoc_appconfig': SQLSTATE[23000]: Integrity constraint violation: 19 columns appid, configkey are not unique
The error looks like the one mentioned in #2836 but I'm on Debian and Apache2 and not Win7 + IIS.
Regards,
Plumbum
The text was updated successfully, but these errors were encountered: