Closed rdagger closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Hi Bro,
you could run commnad like below:
docker run -d \ --name=snipe-it \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Etc/UTC \ -e APP_URL=http://iphost:8080 \ -e MYSQL_PORT_3306_TCP_ADDR=snipeit-mysql \ -e MYSQL_PORT_3306_TCP_PORT=3306 \ -e MYSQL_DATABASE=snipeit \ -e MYSQL_USER=snipeit \ -e MYSQL_PASSWORD=snipeit \ -p 8080:80 \ -v /path/to/data:/config \ --restart unless-stopped \ lscr.io/linuxserver/snipe-it:latest
When container already running, you shoult wait 15mins then access to website
I used your command above and I waited 23 minutes before accessing the website after the container was running. I got the exact same message.
I used your command above and I waited 23 minutes before accessing the website after the container was running. I got the exact same message.
Just lick Next and repeat some time, it will pass this error
I clicked on the "Next" button multiple times, but each time, the screen displayed an error message that read "500 Server Error". This happened ten times in a row.
I clicked on the "Next" button multiple times, but each time, the screen displayed an error message that read "500 Server Error". This happened ten times in a row.
you could clear cache and access with Incognito mode.
I tried clearing the cache and incognito mode. I also tried a different computer and a different Synology. I spent several hours experimenting trying to get it to work.
Sorry, but I'm giving up and going back to the official Snipe-It docker container. I've tested it with multiple configurations and databases and it just works every time. Thank you very much for your help.
Is there an existing issue for this?
Current Behavior
Set up page gives an invalid URL message: Uh oh! Snipe-IT thinks your URL is http://10.10.0.99:8080, but your real URL is http://10.10.0.99/setup Please update your APP_URL settings in your .env file
Here are my docker run parameters:
The same parameters work OK with the official Snipe-it docker container.
There was another bug filed last week but it was closed for not following your required templates: https://github.com/linuxserver/docker-snipe-it/issues/56
I am making an effort to follow the templates. The previous issue was on a Windows environment as opposed to Synology.
Expected Behavior
setup page should show a valid URL
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs