ex0nuss / Remote-Wake-Sleep-On-LAN-Docker

A docker image of sciguy14/Remote-Wake-Sleep-On-LAN-Server
GNU General Public License v3.0
34 stars 16 forks source link

HTTP ERROR 500 #7

Open pratik5705 opened 2 years ago

pratik5705 commented 2 years ago

Hi. I am running this docker image using the suggested Docker Compose code, except that I have changed the port from default 8080 to 8280. But when I try to access the web interface, I get HTTP ERROR 500.

pratik5705 commented 2 years ago

Here is the log from portainer.

search_and_replace REPLACE_RWSOLS_COMPUTER_IP with "192.168.0.14" search_and_replace REPLACE_RWSOLS_COMPUTER_MAC with "<>" search_and_replace REPLACE_RWSOLS_COMPUTER_NAME with "<>" search_and_replace REPLACE_RWSOLS_MAX_PINGS with 15 search_and_replace REPLACE_RWSOLS_SLEEP_CMD with suspend search_and_replace REPLACE_RWSOLS_SLEEP_PORT with 7760 search_and_replace REPLACE_RWSOLS_SLEEP_TIME with 5 search_and_replace port 8080 with 8280 Starting Apache2: /usr/sbin/apache2ctl -D FOREGROUND AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message search_and_replace port 8080 with 8280 Starting Apache2: /usr/sbin/apache2ctl -D FOREGROUND AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

Lunatory commented 2 years ago

I'm experiencing the same issue. (running on unRAID)

search_and_replace REPLACE_RWSOLS_COMPUTER_IP with 10.0.0.13 search_and_replace REPLACE_RWSOLS_COMPUTER_MAC with [Redacted] search_and_replace REPLACE_RWSOLS_COMPUTER_NAME with Desktop search_and_replace REPLACE_RWSOLS_MAX_PINGS with 15 search_and_replace REPLACE_RWSOLS_SLEEP_CMD with suspend search_and_replace REPLACE_RWSOLS_SLEEP_PORT with 7760 search_and_replace REPLACE_RWSOLS_SLEEP_TIME with 5 search_and_replace port 8080 with 9999 Starting Apache2: /usr/sbin/apache2ctl -D FOREGROUND AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

ex0nuss commented 2 years ago

@pratik5705 @Lunatory Hi, thx for opening up this issue and attaching the logs!

Could you please post your docker-compose.yaml files?

jeremy-peng commented 2 years ago

I have the same issue:

even I don't change the port 8080, can't open the web either.

AemonCao commented 2 years ago

I also had the same problem, this is my run command:

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='RWSOL-Server' --net='host' -e TZ="Asia/Shanghai" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Tower" -e HOST_CONTAINERNAME="RWSOL-Server" -e 'TCP_PORT_9999'='9999' -e 'RWSOLS_COMPUTER_NAME'='PC' -e 'RWSOLS_COMPUTER_MAC'='E0:D5:5E:8E:1A:70' -e 'RWSOLS_COMPUTER_IP'='192.168.1.225' -e 'APACHE2_PORT'='9999' -e 'PASSPHRASE'='unRAID' -e 'RWSOLS_MAX_PINGS'='15' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:9999]/' -l net.unraid.docker.icon='https://raw.githubusercontent.com/SmartPhoneLover/unraid-docker-templates/main/templates/icons/rwsol-server.png' 'ex0nuss/remote-wake-sleep-on-lan-docker'
glassman81 commented 2 years ago

Getting the same exact HTTP error 500 as everyone else. The logs only talk about the fqdn issue that everyone else has posted here. They don't say anything helpful. Here is my docker run command:

docker run --name rwsols-web_frontend --net host -d \ -e APACHE2_PORT=80 \ -e RWSOLS_COMPUTER_NAME="David's Desktop","David's Server" \ -e RWSOLS_COMPUTER_MAC="AC-67-5D-87-85-98","A8-A1-59-02-79-FA" \ -e RWSOLS_COMPUTER_IP="10.10.10.184","10.10.10.185" \ --restart unless-stopped \ ex0nuss/remote-wake-sleep-on-lan-docker

On another note, it seems papaux's docker image - which is also based off of sciguy14's rwsols project - seems to be working. I'm not sure why there's an HTTP error when attempting to configure ex0nuss's image, but it would be nice to use this one instead as it seems to be updated more frequently.

sideh commented 1 year ago

Hello,

I am having the same same issue, below is the Docker Run commands. docker run -d \ --name=frontend-rwsols \ --network=host \ -e APACHE2_PORT=8080 \ -e PASSPHRASE=cheesecake \ -e RWSOLS_COMPUTER_NAME="Daedalus Game Server" \ -e RWSOLS_COMPUTER_MAC="D8-5E-D3-A1-27-6F" \ -e RWSOLS_COMPUTER_IP="192.168.1.107"\ --restart unless-stopped \ ex0nuss/remote-wake-sleep-on-lan-docker

aNTa-ca commented 1 year ago

Had this issue when I added a computer name with a space to -e RWSOLS_COMPUTER_NAME . Cleared after adding a dash instead of space.