mongo-gui icon indicating copy to clipboard operation
mongo-gui copied to clipboard

ENOENT: no such file or directory

Open ralcorta opened this issue 3 years ago • 3 comments

Hi, I'm creating a docker-compose.yml file but when I use the compose configuration from the doc, I have this error message:

mongo-gui_1 | [Error: ENOENT: no such file or directory, stat '/app../public/index.html'] { mongo-gui_1 | errno: -2, mongo-gui_1 | code: 'ENOENT', mongo-gui_1 | syscall: 'stat', mongo-gui_1 | path: '/app../public/index.html', mongo-gui_1 | expose: false, mongo-gui_1 | statusCode: 404, mongo-gui_1 | status: 404 mongo-gui_1 | }

What's going on? What can I do to fix it?

ralcorta avatar Aug 06 '21 21:08 ralcorta

It seems like there is a bug in server.js in this line app.get('/', (req, res) => res.sendFile(__dirname + '../public/index.html'));. This has been fixed in the latest commit but I believe it hasn't build the latest docker image

josephlim75 avatar Aug 19 '21 21:08 josephlim75

I'm going to rebuild the docker image myself with the latest code to see if it fixed

josephlim75 avatar Aug 19 '21 21:08 josephlim75

After rebuilding the docker image with the latest commit, it works :)

image

josephlim75 avatar Aug 20 '21 03:08 josephlim75

not fixed, where new images on dockerhub?

AndrewMarchukov avatar Dec 08 '23 00:12 AndrewMarchukov