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
syno:nextcloud [2025/11/30 15:08] – [Email] Bernard Condrausyno:nextcloud [2025/12/04 12:55] (current) – [Log file] Bernard Condrau
Line 125: Line 125:
 C:\Users\yourwindowsusername\AppData\Local\Nextcloud C:\Users\yourwindowsusername\AppData\Local\Nextcloud
 C:\Users\yourwindowsusername\AppData\Roaming\Nextcloud</code> C:\Users\yourwindowsusername\AppData\Roaming\Nextcloud</code>
 +  * If you synced external storage, remove the hidden files (starting with a ''.'') in each folder which was synced, e.g. ''.nextcloudsync.log'', ''.sync-exclude.lst'', ''.sync_*.db*''
 +===== Log file =====
 +  * Login to the nextcloud instance<code>sudo docker exec -it nextcloud-aio-nextcloud bash</code>
 +  * Config file:<code>vi /var/www/html/config/config.php</code>
 +  * Log file:<code>vi /var/www/html/data/nextcloud.log</code>
 +  * Truncate log file:<code>sudo -u www-data truncate /var/www/html/data/nextcloud.log --size 0</code>
 ===== Security & setup warnings ===== ===== Security & setup warnings =====
 ==== Mimetype migration ==== ==== Mimetype migration ====
-  * Login to NextCloud CLI<file>docker exec -it nextcloud-aio-nextcloud bash</file> +  * Login to NextCloud CLI<file>sudo docker exec -it nextcloud-aio-nextcloud bash</file> 
-  * Execute<file>sudo -E -u www-data php occ maintenance:repair --include-expensive</file>+  * Then execute<file>sudo -E -u www-data php occ maintenance:repair --include-expensive</file>
 ==== Email ==== ==== Email ====
   * Enter your email SMTP credentials   * Enter your email SMTP credentials
Line 136: Line 142:
  
 ===== Attach external storage ===== ===== Attach external storage =====
-  * SSH into your DSM and add 'nextcloud' as user and group with ID to ''/etc/passwd'' and ''/etc/group''+  - If your latest version of files is already on the server: remove all files from your desktop 
 +  - If your latest version of files is on your desktop: remove all files from the server 
 +  - Login to Nextcloud and enable //External storage support// in //Profile --> Apps --> Disabled apps// 
 +  - Go to //Adminstration settings --> External storage// and add the path to external storage: 
 +    * Folder name: the name identify this storage from the client 
 +    * External storage: Local 
 +    * Authentication: None 
 +    * Configuration: path to the external storage volume. On Synology this would be /volume1/<shared folder>
 +    * Available for: <user
 +  - Open your Nextcloud client, then go to //Profile --> Settings// 
 +  - Click //Add Folder Sync Connection//, enter the local path to your folder to sync, then select the Folder name you set when you added the external storage 
 +  - Remove the preset Folder Sync Connection in your client 
 +==== Links ====
   * [[https://www.youtube.com/watch?v=hl1SpXwG1PI&t=5s|Add External Storage On Your Nextcloud: Complete Setup Guide!]]   * [[https://www.youtube.com/watch?v=hl1SpXwG1PI&t=5s|Add External Storage On Your Nextcloud: Complete Setup Guide!]]
 ===== Links ===== ===== Links =====