TOS 4.2.16 is released for update!
Re: TOS 4.2.16 is released for update!
{L_BUTTON_AT}Budo68
Hi! Judging from your screenshot, there is an error in the system. It is recommended that you reinstall the system.
viewtopic.php?f=75&t=423To 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, RMA service)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
- Saijin_Naib
- Posts: 79
- Joined: 23 Jun 2021, 01:19
Re: TOS 4.2.16 is released for update!
Worked great on my F2-210, so thanks for that!
Only a few settings got reset, namely my port for secure HTTPS access and SMB Workgroup name.
Only a few settings got reset, namely my port for secure HTTPS access and SMB Workgroup name.
Re: TOS 4.2.16 is released for update!
Hi.
How can i upgrade my TOS via SSH *without* wiping my data because i got:
"502 Bad Gateway
nginx/1.18.0"
Regards myrix
How can i upgrade my TOS via SSH *without* wiping my data because i got:
"502 Bad Gateway
nginx/1.18.0"
Regards myrix
Re: TOS 4.2.16 is released for update!
Hi,
If you get a 502 bad gateway error and you cannot log in to the TOS webpage after updating TOS,It may be that the nginx service has not been activated successfully. you can try to log in using SSH, and then restart nginx by referring to the following command to manually start the service.
/etc/init.d/nginx stop
/etc/init.d/nginx start
If you get a 502 bad gateway error and you cannot log in to the TOS webpage after updating TOS,It may be that the nginx service has not been activated successfully. you can try to log in using SSH, and then restart nginx by referring to the following command to manually start the service.
/etc/init.d/nginx stop
/etc/init.d/nginx start
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, RMA service)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Re: TOS 4.2.16 is released for update!
bash /etc/init.d/nginx stopTMnorah wrote: ↑17 Oct 2021, 13:17 Hi,
If you get a 502 bad gateway error and you cannot log in to the TOS webpage after updating TOS,It may be that the nginx service has not been activated successfully. you can try to log in using SSH, and then restart nginx by referring to the following command to manually start the service.
/etc/init.d/nginx stop
/etc/init.d/nginx start
/etc/init.d/functions: line 611: /var/log/scripts.log: Permission denied
rm: remove write-protected regular file '/var/run/nginx.pid'?
bash /etc/init.d/nginx start
start-stop-daemon: unable to open pidfile '/var/run/nginx.pid' for writing (Permission denied)
start-stop-daemon: child returned error exit status 2 (Permission denied)
/etc/init.d/functions: line 611: /var/log/scripts.log: Permission denied
bash sudo /etc/init.d/nginx restart
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:64
Tryin to connect via https:
Fehlercode: SSL_ERROR_RX_RECORD_TOO_LONG
//************//
/var/log/nginx/error.log
2021/10/17 16:59:16 [warn] 2562#2562: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:64
2021/10/17 17:00:01 [crit] 2587#2587: *1 connect() to unix:/tmp/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.178.24, server: znasnginx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "192.168.178.27:8181", referrer: "192.168.178.27/"
2021/10/17 17:00:01 [error] 2587#2587: *3 open() "/usr/www/favicon.ico" failed (2: No such file or directory), client: 192.168.178.24, server: znasnginx, request: "GET /favicon.ico HTTP/1.1", host: "192.168.178.27:8181", referrer: "192.168.178.27:8181/"
/var/log/scripts.log
2021-10-17 16:59:10|unnpd|stop unnpd failed|1
2021-10-17 16:59:16|nginx|run nginx success|0
2021-10-17 16:59:59|samba|run samba success|0
2021-10-17 17:00:01|samba|run samba success|0
Regards
Re: TOS 4.2.16 is released for update!
{L_BUTTON_AT}myrix
Hi! You cannot restart nginx directly, you need to stop nginx first, and then start nginx.
Code: Select all
sudo /etc/init.d/nginx stop
Code: Select all
sudo /etc/init.d/nginx start
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, RMA service)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Re: TOS 4.2.16 is released for update!
Hi,
executable without problems, but still 502 ;(
//************//
/etc/nginx/nginx.conf
Regards
Code: Select all
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx start
//************//
/etc/nginx/nginx.conf
Code: Select all
user root root;
worker_processes 4;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
worker_rlimit_nofile 51200;
events {
use epoll;
worker_connections 512;
}
http {
include mime.types;
#include fastcgi.conf;
default_type application/octet-stream;
#fastcgi_cache_path /tmp/php_cache levels=1:2 keys_zone=cache_php:30m inactive=10s max_size=64m;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
include nginx-http.conf;
upstream unix_php_cgi_sock{
server unix:/tmp/php-fpm.sock;
}
#HTTP server
server {
listen 8181;
include nginx-ipv6.conf;
server_name znasnginx;
root /usr/www/;
index index.html index.htm index.php;
access_log /var/log/nginx/access.log;
#error_page 404 /404.html;
include conf.d/*.conf;
include nginx-extend.conf;
# phpBB3, important Flag...don't delete me!!!
location ~ \.php(.*)$ {
keepalive_timeout 75;
fastcgi_pass unix_php_cgi_sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
fastcgi_param HTTPS off;
}
}
#HTTP server
#HTTPS server
server {
listen 5443;
include nginx-ipv6-https.conf;
server_name znasnginx;
root /usr/www/;
index index.html index.htm index.php;
ssl on;
ssl_certificate /etc/nginx/tnas.link.crt;
ssl_certificate_key /etc/nginx/tnas.link.key;
access_log /var/log/nginx/access.log;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE;
ssl_prefer_server_ciphers on;
include conf.d/*.conf;
include nginx-extend.conf;
location ~ \.php(.*)$ {
keepalive_timeout 75;
fastcgi_pass unix_php_cgi_sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
fastcgi_param HTTPS on;
}
}
#HTTPS server
}
Re: TOS 4.2.16 is released for update!
{L_BUTTON_AT}myrix
Hi! Please try to restart the PHP service.
Code: Select all
sudo /etc/init.d/php-fpm restart
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, RMA service)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
- scoobyfizz
- Posts: 104
- Joined: 10 Jun 2020, 15:37
Re: TOS 4.2.16 is released for update!
People should not be getting errors everytime they update, they also should certainly not be having to SSH to their nas and correct things..
Anyhow I will take my hat and leave now as my terramaster has gone to someone on ebay who does not know what they have let themselves in for.. and once again.. admins please delete my account...
Anyhow I will take my hat and leave now as my terramaster has gone to someone on ebay who does not know what they have let themselves in for.. and once again.. admins please delete my account...
Best thing I ever did was ebay my Terramaster...
Re: TOS 4.2.16 is released for update!
Hi,
Password:
/etc/init.d/php-fpm: line 13: /etc/profile: No such file or directory
//************//
vi /etc/profile
%empty%
Regards
-bash-4.4$ sudo /etc/init.d/php-fpm restart
Password:
/etc/init.d/php-fpm: line 13: /etc/profile: No such file or directory
//************//
vi /etc/profile
%empty%
Regards