Running "Museum" on port other than 8080?

Hi everyone, I am trying to install ente, but having a few problems. One of them is when I start docker, it complains that port 8080 is used by another process. Can I change this? Is it just as simple as replacing all the instances for "8080" in the
compose.yaml
compose.yaml
file? How do I uninstall it and start the process again? I assume when it comes to the "Do you want to start Ente?" I say "n" and edit the .yaml before starting it for the first time? Secondly, I get an error that sh doesn't understand the "if" statement on line 199 in the quickstart script:
E Do you want to start Ente? (y/n): y
sh: 199: [[: not found
sh: 199: y: not found
E Do you want to start Ente? (y/n): y
sh: 199: [[: not found
sh: 199: y: not found
I am trying to install this on Ubuntu Server 20.04.6 LTS. Should I force it to use bash instead?
14 Replies
Ducky
Ducky4mo ago
Remember to use /solved to mark your thread as solved once your question is answered.
Keerthana
Keerthana4mo ago
Hey there, yeah changing to use a port other than port 8080 on host can be done. You don't have to uninstall and reinstall, just changing into my-ente directory and doing a docker compose up should do the trick, will look into this, it shouldn't happen with any shells. And any reason for using 20.04? It's only receiving ESM and it's better to upgrade
chewie9999
chewie9999OP4mo ago
HI @Keerthana thank you for the reply. so I just change the compose.yaml file to change the port?
Ducky
Ducky4mo ago
-# If your issue is resolved, you can use the /solved command to close the thread. If not, use /unsolve to cancel.
chewie9999
chewie9999OP4mo ago
I'm using 20.04 as it's working fine with what I already have installed, and don't want the hassle of upgrading at the moment I do need to uninstall, as it's now complaining that the db password is wrong (a left over from my first attempt to install it). How do I uninstall it? I can't find any documentation about that
Keerthana
Keerthana4mo ago
Doing a docker compose down --volumes should remove stale volumes. Then you can restart the cluster
chewie9999
chewie9999OP4mo ago
thank you, i will try that That is a bit better, but the compose up command never finishes, and i can see the line "[GIN-debug] Listening and serving HTTP on :8080", which is already in use, even though I changed all the port 8080s I found in the compose files. port 3000 is listening as I get a login prompt, but I have no credentials to use - there's no verification code in the logs
Jarred-Awesome
Jarred-Awesome4mo ago
I had the same issue. I have it posted here https://discord.com/channels/948937918347608085/1394874413006065755 changing all the instances of 8080 won’t work. Also, I find that changes didn’t take place until I typed docker compose build after changing the compose.yaml file
chewie9999
chewie9999OP4mo ago
aah, thanks, it looks like I should only change one of the "8080" values hmm, still not working, sigh 😦
Jarred-Awesome
Jarred-Awesome4mo ago
go into the my-ente dir and try the following:
docker compose down
docker compose build
docker compose up
docker compose down
docker compose build
docker compose up
leave the program running while you test everything out on your host. once it runs the way you want, you can cmd + c to turn off the server, then type docker compose up -d to have it run in the background
chewie9999
chewie9999OP4mo ago
yeah, i did that, but I can't see any mention in the logs of how to log in 😦 when ive used docker before, once it's loaded with "docker compose up" i get the command prompt back, so something's still not right right now it's just sitting in the foreground, i guess waiting for something to complete 😦
Jarred-Awesome
Jarred-Awesome4mo ago
Can you send a screenshot of what you mean? Also, does it give you any errors when you do docker compose build ?
chewie9999
chewie9999OP4mo ago
will do later. no errors when doing a "docker compose build"
O'Neill
O'Neill3mo ago
You should probably familiarize yourself a little bit with docker and docker compose before selfhosting ente. Networkchuck on yt has some very good videos: E.g: https://www.youtube.com/watch?v=DM65_JyGxCo
NetworkChuck
YouTube
Docker Compose will BLOW your MIND!! (a tutorial)
We don’t live in Docker containers, keep yourself safe with Bitdefender Premium Security: https://bit.ly/BitdefenderNC (59% discount on a 1 year sub) Stop spinning up Docker Containers like your grandparents, use Docker Compose instead! No more worrying about typing a million commands to get your whole Docker network and Containers running,...

Did you find this page helpful?