Page 1 of 1

[Help] How to mount encrypted shares via CLI  [SOLVED]

Posted: 12 Nov 2025, 14:39
by chris0478
Hi,

unfortunatley I cannot use my WEB IF anymore. I can login via the terminal. I'm running TOS6 and want to mount my encrypted Volume via the Command Line. How to do this?

Best regards

Christian

Re: [Help] How to mount encrypted shares via CLI

Posted: 12 Nov 2025, 16:40
by CursaYang
Hello, mounting an encrypted shared folder requires entering a key.
Is there any error message when accessing the web page? What is the status of the TNAS PC finding the NAS?

Re: [Help] How to mount encrypted shares via CLI

Posted: 12 Nov 2025, 17:15
by chris0478
Hi, I know that I have to enter the key.

This morning I had an issue with my F4-421. I get an error from the nginx and cannot login anymore via the WebIF. I tried several Browsers and deleted the cache. Before reinstalling TOS I want to backup my data via an external HDD and copying from the shell. I can login via the console (HDMI and external Keyboard connected) I'm used to Linux.

Could you please tell me the command for mounting the encrypted Volume?

By the way: Where can I download the Installation package for TOS6 Form my F4-421

Best regards

Christian

Re: [Help] How to mount encrypted shares via CLI

Posted: 13 Nov 2025, 09:53
by TMzethar
We currently do not have a method to mount encrypted shared folders through commands. Perhaps we can first troubleshoot and resolve the issue where TOS Web is not functioning, and then you can mount the encrypted shared folder via TOS Web.
Please let me know what TOS version you are currently using.

Code: Select all

cat /usr/lib/version
Please enter the following command to check some potentially relevant information:

Code: Select all

findmnt
lsblk
du -s /etc/* |sort -rn | head -n 5
systemctl status TOSDaemon.service
systemctl status [email protected] | head -n 10
systemctl status redis.service
ll /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2

Re: [Help] How to mount encrypted shares via CLI

Posted: 13 Nov 2025, 12:10
by chris0478
Hi TMzethar,

thank you very much for your help. I'm running TOS_X642.0_6.0.783

Only the redis service is running. TOS.Daemon and postgres are failed to start. I don't know why. The day before the technical isssue ("502 Bad Gateway") I installed portainer ans tested some docker containers (only running with user privileges)


Image

Image

Best regards
chris

Re: [Help] How to mount encrypted shares via CLI

Posted: 13 Nov 2025, 17:34
by CursaYang
You can try restarting TOSDaemon and postgresql manually using the following two commands.

Code: Select all

systemctl restart TOSDaemon.service
systemctl restart [email protected]
You can also use the following installation package to reinstall version 6.0.783

https://download3.terra-master.com/TOS% ... 170918.ins

Re: [Help] How to mount encrypted shares via CLI

Posted: 15 Nov 2025, 15:39
by chris0478
Hi, the system is asking for a bootloader, Could you provide me please the corresponding bootloader?

Re: [Help] How to mount encrypted shares via CLI

Posted: 15 Nov 2025, 21:55
by chris0478
Hi, sorry - I found it and downloaded it via online. System is running again. Thx for the system and help