zadam / trilium

Build your personal knowledge base with Trilium Notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Bug report) /assets/v0.57.2/app-dist/desktop.js net::ERR_ABORTED 404 (Not Found)

wangxinpier opened this issue · comments

Trilium Version

0.57.2

What operating system are you using?

Other Linux

What is your setup?

Server access only

Operating System Version

synology nas

Description

image

image

image

the same problem ……

same here, the macOS client works and can trigger a sync. But can not access it from the browsers anymore.
Screenshot 2022-12-02 at 11 35 17

Trilium Version

0.57.2

What operating system are you using?

CentOS 8

What is your setup?

Serverside Docker deploy and desktop client

Logs:

Generated CSRF token yHHWTlgW-8V7_eDeCRKrX4TToOd9slb8aPDE with secret undefined
Error: Router not found for request /manifest.webmanifest
    at /usr/src/app/src/app.js:92:17
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12) {
  status: 404
}
Error: Router not found for request /assets/v0.57.2/app-dist/desktop.js
    at /usr/src/app/src/app.js:92:17
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12) {
  status: 404
}
Generated CSRF token WzSID4iW-CVH8HDQzf63pQPFH2HNSMiWqEhM with secret undefined
Error: Router not found for request /manifest.webmanifest
    at /usr/src/app/src/app.js:92:17
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12) {
  status: 404
}
Generated CSRF token EHqGl9Sr-8tVvnBW5YCANJH6GCSJ7ZPU-KuE with secret undefined
Error: Router not found for request /manifest.webmanifest
    at /usr/src/app/src/app.js:92:17
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12) {
  status: 404
}
Generated CSRF token F71Pjykl-y_F1WB1nXxgKwijGhgy0u0juKrg with secret undefined
Error: Router not found for request /manifest.webmanifest
    at /usr/src/app/src/app.js:92:17
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12) {
  status: 404
}
Generated CSRF token siT9RZsU-XkMZoX8po57S-Qh7UTSGW-MFUTo with secret undefined
Error: Router not found for request /manifest.webmanifest
    at /usr/src/app/src/app.js:92:17
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
    at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
    at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
    at /usr/src/app/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12) {
  status: 404
}

same here... could it be resolved with rolling back to 0.56.2?

@zhang-stephen rollback to 0.56.2, everything is OK

@zhang-stephen rollback to 0.56.2, everything is OK

Rolled back too and it worked like a charm XD

Same here but work with app.

Error: Router not found for request /manifest.webmanifest
at /usr/src/app/src/app.js:92:17
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
at /usr/src/app/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:91:12)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:328:13)
at /usr/src/app/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12) {
status: 404
}

It seems that bundled app-dist code is missing entirely from the container:

11:09:05 [~/Code/trilium] git:(v0.57.2):dirty
richard@arch 130 $ docker run --rm -ti --entrypoint=sh zadam/trilium:0.57.2
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
/usr/src/app # ls -l src/public/
total 8
drwxr-xr-x    1 root     root           140 Dec  1 21:57 app
drwxr-xr-x    1 root     root           134 Dec  1 21:57 fonts
-rw-r--r--    1 root     root           313 Dec  1 21:56 manifest.webmanifest
-rw-r--r--    1 root     root            41 Dec  1 21:56 robots.txt
drwxr-xr-x    1 root     root           220 Dec  1 21:57 stylesheets
/usr/src/app #

@zadam @wangxinpier Please close this issue as it was fixed by #3375. The fix is included in 0.57.3.