Nextcloud Fails to Start on TrueNAS SCALE (Fresh Install, Multiple Attempts)

I’m a newbie - are you saying it’s not reliable? what’s been your experience?

Seeing as the Force Flag is designed to allow upgrades when existing data is discovered and the original issue was a failure on postgres_upgrade, it seems like a plausible solution.

Reliable - ??? Nextcloud seems to be, but on Truenas it’s a like rolling a pair of dice. . . It worked for me on SCALE 24.04 (Dragonfish) but failed to come thru the upgrade to Electric Eel 24.10.2. Fortunately I hadn’t really started using it yet. I have several days into trying to install it without success, had it up half working two times, but unusable. DjP-IX helped me in this forum for two days earlier this week, I have NO idea why it hasn’t installed.
I will be trying a Custom install with a Compose YML file on my next attempt, that has been suggested by two people lately. One of the YML files was posted earlier in this post. . .

ok good to know. I like the docker concept. I have my home lap “prod” as TN Core and used Samuel’s directions for creating a Jail for NC. It is solid. I was trying to figure out if I should migrate to Scale since Core seems to be going away. Thanks for the feedback. I’ll keep an eye out here to see how successful you are with the YML file approach. Thanks!

Been running Nextcloud as a custom app for a few years, never ever any issue. Very reliable.

I’ve also had Core running for a few years with no issues. Scale and the Docker and custom apps is what I’ve had challenges with. For example, I want to install Rustdesk as an App but can’t seem to find any reference on doing so. The Nextcloud installation seemed cumbersome and hit or miss to me after attempting many times.

i have NC running but am confronted with the message


how do you correct this? how do you get to the config.php?

I see what you mean about reliability. I made some changes and now when I hit the WebUI button it goes to my Scale interface. Any luck with the YML file?

I still intend to give it a try with a YML install, but am giving it a break for a bit, I’m not a fan of containers so it will be a struggle for me. . .

So I don’t give up easily. I ended up finding this solution which worked for me. Editing the config.php apparently is ignored by NC… Adding Environment Variables to the App installer resolved it for me.

  • removed entry in “Host”
  • added “Additional Environment Variable” OVERWRITEHOST with Value 192.168.178.28:30027
  • added “Additional Environment Variable” OVERWRITECLIURL with Value https://192.168.178.28:30027
  • set Certificate ID to use the freenas_default Certificate.

192.168.178.28 is the IP address of my Truenas scale installation. 30027 is the port I’ve also set in WebUI Port.
Hope this helps someone else.

1 Like

did you also manage to get collabora to work on nextcloud?