TOS webui won't load after power failure

Initialization of newly purchased TNAS or re-installation of your TNAS
Locked
User avatar
ByteJunk
Posts: 3
Joined: 11 Mar 2023, 07:12

TOS webui won't load after power failure

Post by ByteJunk »

Hey,

After a series of power loss events in my house, my TOS web ui won't load.

I SSH'ed into the machine and nginx is failing to start, with a warning about invalid conf.

I inspected the conf files, and it looks like nginx.conf contained what's usually in nginx-http.conf, and nginx-http.conf was a truncated version of nginx.conf?
After restoring nginx.conf and nginx-http.conf from the install image, it's working again.

Since these files are so critical, maybe there's some way they can be better protected during the boot sequence so that they don't written to during boot, to prevent corruption?
User avatar
epsilonion
Posts: 43
Joined: 22 Jan 2023, 18:32

Re: TOS webui won't load after power failure

Post by epsilonion »

you have to do the following:

power off the NAS.
pull the drives.
Power it back on.

then on your computer go to the NAS IP address and eventually after counting down it will tell you to replace the drives.

when you have replaced the drives you have to go through the installation procedure again.

I get this every time I shut it down via the TOS menu, I have to reinstall the TOS again.
User avatar
crisisacting
Posts: 266
Joined: 20 Jan 2022, 16:42

Re: TOS webui won't load after power failure

Post by crisisacting »

epsilonion wrote: 04 May 2023, 00:00get this every time I shut it down via the TOS menu, I have to reinstall the TOS again.
If that's the case, there's something wrong with your configuration.

A fresh installation on clean drives will resolve that, however reconfiguration and restoring data from backups would likely be necessary, depending on use case.
User avatar
epsilonion
Posts: 43
Joined: 22 Jan 2023, 18:32

Re: TOS webui won't load after power failure

Post by epsilonion »

It's done it since I got the nas, restored backups twice and still does the same.

I think the answer is don't turn it off lol
User avatar
TMRyan
TerraMaster Team
Posts: 836
Joined: 01 Dec 2020, 11:50
China

Re: TOS webui won't load after power failure

Post by TMRyan »

We need to find ways to optimize. If you still encounter this situation, perhaps you can refer to the following content to reset the nginx configuration file first: viewtopic.php?f=81&t=2872
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
Locked

Return to “Initialization”