How to upgrade ownCloud from 8.2.7.1 to 10.10?

Steps to reproduce

  1. I make upgrade 8.2.7.1 → 8.2.11. OK.
  2. I make upgrade 8.2.11 → 10.10. OK.
  3. I follow steps from guide:
    Manual ownCloud Upgrade :: ownCloud Documentation
    ownCloud is working fine on version 10.10.

Expected behaviour

ownCloud is working fine on version 10.10.
Contacts of users should be available.
Calendar of users should be available.

Actual behaviour

Tell us what happens instead
Calendar is missing.
Contacts are missing.
I copy manually directory apps/calendar from the old to the new instance.
The same for apps/contacts.
Contacts and canlendar do not appear in the new instalance.
How to copy data from contacts and calendar to the new instance?
Thank you.

Server configuration

Operating system: Linux Debian 10.12

Web server: Apache web server

Database: MariaDB

PHP version: 7.3

ownCloud version: 10.10

Updated from an older ownCloud or fresh install:
updated from 8.2.7.1
updated from 8.2.11

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

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 puth the link here.

The content of config/config.php:

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.

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

*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:

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.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Upgrades are lot easier when done more frequently. While there can still be challenges, the lesser amount of changes reduces the difficulty of isolating what needs to be fixed.

It is hard to remember that long ago, but I seem to recall some changes to those apps somewhere in those versions.

You seem to have skipped too many versions at once in step 2 based on this older topic.

I don’t know if you can restore a backup and repeat your upgrade with all of the relevant versions, but it may have a better chance for success.

Updated since the following reply suggests that 8.2.11 → 10.x is a valid upgrade path.

Hi sysadmin-pg,

your upgrade path 8.2.7.1 → 8.2.11 → 10.x was correct.

I guess the apps only had been disabled while upgrading.

So, I’d use the following commands to make sure you’re updating to the most recent versions and enable the apps:

sudo -u www-data php occ market:install calendar
sudo -u www-data php occ market:install contacts
sudo -u www-data php occ app:enable calendar
sudo -u www-data php occ app:enable contacts

This should bring back your apps again.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.