Site Tools


linux:ubuntu:owncloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu:owncloud [2018/02/20 16:23] lunetikklinux:ubuntu:owncloud [2018/04/03 13:14] (current) lunetikk
Line 1: Line 1:
-====== Owncloud ======+====== ownCloud ====== 
 + 
 +===== What is ownCloud ===== 
 + 
 +[[https://de.wikipedia.org/wiki/OwnCloud|Wikipedia - ownCloud]]
  
 ===== Installation ===== ===== Installation =====
  
-Get the tarball from the official Site [[https://owncloud.org/download/|Owncloud]]+Get the tarball from the official Site [[https://owncloud.org/download/|ownCloud]]
  
 <code>wget https://download.owncloud.org/community/owncloud-10.0.6.tar.bz2</code> <code>wget https://download.owncloud.org/community/owncloud-10.0.6.tar.bz2</code>
Line 65: Line 69:
  
 coming soon.... coming soon....
 +
 +===== Maintenance and Upgrade =====
 +
 +[[https://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html|ownCloud - Maintenance and Upgrade]]
 +
 +^ Command ^ Function ^
 +| sudo -u www-data php occ maintenance:mode --on | Turn on maintenance mode (display maintenance site) |
 +| sudo -u www-data php occ maintenance:mode --off | Turn off maintenance mode (display regular site) |
 +| sudo -u apache php occ upgrade | Upgrade the current extracted ownCloud directory to the version |
 +
 +===== Security =====
 +
 +[[https://scan.nextcloud.com/|Nextcloud Security Scan]]\\
 +
 +[[http://www.rojtberg.net/711/secure-owncloud-server/|Fail2ban for v9]]\\
 +
 +[[https://markustechsite.wordpress.com/2017/05/01/fail2ban-fuer-owncloud-10/|Fail2ban for v10]]\\
 +
 +[[https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/config_sample_php_parameters.html#logging|ownCloud - Activate logging]]
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
Line 81: Line 104:
 Add the following to your apache2 siteconfig Add the following to your apache2 siteconfig
 <code>Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"</code> <code>Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"</code>
 +
 +
 +==== No OneDrive as external storage visible ====
 +
 +You might have found the doc which explains how to add OneDrive as external storage.
 +Welcome to ownCloud, this feature is enterprise only...
 +
 +==== Files added via CLI are not visible ====
 +
 +This is NOT recommended...
 +
 +<code>The data directory on the server is exclusive to ownCloud and must not be modified manually.</code>
 +
 +[[https://central.owncloud.org/t/why-does-my-files-i-put-into-datadir-dont-appear-in-owncloud/818|ownCloud FAQ - Solutions]]
 +
 +Easiest solution is to add a "local external storage". BUT... this option has been disabled because of security...
 +
 +Here is how to fix:
 +
 +Add this to "/var/www/owncloud/config/config.php"
 +<code>'files_external_allow_create_new_local' => true,</code>
 +
 +Follow this doc to add this "safely":\\
 +[[https://doc.owncloud.org/server/8.2/admin_manual/configuration_files/external_storage/local.html|ownCloud - External Local Storage]]
 +
 +
  
linux/ubuntu/owncloud.1519140234.txt.gz · Last modified: 2018/02/20 16:23 by lunetikk