Migrate from ownCloud 9.1.1 to Nextcloud 10.0.2

These instructions are based on the assumption that you have a working ownCloud (version 9.1.1) instance. To make the migration process easier I decided not to rename any existing ownCloud folders.

Some of the steps I document may not be necessary for a successful migration but they are the exact steps I used and they worked.

My server environment is as follows:

Operating System:		Debian 8.6 (jessie)
ownCloud version:		9.1.1
Webserver:			Apache 2.4.10
ownCloud install location:	/var/www/owncloud
ownCloud backup location:	/opt/owncloud-install

1. Download Nextcloud server version 10.0.2

wget https://download.nextcloud.com/server/releases/nextcloud-10.0.2.tar.bz2

2. Stop your webserver

sudo systemctl stop apache2.service

3. Backup (move) your config.php file and your data folder

sudo mv /var/www/owncloud/config/config.php /opt/owncloud-install/

sudo mv /var/www/owncloud/data /opt/owncloud-install/

4. Delete your ownCloud folder

sudo rm -rf /var/www/owncloud/

5. Extract Nextcloud 10.0.2 (please note that the tar ball doesn’t include a data folder or a config.php file)

sudo tar -xf nextcloud-10.0.2.tar.bz2 -C /var/www/

6. You now have a folder named nextcloud, I’m going to rename this folder to owncloud

sudo mv /var/www/nextcloud /var/www/owncloud

7. Move the config.php file and your data folder which you backed up in Step 3

sudo mv /opt/owncloud-install/config.php /var/www/owncloud/config/

sudo mv /opt/owncloud-install/data/ /var/www/owncloud/

8. Set the correct ownership for your Nextcloud instance (the files in the tar ball are owned by nobody)

sudo chown -R www-data:www-data /var/www/owncloud/

9. Start your webserver

sudo systemctl start apache2.service

10. Complete the migration/upgrade to Nextcloud 10.0.2

sudo -u www-data php /var/www/owncloud/occ upgrade

Done!

If you use the ownCloud desktop client to sync files between your ownCloud instance and your computer (mobile device) the good news is that there is no need to install the Nextcloud desktop client. Your existing ownCloud desktop client should keep working as normal after migrating to Nextcloud.

Learn more about Nextcloud

ownCloud 9

I’ve just recently setup a server running ownCloud 9. The OS of the server is Debian 8 and this is the installation guide I followed Run your own cloud: Installing OwnCloud 9 on Debian 8.

To have HTTPS running on my server I used the service provided by Let’s Encrypt.

The user interface is familiar and intuitive plus the functionality for sharing files, calendars, contacts, and bookmarks is very useful. I can also share this ownCloud instance with my family and friends by creating separate accounts for them.

I was able to configure Amazon S3 as a source of external storage. I’m also utilising the ownCloud desktop client. The desktop client syncs your ownCloud folders (you can choose which folders to sync) with your computer which makes it very convenient to access and update your ownCloud from your computer.

ownCloud website –https://owncloud.org/

ownCloud 7

I have an updated article regarding ownCloud – ownCloud 9

05/08/2014 – I’ve just upgraded to version 7.0.1

Access, sync and share your data on across all of your devices. This is a great piece of open source software. I’m currently running ownCloud 7 on my own server. I can upload documents, video, photos and music and then get access to it anywhere. I can also upload my contacts, website bookmarks, calendar appointments and task lists. Because it’s running on my own server and the software is free (as in freedom ) I don’t have any privacy concerns.

Official website –http://owncloud.org/

If you are installing on Ubuntu just follow these instructions:
http://software.opensuse.org/download/package?project=isv:ownCloud:community&package=owncloud

Here is a list of the some useful Apps I’ve installed with ownCloud:

Tasks Enhanced
Music
News

If you don’t want to run your own server there are ownCloud providers.

http://owncloud.org/providers/

If you’re looking for an alternative to Dropbox, Flickr, Google etc. that is Open Source and totally free software give ownCloud a try.

My home server

Rather than throw out an old computer I’ve decided to put it to some good use.  I’ve turned it into a server.  I’m primarily using it to play around with ownCloud (http://owncloud.org).

The specs of the computer are as follows:

Compaq Presario SR1915AN
AMD Sempron Processor 3400+ 1.8GHZ
80GB 7200 RPM Hard Disk
1GB RAM

Other details regarding the server:

OS – Ubuntu 14.04 LTS
Webserver – Apache 2.4.7
PHP version 5.5.9
MySQL 5.5.37
ownCloud 6

Home server back
View from the back
Side view - nice and open
Side view – nice and open
Top view
Top view
Server on floor
Server and Modem sitting on the floor
Server and Modem
Server and Modem