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
Started upgrade from within OC 10.0.10.4 to 10.2.1
Upgrade failed with the following error message (see under Actual behaviour):
Expected behaviour
Upgrade should not fail
Actual behaviour
Error message:
Upgrade failed:
Preparing update
Set log level to debug
Turned on maintenance mode
Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
Repair warning: Please install or update the following apps manually or disable them with: occ app:disable ownbackup
Repair warning: For manually updating, see https://doc.owncloud.org/server/10.2/go.php?to=admin-marketplace-apps
OC\RepairException: Upgrade is not possible
Web server:
Server: Apache
X-Powered-By: PHP/7.2.22
Database:
MySql 5.5
PHP version:
PHP 7.2
ownCloud version: (see ownCloud admin page)
10.0.10.4 -> 10.2.1 (failed)
Updated from an older ownCloud or fresh install:
Update from 10.0.10.4
Where did you install ownCloud from:
From within owncloud
Signing status (ownCloud 9.0 and above):
??? no idea ???
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and put the link here.
Cannot access that file, no login possible, only command line access
Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.
cannot access web-UI as it is locked in maintenance mode
or
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
owncloud$ ./occ config:list system
X-Powered-By: PHP/4.4.9
Content-type: text/html
which is weird, since my PHP version should be 7.2
<b>Fatal error</b>: main() [<a href='function.require'>function.require</a>]: Failed opening required '__DIR__/console.php' (include_path='.:/usr/lib/php4.4') in <b>/pathtomydirectory/htdocs/owncloud/occ</b> on line <b>14</b><br />
No idea what this error message complains about or how to fix it
*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.
List of activated apps:
Don't know how to tell without access to the Web GUI
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.
-bash: sudo: command not found
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
WebDAV, CalDAV, CarDAV
This is a bugtracker, not a support forum. If you have got further questions, please ask them at https://central.owncloud.org or feel free to open another issue here, if you encounter a real bug.
Steps to reproduce
Expected behaviour
Upgrade should not fail
Actual behaviour
Error message:
Upgrade failed:
Preparing update
Set log level to debug
Turned on maintenance mode
Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
Repair warning: Please install or update the following apps manually or disable them with: occ app:disable ownbackup
Repair warning: For manually updating, see https://doc.owncloud.org/server/10.2/go.php?to=admin-marketplace-apps
OC\RepairException: Upgrade is not possible
Server configuration
Operating system:
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
Linux infongp-de56 4.4.0-ui19238.028-uiabi1-infong-amd64 #1 SMP Debian 4.4.190-1~ui80+1 (2019-08-26) x86_64 GNU/Linux
Web server:
Server: Apache
X-Powered-By: PHP/7.2.22
Database:
MySql 5.5
PHP version:
PHP 7.2
ownCloud version: (see ownCloud admin page)
10.0.10.4 -> 10.2.1 (failed)
Updated from an older ownCloud or fresh install:
Update from 10.0.10.4
Where did you install ownCloud from:
From within owncloud
Signing status (ownCloud 9.0 and above):
??? no idea ???
The content of config/config.php:
$CONFIG = array (
'instanceid' => '(hidden)',
'passwordsalt' => '(hidden),
'secret' => '(hidden)',
'trusted_domains' =>
array (
0 => 'mycloud.arete-publica.net',
),
'datadirectory' => '(hidden)',
'overwrite.cli.url' => '(hidden)',
'dbtype' => 'mysql',
'version' => '10.2.1',
'dbname' => '(hidden)',
'dbhost' => '(hidden)',
'dbtableprefix' => 'oc_',
'dbuser' => '(hidden)',
'dbpassword' => '(hidden)',
'logtimezone' => 'UTC',
'installed' => true,
'mail_from_address' => 'info',
'mail_smtpmode' => 'php',
'mail_domain' => '(hidden)',
'updater.secret' => '(hidden),
'loglevel' => 2,
'maintenance' => false,
'appstore.experimental.enabled' => true,
'theme' => '',
);
List of activated apps:
Don't know how to tell without access to the Web GUI
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
WebDAV, CalDAV, CarDAV
Client configuration
Browser:
Safari 13.0.1
Operating system:
macOS Mojave 10.14.6
Logs
Web server error log
ownCloud log (data/owncloud.log)
OwnCloud Update Log:
[debug] Moving updater/index.php
[debug] Moving updater/pub
[debug] Moving updater/src
[debug] Moving updater/vendor
[debug] Moving updater/README.md
[debug] Moving updater/.travis.yml
[debug] Moving updater/.scrutinizer.yml
[debug] Moving updater/nbproject
[info] Execution of upgrade:postUpgradeCleanup command stopped. Exit code is 0
[info] Execution of upgrade:detect command started
[info] ownCloud 10.0.10.4 found
[info] Execution of upgrade:detect command stopped. Exit code is 0
[info] Execution of upgrade:checkSystem command started
[info] Execution of upgrade:checkSystem command stopped. Exit code is 0
[info] Execution of upgrade:checkpoint command started
[info] Execution of upgrade:checkpoint command stopped. Exit code is 0
[info] Execution of upgrade:detect command started
[info] ownCloud 10.0.10.4 found
[info] Execution of upgrade:detect command stopped. Exit code is 0
[info] Execution of upgrade:executeCoreUpgradeScripts command started
[debug] Replacing 3rdparty
[debug] Replacing config
[debug] Replacing core
[debug] Replacing l10n
[debug] Replacing lib
[debug] Replacing ocs
[debug] Replacing ocs-provider
[debug] Replacing resources
[debug] Replacing settings
[debug] Replacing .htaccess
[debug] Replacing .mailmap
[debug] Replacing .tag
[debug] Replacing .user.ini
[debug] Replacing AUTHORS
[debug] Replacing CHANGELOG.md
[debug] Replacing console.php
[debug] Replacing COPYING
[debug] Replacing cron.php
[debug] Replacing db_structure.xml
[debug] Replacing index.html
[debug] Replacing index.php
[debug] Replacing indie.json
[debug] Replacing occ
[debug] Replacing public.php
[debug] Replacing remote.php
[debug] Replacing robots.txt
[debug] Replacing status.php
[debug] Replacing version.php
[info] Execution of upgrade:executeCoreUpgradeScripts command stopped. Exit code is 0
[info] Execution of upgrade:executeCoreUpgradeScripts command started
[debug] Replacing 3rdparty
[debug] Replacing config
[debug] Replacing core
[debug] Replacing l10n
[debug] Replacing lib
[debug] Replacing ocs
[debug] Replacing ocs-provider
[debug] Replacing resources
[debug] Replacing settings
[debug] Replacing .htaccess
[debug] Replacing .mailmap
[debug] Replacing .tag
[debug] Replacing .user.ini
[debug] Replacing AUTHORS
[debug] Replacing CHANGELOG.md
[debug] Replacing console.php
[debug] Replacing COPYING
[debug] Replacing cron.php
[debug] Replacing db_structure.xml
[debug] Replacing index.html
[debug] Replacing index.php
[debug] Replacing indie.json
[debug] Replacing occ
[debug] Replacing public.php
[debug] Replacing remote.php
[debug] Replacing robots.txt
[debug] Replacing status.php
[debug] Replacing version.php
[info] Execution of upgrade:executeCoreUpgradeScripts command stopped. Exit code is 0
[info] Execution of upgrade:restartWebServer command started
[info] Execution of upgrade:restartWebServer command stopped. Exit code is 0
[info] Execution of upgrade:postUpgradeCleanup command started
[debug] Moving updater/app
[debug] Moving updater/application.php
[debug] Moving updater/box.json
[debug] Moving updater/composer.json
[debug] Moving updater/composer.lock
[debug] Moving updater/CONTRIBUTING.md
[debug] Moving updater/COPYING-AGPL
[debug] Moving updater/index.php
[debug] Moving updater/pub
[debug] Moving updater/src
[debug] Moving updater/vendor
[debug] Moving updater/README.md
[debug] Moving updater/.travis.yml
[debug] Moving updater/.scrutinizer.yml
[debug] Moving updater/nbproject
[info] Execution of upgrade:postUpgradeCleanup command stopped. Exit code is 0
The text was updated successfully, but these errors were encountered: