OwnCloud



OwnCloud can be installed using Docker, using the official ownCloud Docker image. This official image works standalone for a quick evaluation, but is designed to be used in a docker-compose setup. Preceding sudo in the docker commands is not necessary, if you add your user to the docker group by invoking sudo usermod -aG docker. OwnCloud is the market leading open source content collaboration solution worldwide. OwnCloud enables users to securely access and share data from any device, anywhere in the world. Nextcloud is developed in a security-focused process as attested by a range of external experts and security pen-tests. Industry-leading features include machine-learning based login protection, 2-factor authentication measures, brute force protection and unique capabilities like Video Verification, end-to-end and server-side encryption. Apr 16, 2021 You can deploy ownCloud in your own data center on-premises, at a trusted service provider or choose ownCloud.online, our Software-as-a-Service collaboration platform hosted in Germany. Be confident your data storage and maintenance complies with regulation. Nov 22, 2018 ownCloud Command Line Client¶ The ownCloud Client packages contain a command line client, owncloudcmd, that can be used to synchronize ownCloud files to client machines. Owncloudcmd performs a single sync run and then exits the synchronization process.

Nextcloud is much more stable than ownCloud

Nextcloud offers significant scalability, security and feature improvements over ownCloud (see a full comparison here) and our experienced support team has already helped several dozen customers with sometimes tens of thousands of users migrate successfully. Our customers appreciate expert help from a German, employee-owned company set up to provide a long term relationship between customers and business. Last but not least, Nextcloud has by far the strongest expertise in large scale deployments, as is evident in our work on Global Scale.

Nextcloud is fully licensed under the AGPL, giving you all the benefits of open source and avoiding any risk of mixing a proprietary enterprise edition with open source components.

ownCloud is (..) less feature rich and less developed than Nextcloud

Driver epro internal tv tuner card with fm pci. First rate support as well as healthy development happening in public are key to our offering. Employing over a dozen former ownCloud engineers as well as many other experienced software developers, we are in the best position to support you in keeping your data secure and easily accessible to your employees.

We can help you with Nextcloud Enterprise but you can also look for an offer from one of our partners and of course ask other home users on our forums.

Help migrating from ownCloud to Nextcloud is free. For migration from other solutions, support is included with your Premium subscription.

ownCloud/Nextcloud is very heavy and requires devices with relatively powerful processors, while it will run well even on weak PC and servers, it is too heavy for low-power devices like a router or a NAS.

It's recommended to have at least a dualcore ARMv7 processor if you are not running OpenWrt on PC/server hardware.

I've installed ownCloud on an TP-Link TL-WR2543ND, using lighttpd and sorry, it's dead slow!

unknown

I've also installed it on a more powerful TP_Link TL-WDR3500 but it's still very slow, 4-5 secs per page…

motherjoker 2014/06/05 15:41

Get USB-support

ownCloud is around 30 MB and you will like to store your data somewhere. So best both is done on some external storage because small routers don't have that much.Have a look in the OpenWrt-Wiki at usb.essentials [1] and usb.storage[2], and figure out what USB-mode your device is using (ohci or uhci) and know what filesystem is on your storage (here: ext4).

You have to run an update of the package-lists before you can install any software

Install USB-support (this is for USB 2.0, see usb.essentials for USB 1.1 support)

If you see messages like “unresolved symbol usb_calc_bus_time” try loading usbcore and then try ehci-hcd again:

Moviemator video editor pro. Install USB-storage support

Create a mount-point like this

Figure out which device is your USB-stick/drive and mount it. It helps to list /dev with the USB-device and without - in this case its /dev/sda1.

Get fstab to auto-mount the usb-stick on startup, otherwise your webserver won't come up and you have to start it after mounting manually. ( Insert how-to here)Even if auto-mounting on startup works, it probably ends too late when the webserver tries to start. To make sure the webserver is up after booting, insert this line into /etc/rc.local before “exit 0”:

If <= 8MB flash: Get extroot

If your device has only 8 MB of flash-memory (or even less), it is too small to get all the dependencies on it. You'll need to put the operating-system on the USB-device as well. Have a look at extroot_configuration and follow the instructions for trunk. The flavour “New external overlay variant (pivot overlay)” worked for me on a TP-Link WR1043ND quite well. Remember to use both steps while “Duplicate Data”: pivot overlay and pivot root.

Install & configure webserver

ownCloud can't be installed on uhttpd (default web server on OpenWrt). You need to install and configure lighttpd.

Owncloud Download

