retspen / webvirtcloud

WebVirtCloud is virtualization web interface for admins and users
1.67k stars 371 forks source link

Ubuntu 20.04, installed using instal.sh. Getting a 501 bad gateway error #589

Open jwaltrip4 opened 1 year ago

jwaltrip4 commented 1 year ago

I am not sure where to begin on troubleshooting this. help? :)

sandaruwanbandara commented 1 year ago

Check supervisor daemon status.if it shows webvirtcloud is running check your nginx configuration

jwaltrip4 commented 1 year ago

Sorry for the dumb question... do you mean the service? Systemctl status?

The supervisor service is not running

Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Sandaruwan @.> Sent: Saturday, July 1, 2023 1:51:47 AM To: retspen/webvirtcloud @.> Cc: James W Waltrip IV @.>; Author @.> Subject: Re: [retspen/webvirtcloud] Ubuntu 20.04, installed using instal.sh. Getting a 501 bad gateway error (Issue #589)

Check supervisor daemon status.if it shows webvirtcloud is running check your nginx configuration

— Reply to this email directly, view it on GitHubhttps://github.com/retspen/webvirtcloud/issues/589#issuecomment-1615523967, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVZGBQQCFR3KIENGCLD57LXN63HHANCNFSM6AAAAAAZ2LQUHQ. You are receiving this because you authored the thread.Message ID: @.***>

sandaruwanbandara commented 1 year ago

did you run install.sh script ?

jwaltrip4 commented 1 year ago

Yes

Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Sandaruwan @.> Sent: Saturday, July 1, 2023 3:17:09 AM To: retspen/webvirtcloud @.> Cc: James W Waltrip IV @.>; Author @.> Subject: Re: [retspen/webvirtcloud] Ubuntu 20.04, installed using instal.sh. Getting a 501 bad gateway error (Issue #589)

did you run install.sh script ?

— Reply to this email directly, view it on GitHubhttps://github.com/retspen/webvirtcloud/issues/589#issuecomment-1615587264, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVZGBXQQJCEXIKTIAE2DM3XN7FHLANCNFSM6AAAAAAZ2LQUHQ. You are receiving this because you authored the thread.Message ID: @.***>

sandaruwanbandara commented 1 year ago

check configuration file of supervisor daemon sudo nano /etc/supervisord.conf

there should be following section [program:webvirtcloud] [program:novncd]

then start supervisor sudo systemctl start supervisor

add it to startup service list sudo systemctl enable supervisor

supervisor will start your webvirtcloud,to check it sudo supervisorctl status

application should be run without error,I think error should be 502 not 501

jwaltrip4 commented 1 year ago

/etc/supervisord.conf is empty…

From: Sandaruwan @.> Sent: Saturday, July 1, 2023 10:37 AM To: retspen/webvirtcloud @.> Cc: James W Waltrip IV @.>; Author @.> Subject: Re: [retspen/webvirtcloud] Ubuntu 20.04, installed using instal.sh. Getting a 501 bad gateway error (Issue #589)

check configuration file of supervisor daemon sudo nano /etc/supervisord.conf

there should be following section [program:webvirtcloud] [program:novncd]

then start supervisor sudo systemctl start supervisor

add it to startup service list sudo systemctl enable supervisor

supervisor will start your webvirtcloud,to check it sudo supervisorctl status

application should be run without error,I think error should be 502 not 501

— Reply to this email directly, view it on GitHub https://github.com/retspen/webvirtcloud/issues/589#issuecomment-1615942665 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADVZGBUA424Q2VKAX34WFD3XOAYXVANCNFSM6AAAAAAZ2LQUHQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ADVZGBQ7V4KR7SBDAYH7VKTXOAYXVA5CNFSM6AAAAAAZ2LQUHSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTAKFKAS.gif Message ID: @. @.> >

sandaruwanbandara commented 1 year ago

Sorry in ubuntu configuration file located in "/etc/supervisor/conf.d/webvirtcloud.conf" check install.sh line 354-356

jwaltrip4 commented 1 year ago

Heh :)

Out abd about. Will. Hekc when i return. Thanks

Pretty sure that supervisor service no running

Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Sandaruwan @.> Sent: Saturday, July 1, 2023 1:10:41 PM To: retspen/webvirtcloud @.> Cc: James W Waltrip IV @.>; Author @.> Subject: Re: [retspen/webvirtcloud] Ubuntu 20.04, installed using instal.sh. Getting a 501 bad gateway error (Issue #589)

Sorry in ubuntu configuration file located in "/etc/supervisor/conf.d/webvirtcloud.conf" check install.sh line 354-356

— Reply to this email directly, view it on GitHubhttps://github.com/retspen/webvirtcloud/issues/589#issuecomment-1616003031, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVZGBRYPCCJQDQ3762KYL3XOBKZDANCNFSM6AAAAAAZ2LQUHQ. You are receiving this because you authored the thread.Message ID: @.***>