After Update cannot change to static IP and Nextcloud stopped working

Hello all, today done update for my TrueNAS scale, i had version 24(don’t remember las digits, but it was latest release version) and updated to 25.04, after update cannot change IP from DHCP to static it comebacks to default 192.168.0.44 after i try to apply as static. Thats one problem, another one now my next cloud is not starting, it hangs on postgres and gives error about “[EFAULT] Failed ‘up’ action for ‘nextcloud’ app. Please check /var/log/app_lifecycle.log for more details” I’m saying straight that im no pro on this stuff, dont know how but a year ago i mange to make working this next cloud with cloudflare and colabora, but what happened today i have no clue how to solve it. As i do understand i have no possibility to go back to working version. If any can, please help me get back my next cloud up and running again. Thank you in advance.

After making network changes, there is a Test Changes button. It applies your brand-new changes for a 60se and then reverts them back. To prevent the rollback, you must access your truenas within these 60sec via the new IP and apply them.

Did you do that?

I do not use the apps on TrueNAS, so can’t help here. Mb it is somehow related to this.

1 Like

Hello, thanks for reply, i did tried this method, for some reason it doesn’t work for me, if i try to connect with in 60 sec on changed IP it doesn’t connect, and it goes back to DHCP given address, very weird situation.

Edited: my bad i was setting old router subnet, so static IP problem solved, thank you for help.

1 Like

This is my postgres log : 2025-09-18 08:27:12.858119+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:12.861669+00:002025-09-18T08:27:12.861669316Z
2025-09-18 08:27:12.861692+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:12.861702+00:002025-09-18T08:27:12.861702021Z
2025-09-18 08:27:12.870500+00:002025-09-18 08:27:12.870 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:12.870540+00:002025-09-18 08:27:12.870 UTC [1] HINT: The server must be started by the user that owns the data directory.
2025-09-18 08:27:13.179835+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:13.182959+00:002025-09-18T08:27:13.182959405Z
2025-09-18 08:27:13.183000+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:13.183008+00:002025-09-18T08:27:13.183008811Z
2025-09-18 08:27:13.193924+00:002025-09-18 08:27:13.193 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:13.193962+00:002025-09-18 08:27:13.193 UTC [1] HINT: The server must be started by the user that owns the data directory.
2025-09-18 08:27:13.577039+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:13.580193+00:002025-09-18T08:27:13.580193480Z
2025-09-18 08:27:13.580217+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:13.580226+00:002025-09-18T08:27:13.580226703Z
2025-09-18 08:27:13.590307+00:002025-09-18 08:27:13.590 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:13.590345+00:002025-09-18 08:27:13.590 UTC [1] HINT: The server must be started by the user that owns the data directory.
2025-09-18 08:27:14.195767+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:14.199049+00:002025-09-18T08:27:14.199049144Z
2025-09-18 08:27:14.199091+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:14.199099+00:002025-09-18T08:27:14.199099665Z
2025-09-18 08:27:14.211067+00:002025-09-18 08:27:14.210 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:14.211102+00:002025-09-18 08:27:14.210 UTC [1] HINT: The server must be started by the user that owns the data directory.
2025-09-18 08:27:15.206641+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:15.210144+00:002025-09-18T08:27:15.210144199Z
2025-09-18 08:27:15.210167+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:15.210187+00:002025-09-18T08:27:15.210187117Z
2025-09-18 08:27:15.218696+00:002025-09-18 08:27:15.218 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:15.218737+00:002025-09-18 08:27:15.218 UTC [1] HINT: The server must be started by the user that owns the data directory.
2025-09-18 08:27:16.997908+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:17.001177+00:002025-09-18T08:27:17.001177089Z
2025-09-18 08:27:17.001213+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:17.001226+00:002025-09-18T08:27:17.001226032Z
2025-09-18 08:27:17.012544+00:002025-09-18 08:27:17.012 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:17.012589+00:002025-09-18 08:27:17.012 UTC [1] HINT: The server must be started by the user that owns the data directory.
2025-09-18 08:27:20.416756+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:20.420268+00:002025-09-18T08:27:20.420268394Z
2025-09-18 08:27:20.420299+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:20.420321+00:002025-09-18T08:27:20.420321490Z
2025-09-18 08:27:20.430291+00:002025-09-18 08:27:20.430 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:20.430328+00:002025-09-18 08:27:20.430 UTC [1] HINT: The server must be started by the user that owns the data directory.
2025-09-18 08:27:27.048120+00:00chmod: changing permissions of ‘/var/lib/postgresql/data’: Operation not permitted
2025-09-18 08:27:27.051467+00:002025-09-18T08:27:27.051467198Z
2025-09-18 08:27:27.051502+00:00PostgreSQL Database directory appears to contain a database; Skipping initialization
2025-09-18 08:27:27.051509+00:002025-09-18T08:27:27.051509829Z
2025-09-18 08:27:27.060293+00:002025-09-18 08:27:27.060 UTC [1] FATAL: data directory “/var/lib/postgresql/data” has wrong ownership
2025-09-18 08:27:27.060336+00:002025-09-18 08:27:27.060 UTC [1] HINT: The server must be started by the user that owns the data directory.

How i can change that any one know, is it in permission tab or some where else? Thank for any help.

All ok, solved by redoing permissions. Case closed.