I had trouble moving Luci from uhttpd to lighttpd so I recommend keeping uhttpd running for Luci on a different port and assign port 80 to lighttpd for ownCloud.

Change uhttpd port

Edit /etc/config/uhttpd file and change http port to 81 and https port to 8443:

Restart uhhtpd.

You should be able to reach luci under e.g. http://192.168.1.1:81

Install lighttpd

Install lighttpd packages:

Now configure lighttpd for ownCloud. Edit the config-file /etc/lighttpd/lighttpd.conf

Set www-root for ownCloud:

see errors on syslog:

Uncomment the mod_cgi and add modules:

Assign port 80 for the ownCloud Server:

Add these lines to secure the access to the data according to ownCloud WebServer-notes[3], beware that in this example the ownCloud-folder is our www-root

Start the server:

Enable server for next boots:

Install & configure PHP

Get the dirty part: php and sqlite. I am not sure if really all of these packages are necessary, but it seems so:

Those packages are also suggested:

Configure /etc/php.ini to our needs and change the doc_root to our www-root:

Check that the extensions are enabled:

/etc/php5/<extension>.ini should contains extension=<extension>.ini

Play around with memory_limit, I reduced the value form 8MB to 4MB … but maybe 50MB might be better with 64MB RAM.

Owncloud Chat

Run php:

activate PHP in lighttpd.conf

Uncomment to enable the fastcgi and access module

Add “index.php” to the list of index-file.names:

Include php by using fast-cgi (gample against max-procs for performance):

Only if you are using normal cgi mode for PHP, you'll need the following line

Restart the webserver with

Now point your browser to http://yourhost/index.php (first create a helpful content to this file) and see if this manual missed something. If so, please contact the author (see details below) or get an account for this wiki and fix the how-to yourself.

Get SSL (optional)

Probably you want to run lighttpd with SSL/https to get your traffic crypted. These instructions are taken from [4]. For generating a key you need to install libopenssl and the openssl-util

Now you can create a folder for your key like this

Within that you can create your key with the following command. You will be asked to provide some information for the certificate.

Make the file only accessable to root

Now we can uncomment the lines for SSL in lighttp.conf and modify the path to the server.pem:

Restart the webserver afterwards - don't wonder if it isn't anymore reachable via http:

Owncloud

MySQL Installation (Optional)

ownCloud is installed with SQLite by default. However SQLite is only good for testing and lightweight single user setups. It has no client synchronisation support, so other devices will not be able to synchronise with the data stored in an ownCloud SQLite database. MariaDB is the ownCloud recommended database.

Install the recommended MySQL/MariaDB database:

Configure the database server:

Start MySQL:

OwnCloud

Set password for root user:

Connect to MySQL database:

Create user for web server and set its password:

Create database for ownCloud and set privileges:

For more information, please refer to the documentation: https://doc.owncloud.org/server/10.4/admin_manual/installation/installation_wizard.html#post-installation-steps-label.

Unleash ownCloud

Download and unpack the newest revision:

Now you should cleanup:

You have to configure the rights of the /www/owncloud in addition.

create the following folder after installation and change its permissions:

Open your Website http://192.168.1.1/ and configure your first steps, then wait for a loooonnnnngggg time and you'll see the result.

Enable Background Jobs

ownCloud requires background jobs like database cleanup. For best performance, it is recommended to enable background jobs.

Enable Cron job:

For more information, please refer to the documentation: https://doc.owncloud.com/server/admin_manual/configuration/server/background_jobs_configuration.html.

ownCloud on alternative destination

If you don't want to set up a extroot, you can install ownCloud on a different location Opkg Package Manager - Non-standard Installation Destinations

Install php on another location, then

ln -s /opt/etc/php.ini /etc/php.iniln -s /opt/etc/php7 /etc/php7

If you still get errors related timezones and calls to undefined functions: Web scraper extension.

opkg -dest usb install zoneinfo-core zoneinfo-[your region]ln -s /opt/usr/lib/php /usr/lib/phpln -s /opt/usr/share/zoneinfo/ /usr/share/zoneinfo/

Written by

Page was initiated by wetterfrosch

  • Jabber: wetterfrosch_ät_jabber.berlin.ccc.de
  • Twitter: @wetterfrosch

but a lot of modifications are done by others…

Resources

  • [1] Installing and troubleshooting USB Drivers
  • [3] http://owncloud.org/support/webserver-notes/
  • [4] http://www.cyberciti.biz/tips/howto-lighttpd-create-self-signed-ssl-certificates.html
  • [5] http://www.gizfun.com/content/install-owncloud-your-openwrt-router-3-steps
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies