FAQ ownCloud - SynoCommunity/spksrc GitHub Wiki
ownCloud FAQ (SynoCommunity Package)
Default Login Credentials
If you have just installed the ownCloud package from SynoCommunity, you can log in with the default credentials:
- Username:
admin
- Password:
admin
For security reasons, it is recommended to change these credentials immediately after logging in.
occ
Command
Using the The occ
command (ownCloud console) is a powerful command-line tool that allows you to perform various administrative tasks. Follow these steps to use occ
on your Synology NAS.
1. Enable SSH (if needed)
Ensure SSH is enabled on your DiskStation. If you haven't done this yet, refer to the SSH Guide for instructions.
2. Define Shortcuts
To simplify command execution, define the following shortcuts:
oc_php=/usr/local/bin/php74
For DSM 6:
oc_occ=/var/services/web/owncloud/occ
oc_usr=http
For DSM 7:
oc_occ=/var/services/web_packages/owncloud/occ
oc_usr=sc-owncloud
occ
Commands
3. Run Once the shortcuts are set, you can execute an occ
command as follows:
sudo -u $oc_usr $oc_php $oc_occ --version
Replace --version
with any other occ
command you need to run.
My Files Are Not in Sync
If your files are not updating correctly in the Files view after modifying them outside of the web interface (e.g., via WebDAV), ownCloud may not be detecting changes automatically.
To resolve this, adjust the filesystem check settings by following these steps:
occ
1. Set Up Ensure you have completed the steps in the Using the occ
Command section above.
2. Enable Maintenance Mode
sudo -u $oc_usr $oc_php $oc_occ maintenance:mode --on
3. Adjust Filesystem Change Detection
sudo -u $oc_usr $oc_php $oc_occ config:system:set --type=integer filesystem_check_changes --value 1
4. Disable Maintenance Mode
sudo -u $oc_usr $oc_php $oc_occ maintenance:mode --off
This ensures that ownCloud will detect filesystem changes, keeping the Files view up to date.