Page 1 of 2

TOS webpage always shows "Loading..."?

Posted: 23 Jun 2024, 19:39
by Nekle
Hii,

I know this topic already exists here viewtopic.php?t=2407, but I couldn't find my answer.

I got a power outage yesterday, and just after everything went back to work, an other one.
Now, since the second power outage, the webpage always show "Loading..., please wait!". From what I've read I should wait few days for it to get back up. (viewtopic.php?t=2407)
But there are two things that i don't understand then.

- It's not my first power outage, and it always went up almost immediately after. It's the first time it happens 2 times in row in like 5 min.
- Why is it taking this long (almost one full day now) for "only 8TB" ?
- I still can reach my NAS using SSH, I still can view all my disk from my PC and even see the content of the NAS.

From what I understand, it's just a "Wegpage" issue, but this block the launch of a lot of other processes such as docker or plex...
I tried to to do this (viewtopic.php?t=2872), but it did nothing.


What could I do ?

Model: F2-221
TOS Version: 5.1.41 (I'm not 100% sur, since I can't reach the webpage :/)

Thanks in advance !

Re: TOS webpage always shows "Loading..."?

Posted: 24 Jun 2024, 19:25
by TMzethar
Frequent power outages can cause file system, TOS system and even disk failures.
Regarding the loading you mentioned, could you please tell us the type of file system you are using, which may correspond to different situations (BTRFS/EXT4).
Are the HDD indicators still blinking after a long time of loading?

Re: TOS webpage always shows "Loading..."?

Posted: 24 Jun 2024, 19:32
by Nekle
Hi !

Thanks for the answer.

I'm running 2 4Tb disks each in "btrfs" and yes, both lights are blinking green !

Re: TOS webpage always shows "Loading..."?

Posted: 24 Jun 2024, 21:17
by Nekle
TMzethar wrote: 24 Jun 2024, 19:25 Frequent power outages can cause file system, TOS system and even disk failures.
Regarding the loading you mentioned, could you please tell us the type of file system you are using, which may correspond to different situations (BTRFS/EXT4).
Are the HDD indicators still blinking after a long time of loading?
I also tried to follow this : viewtopic.php?t=2575

But i don't get any "obvious red error" so I stop at the first step

Re: TOS webpage always shows "Loading..."?

Posted: 25 Jun 2024, 10:05
by TMzethar
You can log into an SSH terminal, which is good news.
In the version of TOS5 you are using, the BTRFS QUOTA related feature may be open by default, which may cause high usage.
You can disable it and see if it solves the problem.

Code: Select all

btrfs quota disable /Volume1

Re: TOS webpage always shows "Loading..."?

Posted: 26 Jun 2024, 03:38
by Nekle
TMzethar wrote: 25 Jun 2024, 10:05 You can log into an SSH terminal, which is good news.
In the version of TOS5 you are using, the BTRFS QUOTA related feature may be open by default, which may cause high usage.
You can disable it and see if it solves the problem.

Code: Select all

btrfs quota disable /Volume1
Looks like it did nothing.
I can still reach my NAS using SFH or via my PC and the network but i get "Loading..., please wait!" when i try to access the webpage.
And still no docker or plex is running.

Any other idea ?

Re: TOS webpage always shows "Loading..."?

Posted: 26 Jun 2024, 05:52
by Gremlin
TMzethar wrote: 25 Jun 2024, 10:05
To me the 'segfault at 0' in the screenshot sort of stands out. Can anyone explain that?

Re: TOS webpage always shows "Loading..."?

Posted: 26 Jun 2024, 18:15
by TMzethar
Based on another record of "posgres segfault at 0", we suspect that there may be an unknown database exception in the operating system. Troubleshooting and fixing this aspect of the problem is difficult to continue. You may consider reinstalling TOS to reset these unknown errors.

How to reinstall TOS:
viewtopic.php?t=423

Please note the range of TOS versions available for your device and storage:
viewtopic.php?t=4912

Re: TOS webpage always shows "Loading..."?

Posted: 26 Jun 2024, 18:54
by Gremlin
Database corruption

Database corruption can lead to segmentation faults when the database engine tries to access the corrupted data. This corruption might stem from hardware failures, bugs in the database software, or improper shutdown procedures, causing the database system to attempt operations based on invalid data structures.

Though the scope of this error is not limited to the above-mentioned reasons only, these are the most probable ones. In order to know the root cause of the issue, one needs to troubleshoot it with the help of programmers.
Taken from an article here: https://www.percona.com/blog/segmentati ... rspective/

Re: TOS webpage always shows "Loading..."?

Posted: 27 Jun 2024, 02:09
by Nekle
TMzethar wrote: 26 Jun 2024, 18:15 Based on another record of "posgres segfault at 0", we suspect that there may be an unknown database exception in the operating system. Troubleshooting and fixing this aspect of the problem is difficult to continue. You may consider reinstalling TOS to reset these unknown errors.

How to reinstall TOS:
viewtopic.php?t=423

Please note the range of TOS versions available for your device and storage:
viewtopic.php?t=4912
So just to be sure, even if the SSH work, the file system works and is visible on the network, I have to reinstall all TOS (and my reconfig all my NAS) juste because of a TOS issues ?

That's seems a bit too much no ?

I took me 2 months to reimport all the data I had last time when i migrated from 4.X to 5.X and now i need to do it again ?

It's there any solution that could be done to just "restart TOS" or something like this ?


I appreciate your answer, if it's the only solution i'll do it but ... unwillingly