-
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
Upgrading from OC6.04 to OC7 stops at "This ownCloud instance is currently being updated..." #10091
Comments
I have the same issue only difference is upgrading from 7.0 RC1 to 7.0 Full Release. :( |
If you reload the page while the upgrade is in progress you will receive the maintenance page just like anybody else. Change the config parameter 'maintenance_mode' to false in your config/config.php and reload - the upgrade process then can continue |
I did this multiple times without success during the past few days. I get the same sequence as described in "steps to reproduce". Not reloading the page does not change anything. This is the page I get before reloading. |
I have tried the same and I still get the upgrade notice. |
Hmm, I tried to copy /owncloud from my working OC7 server to the one posing problem (replacing config.php and the data folder) without success. I don't know what else I can post the help, but I could post the full mysql log of the update process. I won't do it unless someone asks for it since it's quite long. |
I just stumbled upon the same error when updating from 6.0.4 to 7.0.1 on Gentoo via its I’m running PHP 5.5 and PostgreSQL 9.3 if that’s relevant in any case. The changing the maintenance mode did not help either. |
Hi, I face the same issue, using a mysql db, |
I can confirm this issue too. Had this problem when upgrading from 6.0.4 to 7.0.0 (worked around it by a fresh install and importing all database entries necessary) and now again from 7.0.0 to 7.0.1. The setup is very similar to the one of @baldurmen, only standard apps enabled and external (local) storage linked. @DeepDiver1975 The update page was not reloaded manually, but showed the image @baldurmen posted on its own after Edit: |
I may have found a clue: each time I ran the updater, new tables where created.
I dropped them and tried the update again, and it created 2 other ones like that again:
and again
and again
|
I can confirm this. Lots of these tables are created. |
Also, while doing some of these updates, I used phpmyadmin to view the tables appearing and disappearing during the update. |
As for postgresql, I can confirm that it was running for quite a while, but I didn’t bother checking what it was doing exactly. |
The temporary tables are created to simulate an update of the data to the new schema. They should be deleted automatically if the upgrade process completes. Not sure why it hangs in your case. Did you guys find any errors in the log from the time the upgrade was running ? Have you tried the command line update |
@PVince81 I'll look at this as soon as possible. Thanks for input. |
HA! I upgraded via the cli interface (this should deffinitly be referenced in the doc) and here is the log I get:
This error message is show whatever the option I'm using with ./occ (even options thatr do not exist). |
For me it seems to be a timeout issue. Using |
Here’s my
|
@baldurmen strange. Did you upgrade to 7.0.0 or 7.0.1 ? @silverhook your issue seem to be related to the bookmarks apps. You can try disabling it before upgrading and enable it afterwards. It might not solve the issue though. You might want to report it in the https://github.com/owncloud/bookmarks repo with more details about your setup. |
this drop primary key.... could be a duplicate of #9893 |
@PVince81 While waiting for an answer, the debian testing reposirories updated to 7.0.1. Sorry if it messes up things. |
Weell, since productive work starts soon where I work, I simply reinstalled Owncloud, reconfigured it and transfered the data. I can't be much further help for debugging. |
I have the same problem? Thanks! |
Oh, I had not seen the part with php occ upgrade... Worked for me! |
"Weell, since productive work starts soon where I work, I simply reinstalled ownCloud, reconfigured it and transfered the data. I can't be much further help for debugging." Hi, I had to do the same, I cannot use the occ upgrade as I am using a shared web host without access to command line. I just tried updating from 7.0.1 to 7.0.2 and I have again the same problem. |
Hmmm... the problem with shared hosters is that they possibly have a short PHP timeout and also do not always allow command line updating. The problem with the short PHP timeout is that if the upgrade takes longer, it might break it in the middle, for which the "solution" is to run the CLI upgrade, which is not available for some shared hosters 😦 @StephaneCouturier do you have lots of shared files and can confirm that the upgrade takes a long time in your case ? Reopening this to discuss possible solutions for shared hosters where CLI upgrade is not possible. |
@StephaneCouturier you might be able to manually disable maintenance mode and resume the upgrade. |
@PVince81, thanks for the support and keeping the topic opened. Many French users of ownCloud and of the same shared web most are collaborating on this page: http://open-freax.fr/owncloud-7-mutu-ovh/ and I only see one report of the issue which was fixed by switching back the maintenance mode. So I still wonder if the issue is linked to the host, to the files, or to the db (I had installed 7.0.1 from scratch, importing vcards and calendars saved previously). I have a second web site with the same host. I will install a 7.0.1 from scratch and try and update to 7.0.2 to see if I can reproduce the same issue. |
Hi, I made some more tests, but I still haven't solved the issue. Using a different website with the same shared web host, I could upgrade without issue from 7.0.1 to 7.0.2. (the database had only imported contacts, imported calendars, and the few oC default documents). On the first website, I did the following test: I moved all data to a temporary folder to see if this is what is causing the timeout/issue. The update failed again nonetheless. I noticed the browser did no seem to be loading something as it did is the successful update of the second site. So the issue does seem to be linked with shared web host.
|
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version. Please reopen if you still encounter this issue with the latest stable version and then please use the issue template. You can also contribute directly by providing a patch – see the developer manual. :) Thank you! |
Hi, FYI I never solved the issue with oc 7.xx but it got fixed with oc 8. |
Steps to reproduce
- upgrade from 6.0.4 to 7.0.0 following http://doc.owncloud.org/server/7.0/admin_manual/maintenance/update.html but with apt-get upgrade - server upgrade procedure launched by accessing the server using a browser connexion. - "Updating ownCloud to version 7.0.0, this may take a while." - The same + "Please reload the page" - "This ownCloud instance is currently being updated, which may take a while...."Expected behaviour
login screen
Actual behaviour
screen with "Updating ownCloud to version 7.0.0, this may take a while..."
Server configuration
Operating system: Debian testing (jessie)
Web server: apache 2.4.10-1
Database: mysql 5.5.37
PHP version: php5 5.6.0RC2
ownCloud version: 7.0.0+dfsg-1 (debian testing)
Updated from an older ownCloud: 6.0.4+dfsg-1
List of activated apps: no 3party apps installed
The content of config/config.php:
'occ8905d32ce', 'passwordsalt' => 'XXX', 'trusted_domains' => array ( 0 => 'cloud.sogeecom.org', ), 'datadirectory' => '/data/Owncloud-data/data', 'dbtype' => 'mysql', 'version' => '6.0.4.1', 'appstoreenabled' => false, 'apps_paths' => array ( 0 => array ( 'path' => '/usr/share/owncloud/apps', 'url' => '/apps', 'writable' => false, ), ), 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'owncloud', 'dbpassword' => 'XXX', 'installed' => true, 'ldapIgnoreNamingRules' => false, 'forcessl' => true, 'enable_previews' => false, 'theme' => '', 'maintenance' => true, ); **Are you using external storage, if yes which one:** yes, local **Are you using encryption:** noClient configuration
**Browser:** firefox **Operating system:** debianLogs
- Nothing in /var/log/owncloud.log - Nothing in /var/log/mysql/error.log - Nothing in /var/log/apache2/error.logComments
When the update starts, I can see mysql using cpu. A short while after reloading the page, mysql stops and everything returns to idle. version.php shows this:The text was updated successfully, but these errors were encountered: