Hi, I am new to self-hosting in general.
I am using TrueNas Scale community edition 25.04.2.4 and I have installed and setup Nextcloud through the app store, following the directions from this guide youtu.be/1rpeKWGoMRY
My server is an HP Elitedesk 800 G2 SFF PC, with a core i5-6500 and 8 gigs of RAM
Storage:
Summary
2x Toshiba e300 low power 2tb sata drives (mirrored in TrueNas, this is the main data storage)
2.5 inch hard drive for boot drive
My issue is that a Nextcloud service is preventing the hard drives from spinning down, as there is activity exactly every 30 seconds. When I disable Nextcloud through TrueNas, the drive activity stops.
Nextcloud events, accessed through TrueNas
2025-10-11 13:19:42.674196+00:00Configuring Redis as session handler
2025-10-11 13:19:42.749465+00:00=> Searching for hook scripts (*.sh) to run, located in the folder “/docker-entrypoint-hooks.d/before-starting”
2025-10-11 13:19:42.752247+00:00==> Running the script (cwd: /var/www/html): “/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh”
2025-10-11 13:19:42.760672+00:00Updating database and redis host in config.php
2025-10-11 13:19:43.108545+00:00System config value redis => host set to string redis
2025-10-11 13:19:43.116105+00:00==> Finished executing the script: “/docker-entrypoint-hooks.d/before-starting/ix-update-hosts-script.sh”
2025-10-11 13:19:43.116583+00:00==> Running the script (cwd: /var/www/html): “/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh”
2025-10-11 13:19:43.124476+00:00Updating trusted domains. It will append new domains to the existing list.
2025-10-11 13:19:43.124502+00:00If you see a domain that is not longer valid, you need to manually remove it from the list in the config.php file.
2025-10-11 13:19:43.766088+00:00System config value trusted_domains deleted
2025-10-11 13:19:44.075281+00:00System config value trusted_domains => 0 set to string 127.0.0.1
2025-10-11 13:19:44.382439+00:00System config value trusted_domains => 1 set to string 192.168.5.255
2025-10-11 13:19:44.690867+00:00System config value trusted_domains => 2 set to string localhost
2025-10-11 13:19:45.016099+00:00System config value trusted_domains => 3 set to string nextcloud
2025-10-11 13:19:45.023890+00:00==> Finished executing the script: “/docker-entrypoint-hooks.d/before-starting/ix-update-trusted-domains-script.sh”
2025-10-11 13:19:45.023950+00:00=> Completed executing scripts in the “before-starting” folder
2025-10-11 13:19:45.053954+00:00AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using fdd0:0:0:1::4. Set the ‘ServerName’ directive globally to suppress this message
2025-10-11 13:19:45.068959+00:00AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using fdd0:0:0:1::4. Set the ‘ServerName’ directive globally to suppress this message
2025-10-11 13:19:45.141826+00:00[Sat Oct 11 13:19:45.141621 2025] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.65 (Debian) PHP/8.3.26 configured – resuming normal operations
2025-10-11 13:19:45.141881+00:00[Sat Oct 11 13:19:45.141675 2025] [core:notice] [pid 1:tid 1] AH00094: Command line: ‘apache2 -D FOREGROUND’
2025-10-11 13:19:47.205587+00:00127.0.0.1 - - [11/Oct/2025:13:19:46 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:20:17.301317+00:00127.0.0.1 - - [11/Oct/2025:13:20:17 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:20:47.418194+00:00127.0.0.1 - - [11/Oct/2025:13:20:47 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:21:17.543692+00:00127.0.0.1 - - [11/Oct/2025:13:21:17 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:21:47.664766+00:00127.0.0.1 - - [11/Oct/2025:13:21:47 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:22:17.789290+00:00127.0.0.1 - - [11/Oct/2025:13:22:17 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:22:47.902284+00:00127.0.0.1 - - [11/Oct/2025:13:22:47 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:23:18.010275+00:00127.0.0.1 - - [11/Oct/2025:13:23:17 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:23:48.126705+00:00127.0.0.1 - - [11/Oct/2025:13:23:48 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:24:18.234723+00:00127.0.0.1 - - [11/Oct/2025:13:24:18 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:24:48.327926+00:00127.0.0.1 - - [11/Oct/2025:13:24:48 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:25:18.431124+00:00127.0.0.1 - - [11/Oct/2025:13:25:18 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
2025-10-11 13:25:48.537893+00:00127.0.0.1 - - [11/Oct/2025:13:25:48 +0000] “GET /status.php HTTP/1.1” 200 1035 “-” “curl/8.14.1”
These GET requests seem to be correlated with disk writes. I am new so I don’t really know where these GET requests come from or what to do with them.
I got around to installing a few apps, but I haven’t fully set them up yet.
occ app:list
Enabled:
- activity: 5.0.0-dev.0
- app_api: 32.0.0
- bruteforcesettings: 5.0.0-dev.0
- circles: 32.0.0
- cloud_federation_api: 1.16.0
- comments: 1.22.0
- contactsinteraction: 1.13.1
- dav: 1.34.2
- federatedfilesharing: 1.22.0
- federation: 1.22.0
- files: 2.4.0
- files_downloadlimit: 5.0.0-dev.0
- files_pdfviewer: 5.0.0-dev.0
- files_reminders: 1.5.0
- files_sharing: 1.24.0
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0-dev.0
- guests: 4.5.2
- logreader: 5.0.0-dev.0
- lookup_server_connector: 1.20.0
- memories: 7.7.0
- nextcloud_announcements: 4.0.0-dev.0
- notifications: 5.0.0-dev.0
- oauth2: 1.20.0
- password_policy: 4.0.0-dev.0
- photos: 5.0.0-dev.1
- privacy: 4.0.0-dev.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- recognize: 10.0.4
- recommendations: 5.0.0-dev.0
- related_resources: 3.0.0-dev.0
- richdocuments: 9.0.0
- richdocumentscode: 25.4.504
- serverinfo: 4.0.0-dev.0
- settings: 1.15.1
- sharebymail: 1.22.0
- support: 4.0.0-dev.0
- survey_client: 4.0.0-dev.0
- systemtags: 1.22.0
- text: 6.0.0-dev.0
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- updatenotification: 1.22.0
- user_status: 1.12.0
- viewer: 5.0.0-dev.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- workflowengine: 2.14.0
Disabled: - admin_audit: 1.22.0
- dashboard: 7.12.0 (installed 7.12.0)
- encryption: 2.20.0
- files_external: 1.24.0
- suspicious_login: 10.0.0-dev.0
- twofactor_nextcloud_notification: 6.0.0-dev.0
- twofactor_totp: 14.0.0
- user_ldap: 1.23.0
This is the disk read and write graph from TrueNas. The pink line means write.
Where do these GET requests come from, and what do they do? How can I stop Nextcloud from writing to the drives every 30 seconds?
Thanks.
probably unrelated, occ config:list system
{
“system”: {
“htaccess1.RewriteBase”: “/”,
“memcache.local”: “\OC\Memcache\APCu”,
“apps_paths”: [
{
“path”: “/var/www/html/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/www/html/custom_apps”,
“url”: “/custom_apps”,
“writable”: true
}
],
“memcache.distributed”: “\OC\Memcache\Redis”,
“memcache.locking”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “REMOVED SENSITIVE VALUE”,
“password”: “REMOVED SENSITIVE VALUE”,
“port”: 6379
},
“upgrade.disable-web”: true,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “pgsql”,
“version”: “32.0.0.13”,
“overwrite.cli.url”: “http://localhost”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“instanceid”: “REMOVED SENSITIVE VALUE”,
“htaccess.RewriteBase”: “/”,
“config_preset”: 2,
“defaultapp”: “”,
“memories.db.triggers.fcu”: true,
“memories.exiftool”: “/var/www/html/custom_apps/memories/bin-ext/exiftool-amd64-glibc”,
“memories.vod.path”: “/var/www/html/custom_apps/memories/bin-ext/go-vod-amd64”,
“memories.vod.ffmpeg”: “/usr/bin/ffmpeg”,
“memories.vod.ffprobe”: “/usr/bin/ffprobe”,
“app_install_overwrite”: ,
“loglevel”: 3,
“trusted_domains”: [
“127.0.0.1”,
“192.168.5.255”,
“localhost”,
“nextcloud”
]
}
}
