-
Notifications
You must be signed in to change notification settings - Fork 20
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
Upgrade from 9.0.1 to 9.0.2 fails #350
Comments
I encountered the same problem on FreeBSD/nginx. Apparently the base interfaces were upgraded, but not the encryption app, leading to a fatal error preventing the updater from continuing the process. I fixed my installation by doing a manual update from the shell. |
Update: Restarting |
same problem. I am only able to access my site by first deleting the encryption app folder. Of course, this has other implications. The encryption app version is 1.2.0. Is there a replacement app that would work.
|
I confirm the problem. It same too me. |
@Nosti31 you can still update owncloud "the regular way" by downloading the tarball from owncloud.org and following the manual upgrade procedures: https://doc.owncloud.org/server/9.0/admin_manual/maintenance/manual_upgrade.html |
@VicDeo @cmonteroluque @karlitschek @jospoortvliet Can we give this some priority? |
@magenbrof I have already manually updated my install but it's not worked, so i have retried and it work. :) |
Yes. really bad bug as discussed before :-( |
ran a manual upgrade and encryption is working again |
Ok. My stance: That's because core is updated before the apps and OCC is invoked which also accesses the encryption class. Since the interface has changed this explodes. |
@karlitschek @jospoortvliet @cmonteroluque @DeepDiver1975 @PVince81 @VicDeo I'll deactivate updates to 9.0.2. And we REALLY need to fix this. Plus we REALLY need to get QA on any case of update situations. |
@LukasReschke |
PR to disable updater delivery for 9.0 is at https://github.com/owncloud/administration-internal/pull/17 |
The updater should not iterate over apps when running apps upgrade. Let core do the work. |
So, we have now the following fun tasks for 9.0.3:
|
:-( :-( :-(. I really thought that we get better testing for this. It's bad that we keep on killing instances. I'm happy to help. Just le me know |
@VicDeo can you take care of #350 (comment) ? (including backports) |
@VicDeo do you mean you are going to test it or are you waiting for people to help testing the master fix ? Would also be good to have the backport PR as well to test it too. |
@PVince81 >do you mean you are going to test it or are you waiting for people to help testing the master fix ? me. Already checked this way:
Result:
Output:
|
preparing a backport |
@VicDeo thanks |
Sorry for OT here, but why can't you use the Updater when you have recommended file permissions aka "Strong Permissions"? It just works with www-data. |
The issue for this mess is because the updater is updating all core apps step by step which is stupid as I already explained many times. W(hy)TF is nobody listening and fix this mess? 😠 |
@DeepDiver1975 >The issue for this mess is because the updater is updating all core apps step by step no. Moreover, if it were done app by app issue wouldn't arise at all :) P.S. Master is not affected. Backports to stable9 are in #352 |
definitly not! See the issue!
If in step one core AND all core apps would have been added this will not happen.
So are you telling be that this approach was change meanwhile? |
@DeepDiver1975 |
Backport was merged, closing |
Steps to reproduce
Expected behaviour
Updater upgrades to 9.0.2
Actual behaviour
Upgrade fails
Server configuration
Operating system**: Red Hat Enterprise Linux Server release 7.1 (Maipo)
Web server: Apache 2.4.6 + mod_fcgid
Database: mysql 5.5.47
PHP version: PHP 5.6.20
ownCloud version: 9.0.1
Updated from an older ownCloud or fresh install: Fresh install
**Where did you install ownCloud from: Download of owncloud-9.0.1.tar.bz2
Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration
Logs
Web server error log
Updater log (update.log)
The text was updated successfully, but these errors were encountered: