-
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
Can't upgrade from 6.0.4 to 7.0.2 using occ #10581
Comments
So the error messages indicate that you are using the enterprise edition of ownCloud. Please contact the support for further information. |
Is occ not supported with the enterprise edition? |
It is. But questions about the enterprise edition will be answered by the enterprise support. |
@PVince81 Can you help to reproduce that? |
Yes, am able to reproduce it. Seems to be introduced by the part that prevents concurrent app upgrades. CC @icewind1991 |
Looks like something got messed up with the commits. Looking further. |
Not sure what happened, but I've added the commit to stable7: a70fe18
|
I figured out the the file occ is not executable. After changing the permission by command
I could successfully use the |
Steps to reproduce
I'm getting the following error:
bash: ./occ: Permission denied
root@jrm-ubuntu64:/var/www/owncloud# chmod 777 occ
root@jrm-ubuntu64:/var/www/owncloud# ./occ upgrade
An unhandled exception has been thrown:
exception 'OC\NeedsUpdateException' in /var/www/owncloud/lib/private/app.php:93
Stack trace:
#0 /var/www/owncloud/lib/private/app.php(75): OC_App::loadApp('files')
#1 /var/www/owncloud/console.php(26): OC_App::loadApps()
#2 /var/www/owncloud/occ(11): require_once('/var/www/ownclo...')
#3 {main}root@jrm-ubuntu64:/var/www/owncloud
Once I run the update from the browser occ works:
#10 {main}root@jrm-ubuntu64:/var/www/owncloud# ./occ upgrade
ownCloud is already latest version
This also happens when I put the enterprise apps in the apps directory and then run occ again:
root@jrm-ubuntu64:/var/www/owncloud# ./occ upgrade
An unhandled exception has been thrown:
exception 'OC\NeedsUpdateException' in /var/www/owncloud/lib/private/app.php:93
Stack trace:
#0 /var/www/owncloud/lib/private/app.php(75): OC_App::loadApp('enterprise_key')
#1 /var/www/owncloud/lib/private/util.php(72): OC_App::loadApps(Array)
#2 /var/www/owncloud/lib/private/files/filesystem.php(800): OC_Util::setupFS()
#3 /var/www/owncloud/lib/autoloader.php(142): require_once('/var/www/ownclo...')
#4 [internal function]: OC\Autoloader->load('OC\Files\Filesy...')
#5 /var/www/owncloud/apps/admin_audit/appinfo/app.php(16): spl_autoload_call('OC\Files\Filesy...')
#6 /var/www/owncloud/lib/private/app.php(95): require_once('/var/www/ownclo...')
#7 /var/www/owncloud/lib/private/app.php(75): OC_App::loadApp('admin_audit')
#8 /var/www/owncloud/console.php(26): OC_App::loadApps()
#9 /var/www/owncloud/occ(11): require_once('/var/www/ownclo...')
Expected behaviour
occ should successfully upgrade
Actual behaviour
occ fails with the stack trace above
Server configuration
Operating system:
Ubuntu 12-04
Web server:
apache
Database:
mysql
ownCloud version: (see ownCloud admin page)
ownCloud 7.0.2 RC1 (testing)
Updated from an older ownCloud or fresh install:
Updating from 6.0.4 to 7.0.2
The text was updated successfully, but these errors were encountered: