hamlinzheng / docker-zerotier-server

44 stars 11 forks source link

缺少authtoken.secret文件,不能搭建成功 #7

Closed lhbdhr closed 6 months ago

lhbdhr commented 1 year ago
# docker logs zero-ui

node:internal/fs/utils:347
    throw err;
    ^

Error: ENOENT: no such file or directory, open '/var/lib/zerotier-one/authtoken.secret'
    at Object.openSync (node:fs:594:3)
    at Object.readFileSync (node:fs:462:35)
    at Object.<anonymous> (/app/backend/utils/controller-api.js:10:14)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/app/backend/utils/ping.js:1:13) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/var/lib/zerotier-one/authtoken.secret'
}