Error back again after reboot Jul 26 13:50:41 NFTNAS webdav[98436]: [DEBUG /bin/bash -c tersql -sql "SELECT * FROM acl_host where service = 'webdav'"]
Jul 26 13:50:41 NFTNAS webdav[98436]: 2025/07/26 13:50:41 2025/07/26 13:50:41 failed to connect to `user=terramaster database=tos`: 127.0.0.1:5032 (127.0.0.1): dial error: dial tcp 127.0.0.1:5032: connect: connection refused
Jul 26 13:50:41 NFTNAS webdav[98436]: : exit status 1
Jul 26 13:50:41 NFTNAS systemd[1]: webdav.service: Main process exited, code=exited, status=1/FAILURE
Jul 26 13:50:41 NFTNAS systemd[1]: tnas-storage-device-tool.service: Scheduled restart job, restart counter is at 139.
Jul 26 13:50:41 NFTNAS systemd[1]: Stopped TNAS Storage Device Tool.
Jul 26 13:50:41 NFTNAS systemd[1]: tnas-storage-device-tool.service: Consumed 1.219s CPU time.
Jul 26 13:50:41 NFTNAS systemd[1]: Starting TNAS Storage Device Tool...
Jul 26 13:50:42 NFTNAS msgcenter[98416]: 2025/07/26 13:50:42 dial tcp 127.0.0.1:6379: connect: connection refused
Jul 26 13:50:42 NFTNAS systemd[1]: msg.service: Main process exited, code=exited, status=1/FAILURE
Jul 26 13:50:42 NFTNAS systemd[1]: msg.service: Failed with result 'exit-code'.
Jul 26 13:50:42 NFTNAS systemd[1]: webdav.service: Failed with result 'exit-code'.
Jul 26 13:50:42 NFTNAS systemd[1]: webdav.service: Consumed 1.035s CPU time.
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: 2025/07/26 13:50:43 ERROR redis err: !BADKEY="dial tcp 127.0.0.1:6379: connect: connection refused"
Jul 26 13:50:43 NFTNAS twm_authentication[98440]:
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: 2025/07/26 13:50:43 /home/test/go/pkg/mod/gitlab.local/golibrary/
[email protected]/sqlitedb/sqlitedb.go:40
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: [error] failed to initialize database, got error failed to connect to `host=127.0.0.1 user=terramaster database=tos`: dial error (dial tcp 127.0.0.1:5032: connect: connection refused)
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: 2025/07/26 13:50:43 ERROR database err: !BADKEY="New: failed to connect to `host=127.0.0.1 user=terramaster database=tos`: dial error (dial tcp 127.0.0.1:5032: connect: connection refused)\n1. New\n 1). gitlab.local/golibrary/middleware/sqlitedb.New\n \t/home/test/go/pkg/mod/gitlab.local/golibrary/
[email protected]/sqlitedb/sqlitedb.go:58\n 2). gitlab.local/golibrary/middleware.New\n \t/home/test/go/pkg/mod/gitlab.local/golibrary/
[email protected]/middleware.go:31\n 3). app_proxy_capture/http.Router\n \t/buildAgent/work/340e6653b5ba6ded/cmd/app_proxy_capture/http/http.go:33\n 4). app_proxy_capture/http.NewObj\n \t/buildAgent/work/340e6653b5ba6ded/cmd/app_proxy_capture/http/http.go:24\n 5). main.main\n \t/buildAgent/work/340e6653b5ba6ded/cmd/app_proxy_capture/appProxyCapture.go:6\n2. failed to connect to `host=127.0.0.1 user=terramaster database=tos`: dial error (dial tcp 127.0.0.1:5032: connect: connection refused)\n"
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: panic: runtime error: invalid memory address or nil pointer dereference
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xc002d2]
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: goroutine 1 [running]:
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: gitlab.local/golibrary/middleware/redisdb.(*RedisDb).DbGet(...)
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: /home/test/go/pkg/mod/gitlab.local/golibrary/
[email protected]/redisdb/redis_model.go:9
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: gitlab.local/golibrary/middleware.New()
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: /home/test/go/pkg/mod/gitlab.local/golibrary/
[email protected]/middleware.go:37 +0x112
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: app_proxy_capture/http.Router(0xc0000e4680)
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: /buildAgent/work/340e6653b5ba6ded/cmd/app_proxy_capture/http/http.go:33 +0x71
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: app_proxy_capture/http.NewObj()
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: /buildAgent/work/340e6653b5ba6ded/cmd/app_proxy_capture/http/http.go:24 +0x7f
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: main.main()
Jul 26 13:50:43 NFTNAS twm_authentication[98440]: /buildAgent/work/340e6653b5ba6ded/cmd/app_proxy_capture/appProxyCapture.go:6 +0xf
Jul 26 13:50:43 NFTNAS systemd[1]: twm_authentication.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jul 26 13:50:43 NFTNAS systemd[1]: twm_authentication.service: Failed with result 'exit-code'.
Jul 26 13:50:43 NFTNAS TOSDaemon[98413]:
Jul 26 13:50:43 NFTNAS TOSDaemon[98413]: 2025/07/26 13:50:43 /home/test/go/pkg/mod/gitlab.local/!d!o-module/
[email protected]/src/core/sqlitedb/sqlitedb.go:40
Jul 26 13:50:43 NFTNAS TOSDaemon[98413]: [error] failed to initialize database, got error failed to connect to `user=terramaster database=tos`: 127.0.0.1:5032 (127.0.0.1): dial error: dial tcp 127.0.0.1:5032: connect: connection refused
Jul 26 13:50:43 NFTNAS TOSDaemon[98413]: 2025/07/26 13:50:43 pkg.go:57: New: failed to connect to `user=terramaster database=tos`: 127.0.0.1:5032 (127.0.0.1): dial error: dial tcp 127.0.0.1:5032: connect: connection refused
Jul 26 13:50:43 NFTNAS systemd[1]: TOSDaemon.service: Main process exited, code=exited, status=1/FAILURE
Jul 26 13:50:43 NFTNAS systemd[1]: TOSDaemon.service: Failed with result 'exit-code'.
Jul 26 13:50:43 NFTNAS systemd[1]: TOSDaemon.service: Consumed 3.292s CPU time.
^C