Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocketchat_1 | Error: a route URL prefix must begin with a slash #164

Open
SindenDev opened this issue Jul 8, 2022 · 2 comments
Open

rocketchat_1 | Error: a route URL prefix must begin with a slash #164

SindenDev opened this issue Jul 8, 2022 · 2 comments

Comments

@SindenDev
Copy link

rocketchat_1 | /app/bundle/programs/server/node_modules/fibers/future.js:280
rocketchat_1 | throw(ex);
rocketchat_1 | ^
rocketchat_1 |
rocketchat_1 | Error: a route URL prefix must begin with a slash
rocketchat_1 | at RoutePolicy.declare (packages/routepolicy/routepolicy.js:101:13)
rocketchat_1 | at new StreamServer (packages/ddp-server/stream_server.js:36:15)
rocketchat_1 | at new Server (packages/ddp-server/livedata_server.js:1444:24)
rocketchat_1 | at module (packages/ddp-server/server_convenience.js:6:17)
rocketchat_1 | at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat_1 | at Module.require (packages/modules-runtime.js:238:14)
rocketchat_1 | at require (packages/modules-runtime.js:258:21)
rocketchat_1 | at /app/bundle/programs/server/packages/ddp-server.js:2353:1
rocketchat_1 | at /app/bundle/programs/server/packages/ddp-server.js:2360:3
rocketchat_1 | at /app/bundle/programs/server/boot.js:401:38
rocketchat_1 | at Array.forEach ()
rocketchat_1 | at /app/bundle/programs/server/boot.js:226:21
rocketchat_1 | at /app/bundle/programs/server/boot.js:464:7
rocketchat_1 | at Function.run (/app/bundle/programs/server/profile.js:280:14)
rocketchat_1 | at /app/bundle/programs/server/boot.js:463:13
rocketchat_1 | /app/bundle/programs/server/node_modules/fibers/future.js:280
rocketchat_1 | throw(ex);
rocketchat_1 | ^
rocketchat_1 |
rocketchat_1 | Error: a route URL prefix must begin with a slash
rocketchat_1 | at RoutePolicy.declare (packages/routepolicy/routepolicy.js:101:13)
rocketchat_1 | at new StreamServer (packages/ddp-server/stream_server.js:36:15)
rocketchat_1 | at new Server (packages/ddp-server/livedata_server.js:1444:24)
rocketchat_1 | at module (packages/ddp-server/server_convenience.js:6:17)
rocketchat_1 | at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat_1 | at Module.require (packages/modules-runtime.js:238:14)
rocketchat_1 | at require (packages/modules-runtime.js:258:21)
rocketchat_1 | at /app/bundle/programs/server/packages/ddp-server.js:2353:1
rocketchat_1 | at /app/bundle/programs/server/packages/ddp-server.js:2360:3
rocketchat_1 | at /app/bundle/programs/server/boot.js:401:38
rocketchat_1 | at Array.forEach ()
rocketchat_1 | at /app/bundle/programs/server/boot.js:226:21
rocketchat_1 | at /app/bundle/programs/server/boot.js:464:7
rocketchat_1 | at Function.run (/app/bundle/programs/server/profile.js:280:14)
rocketchat_1 | at /app/bundle/programs/server/boot.js:463:13
rocketchat_rocketchat_1 exited with code 1
rocketchat_1 | /app/bundle/programs/server/node_modules/fibers/future.js:280
rocketchat_1 | throw(ex);
rocketchat_1 | ^
rocketchat_1 |
rocketchat_1 | Error: a route URL prefix must begin with a slash
rocketchat_1 | at RoutePolicy.declare (packages/routepolicy/routepolicy.js:101:13)
rocketchat_1 | at new StreamServer (packages/ddp-server/stream_server.js:36:15)
rocketchat_1 | at new Server (packages/ddp-server/livedata_server.js:1444:24)
rocketchat_1 | at module (packages/ddp-server/server_convenience.js:6:17)
rocketchat_1 | at fileEvaluate (packages/modules-runtime.js:336:7)
rocketchat_1 | at Module.require (packages/modules-runtime.js:238:14)
rocketchat_1 | at require (packages/modules-runtime.js:258:21)
rocketchat_1 | at /app/bundle/programs/server/packages/ddp-server.js:2353:1
rocketchat_1 | at /app/bundle/programs/server/packages/ddp-server.js:2360:3
rocketchat_1 | at /app/bundle/programs/server/boot.js:401:38
rocketchat_1 | at Array.forEach ()
rocketchat_1 | at /app/bundle/programs/server/boot.js:226:21
rocketchat_1 | at /app/bundle/programs/server/boot.js:464:7
rocketchat_1 | at Function.run (/app/bundle/programs/server/profile.js:280:14)
rocketchat_1 | at /app/bundle/programs/server/boot.js:463:13

@merlin-tc
Copy link

Your docker version is most likely too old.
Also make sure you use docker compose up and not docker-compose up.

@fred-storm
Copy link

Same issue with me on a fresh install.

docker version is 20.10.25
trying chat 6.3.0 with mongo 5.0 and defaults in the .env file other than adding my domain as 'https://cr.domain.net'
Screen Shot 2023-08-13 at 10 24 08 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants