User Tools

Site Tools


software: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
software:owncloud [2015/09/16 11:08] – [Clients] Michele Porellisoftware:owncloud [2021/03/01 22:07] (current) – [Re-enable symlink support in data folder] Michele Porelli
Line 1: Line 1:
-====== OwnCloud ======+====== OwnCloud / NextCloud ======
 ===== Clients ===== ===== Clients =====
   * Android: [[https://play.google.com/store/apps/details?id=com.owncloud.android&hl=it|Play store]], [[https://f-droid.org/repository/browse/?fdid=com.owncloud.android|F-Droid]], [[https://github.com/owncloud/android|Sources]]   * Android: [[https://play.google.com/store/apps/details?id=com.owncloud.android&hl=it|Play store]], [[https://f-droid.org/repository/browse/?fdid=com.owncloud.android|F-Droid]], [[https://github.com/owncloud/android|Sources]]
Line 6: Line 6:
 ==== Linux ==== ==== Linux ====
   * Config directory: /home/${USER}/.local/share/data/ownCloud/   * Config directory: /home/${USER}/.local/share/data/ownCloud/
 +==== iOS ====
 +=== Change the default upload folder ===
 +  * Select the destination folder
 +  * swipe left
 +  * click more
 +  * choose Folder for Automatic upload
 ===== HowTo ===== ===== HowTo =====
 +==== Remove unwanted Nextcloud advertising ====
 +Assuming that your webserver runs with www-data user<code>
 +cd <YOUR_WWW_ROOT>
 +sudo -u www-data php  nextcloud/occ config:system:set --type=bool --value=false simpleSignUpLink.shown
 +</code>
 ==== Manual upgrade with shell access ==== ==== Manual upgrade with shell access ====
-Assuming that latest version is 8.1.1 and your webserver runs with www-data user +Assuming that your webserver runs with www-data user 
-  * cd <YOUR_WWW_ROOT> +=== Preferred way === 
-  * sudo -u www-data wget "https://download.owncloud.org/community/owncloud-8.1.1.tar.bz2" +<code>sudo -u www-data php <YOUR_WWW_ROOT>/nextcloud/updater/updater.phar</code> 
-  * sudo -u www-data tar xjf owncloud-8.1.1.tar.bz2 +=== Alternative way === 
-  * sudo -u www-data php owncloud/occ upgrade +<code>cd <YOUR_WWW_ROOT> 
-  * sudo -u www-data rm owncloud-8.1.1.tar.bz2 +sudo -u www-data php  owncloud/occ maintenance:mode --on 
-==== Restore a failed upgrade ====+sudo -u www-data mv   owncloud owncloud-old 
 +sudo -u www-data wget "https://download.owncloud.org/community/owncloud-latest.tar.bz2" 
 +sudo -u www-data tar  xjf owncloud-latest.tar.bz2 
 +sudo -u www-data cp   owncloud-old/config/config.php owncloud/config/config.php 
 +sudo -u www-data mv   owncloud-old/data owncloud/data 
 +sudo -u www-data php  owncloud/occ upgrade 
 +sudo -u www-data php  owncloud/occ maintenance:mode --off 
 +sudo -u www-data rm   owncloud-latest.tar.bz2 
 +sudo -u www-data rm   -Rf owncloud-old</code> 
 +if needed, restore your applications and/or themes. 
 +==== Recover a failed upgrade ====
   - Add a suffix to your existing owncloud folder or move it away   - Add a suffix to your existing owncloud folder or move it away
   - Upload to your server latest owncloud version   - Upload to your server latest owncloud version
   - Move back "data" and "config" folders from previous installation to the newest just uploaded   - Move back "data" and "config" folders from previous installation to the newest just uploaded
 +==== Re-enable symlink support in data folder ====
 +NOTE: This is not supported by ownCloud team and can result in unexpected behaviors (including data loss and the end of the world)
  
 +=== Official way (since Nextcloud 21.0.0) ===
 +  * Add <code>'localstorage.allowsymlinks' => true,</code> to the config file located in nextcloudcloud/config/config.php
 +=== Alternative #1 (pre Nextcloud 21.0.0) ===
 +  - Open owncloud/lib/private/Files/Storage/Local.php
 +  - Change the variable $allowSymlinks from false to true
 +=== Alternative #2 (pre Nextcloud 21.0.0) ===
 +  - Look for the row containing "Following symlinks is not allowed" (in 10.0.1 version is located at row 373) and replace the row with: "return $fullPath;"
  
 +If using any of the two alternative ways, you probably want to disable the integrity check in owncloud/config/config.php adding: 
 +<code>'integrity.check.disabled' => true,</code> 
 +===== Issues ===== 
 +==== checksum wrong errors using the desktop client ==== 
 +Remove all the checksums:<code> 
 +UPDATE oc_filecache 
 +SET checksum = '' 
 +WHERE COALESCE (checksum, ‘’) <> ‘’</code>
software/owncloud.1442401697.txt · Last modified: (external edit)