This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:ubuntu:owncloud [2018/02/20 16:14] – lunetikk | linux:ubuntu:owncloud [2018/04/03 13:14] (current) – lunetikk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | ===== What is ownCloud ===== | ||
+ | |||
+ | [[https:// | ||
===== Installation ===== | ===== Installation ===== | ||
- | Get the tarball from the official Site [[https:// | + | Get the tarball from the official Site [[https:// |
< | < | ||
Line 11: | Line 15: | ||
If you use Ubuntu 14.04 you might have PHP5.5 in use. You need PHP5.6 to run this version of Owncloud.\\ | If you use Ubuntu 14.04 you might have PHP5.5 in use. You need PHP5.6 to run this version of Owncloud.\\ | ||
- | Install PHP5.6 | + | Check your current PHP5 modules |
+ | < | ||
+ | The following are needed by owncloud | ||
+ | < | ||
+ | Install PHP5.6, just remove the php-modules that you dont need (I included all I have) | ||
< | < | ||
add-apt-repository ppa: | add-apt-repository ppa: | ||
Line 43: | Line 51: | ||
</ | </ | ||
+ | </ | ||
+ | |||
+ | Activate the following apache2 modules | ||
+ | |||
+ | < | ||
+ | a2enmod rewrite | ||
+ | a2enmod headers | ||
+ | a2enmod env | ||
+ | a2enmod dir | ||
+ | a2enmod mime | ||
+ | service apache2 restart | ||
</ | </ | ||
Line 50: | Line 69: | ||
coming soon.... | coming soon.... | ||
+ | |||
+ | ===== Maintenance and Upgrade ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ^ Command ^ Function ^ | ||
+ | | sudo -u www-data php occ maintenance: | ||
+ | | sudo -u www-data php occ maintenance: | ||
+ | | sudo -u apache php occ upgrade | Upgrade the current extracted ownCloud directory to the version | | ||
+ | |||
+ | ===== Security ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 66: | Line 104: | ||
Add the following to your apache2 siteconfig | Add the following to your apache2 siteconfig | ||
< | < | ||
+ | |||
+ | |||
+ | ==== 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... | ||
+ | |||
+ | < | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Easiest solution is to add a "local external storage" | ||
+ | |||
+ | Here is how to fix: | ||
+ | |||
+ | Add this to "/ | ||
+ | < | ||
+ | |||
+ | Follow this doc to add this " | ||
+ | [[https:// | ||
+ | |||
+ | |||