New ownCloud 9.0.1 snaps to test

Everything you need to know
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
User avatar
interfaSys
Starter
Posts: 82
Joined: Mon Dec 03, 2012 9:53 pm
ownCloud version: 8.1.1
Webserver: Apache
Database: MySQL
PHP version: 5.5
Location: Switzerland and UK
Contact:

New ownCloud 9.0.1 snaps to test

Postby interfaSys » Fri Apr 22, 2016 3:42 pm

Snaps are a different way to package an application, including all the software it needs. In the case of ownCloud that means providing Apache, PHP and Mysql/MariaDB as part of the package to install. At the end of this year, Mozilla will distribute Firefox for the Ubuntu family via snaps per example.

One of the advantages with this distribution mechanism is that the snaps can auto-update and be rolled-back in case of problems. This is really useful for network enabled devices if the OS is distributed via snaps as well.
One such device is the soon to be release WD "PiCloud" which is simply a Pi (or clone) shipped with an attached HD, but any IoT device or server can use the images ownCloud intends to provide.

Getting started

If you have already installed the base image on a PiCloud, you don't need to follow these steps

Download the image for the architecture matching your device from:
http://people.canonical.com/~mvo/all-snaps/obsolete/

Split the image in two, following these instructions:
https://github.com/owncloud/pi-image/tr ... tion-tools

Write one image to the boot disk or SD card
Write the other one to the hard drive which will contain the data

If you want to try in a VM, follow these instructions instead:
https://github.com/owncloud/ubuntu-snap ... nvironment

After the first boot

Follow these instructions to deactivate the default ownCloud snap and replace it with a newer one to test
https://github.com/owncloud/pi-image/wi ... %20testing

3 variations to test

Option 1: Canonical default
This version currently has some issues because it's not yet tuned for devices with 1GB of RAM. It's also the most restrictive version as it currently doesn't let you make any modifications to the Apache and PHP configurations and only puts config, apps and data on the writeable partition
ARMHF: TBD as soon as it's published.

Option 2: PR #52
This version autotunes its Apache+PHP config and lets users make amendments to those config files, but ownCloud is configured like option 1
ARMHF: https://code.launchpad.net/~olivier-int ... armhf.snap
AMD64: https://code.launchpad.net/~olivier-int ... amd64.snap
I386: https://code.launchpad.net/~olivier-int ... _i386.snap

Option 3: interfaSys proposal
This version configures Apache and PHP like option 2, but places the entire ownCloud installation on the writeable partition. This is how you would install ownCloud yourself. Giving you full control over your ownCloud, making it easy to both configure and update
ARMHF: https://code.launchpad.net/~olivier-int ... armhf.snap
AMD64: https://code.launchpad.net/~olivier-int ... amd64.snap
I386: https://code.launchpad.net/~olivier-int ... _i386.snap

Testing

We need as many people as possible to test those configs and report back on their experience, good or bad.

Things to test:

* Sync large folders while using the GUI at the same time
* Try to use a few apps
* Tune the configurations if you think things can be improved
* Benchmark changes

Option 3 is discussed here:
https://github.com/owncloud/pi-image/issues/34
I really believe that it would make both the maintainers' and the users' lives easier if we were to only offer an auto-updatable OS + web stack and let people configure and update ownCloud the way and when they want to (just like today with the standard packages), but I can see some people willing to accept a default config, even if it's under-performing, simply because they don't have to manage a thing.

I also think it's important to let people have access to the Apache and PHP config since in the future a snap may include some additional PHP modules which some users may want to load while others may not.
Cheers,

Olivier
Consultant @ interfaSys
Maintainer of Gallery+ https://apps.owncloud.com/content/show.php?content=169116

Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 5 guests