-
-
Notifications
You must be signed in to change notification settings - Fork 238
Managing services
scubamuc edited this page May 9, 2025
·
9 revisions
htop -F nextcloudsudo snap services <SNAPNAME>
Example:
sudo snap services nextcloudsudo snap logs <SNAPNAME>.<SERVICE>
Example:
sudo snap logs nextcloud.nextcloud-cronexample of service logs:
Logs for Apache service: 'journalctl -u snap.nextcloud.apache.service'
Logs for Mysql service: 'journalctl -u snap.nextcloud.mysql.service'
View configuration with get:
sudo snap get <SNAPNAME> <SERVICE>-<SETTING>
Example:
sudo snap get nextcloud nextcloud.cron-intervalConfigure service with set:
sudo snap set <SNAPNAME> <SERVICE>.<SETTING>=<value>
Example:
sudo snap set nextcloud nextcloud.cron-interval=5msudo snap start <SNAPNAME>.<SERVICE>
Example:
sudo snap start nextcloud.nextcloud-cronsudo snap restart <SNAPNAME>.<SERVICE>
Example:
sudo snap restart nextcloud.nextcloud-cronsudo snap stop <SNAPNAME>.<SERVICE>
Example:
sudo snap stop nextcloud.nextcloud-cronsudo snap stop --disable <SNAPNAME>.<SERVICE>
Example:
sudo snap stop --disable nextcloud.renew-certssudo snap start --enable <SNAPNAME>.<SERVICE>
Example:
sudo snap start --enable nextcloud.renew-certsNextcloud snap Wiki, use all information and scripts at own risk
- HTTP/HTTPS port configuration
- PHP configuration options
- Hosts & FQDN configuration
- Reverse proxy configuration
- CODE & Nextcloud Office configuration
- HPB client-push configuration
- Managing Nextcloud snap
- Managing automatic updates
- Managing automatic update issues
- Managing external media and storage
- Managing logs
- Managing services
- Managing cron
- Managing HTTP encryption
- OCC management console