Upgrade Nextcloud from version 10.0.2 to 11.0.0

To upgrade Nextcloud is actually pretty simple. The instructions are very similar to my post on Migrate from ownCloud 9.1.1 to Nextcloud 10.0.2.

Please note that I have created a directory “/opt/owncloud-install/” which I use to backup files to when performing an upgrade. You can have a directory named something else, the name isn’t important. Also my Nextcloud installation is in a directory named “/var/www/owncloud”, I found it easier to leave the directory name exactly the same when I migrated from ownCloud to Nextcloud.

1. Download Nextcloud server version 11.0.0

wget https://download.nextcloud.com/server/releases/nextcloud-11.0.0.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 11.0.0 (please note that the tar ball doesn’t include a data folder or a config.php file)

sudo tar -xf nextcloud-11.0.0.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 upgrade to Nextcloud 11.0.0

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

Done!

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

MediaGoblin

I’ve been having a play with MediaGoblin and this software looks very promising.  If like me you feel uncomfortable with the amount of data you are sharing with 3rd parties e.g. Flickr, Dropbox, YouTube etc. then MediaGoblin like ownCloud could be a way forward.

I will admit that installing and getting MediaGoblin working isn’t straight forward but it’s not too hard.  I like the idea of sharing my media with friends, family and others without having to also share it with Google, Facebook and Dropbox etc. and of course without all of the advertisements that come along with that.

I’m using the most basic DigitalOcean droplet (512MB memory, 1 core, 20GB SSD) to host my MediaGoblin instance. For the Operating System I’m using Debian 8.

I used the following guides to install and get MediaGoblin working. The official MediaGoblin documentation is very good.

I didn’t install PostgreSQL as suggested in the documentation, I’ve stuck with the default SQLite database.

Here are some live MediaGoblin sites to give you some ideas.

https://wiki.mediagoblin.org/Live_instances

This is my MediaGoblin site:

https://media.bscable.info

Register with Goblin Refuge and start using MediaGoblin without having to install your own instance.

Computer related documentaries

If you like computers and the internet I’m sure you’ll find these documentaries interesting.

Create Kali Linux live USB

This isn’t particularly hard but just thought I’d share it because my usual method of creating a GNU/Linux live USB using the program UNetbootin didn’t work with Kali Linux.

I used the GNU/Linux command dd.

My iso file was named kali-linux-1.0.8-i386.iso and it was in my home folder i.e. ~/ and my USB device name was /dev/sdf

sudo dd if=~/kali-linux-1.0.8-i386.iso of=/dev/sdf

This worked perfectly for me.

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

LibreOffice

Use a free (free as in freedom) office suite i.e. word processing, spreadsheets, presentations, database etc.  Create documents using an open standard, the OpenDocument Format (ODF).  Works on multiple operating systems, GNU/Linux, FreeBSD, Mac OS X, MS Windows.

My entire family is using LibreOffice – no MS Office in this house.

LibreOffice website
Compare LibreOffice and Microsoft Office
 

Free Software Foundation

The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom and to defend the rights of all free software users.

Website: https://www.fsf.org/

Favourite links
Free GNU/Linux distributions
PRISM collection
We Can Put an End to Word Attachments