ronivay / XenOrchestraInstallerUpdater

Xen Orchestra install/update script
GNU General Public License v3.0
1.16k stars 189 forks source link

Full instance not loaded, shows "Still loading", no menu interface working #140

Closed anndix closed 1 year ago

anndix commented 1 year ago

Debian 10: I tried with Debian 11 first v16.16.0: node -v 1.22.19: yarn -v

Server specs 16vCPU 4GB RAM

Issue After install, the interface loads up with only 4 left menu options "Home", "Dashboard", "XOA", "Tasks". None of the menu options work, clicking on any option doesn't refresh or update any info on screen. Screenshot attached.

The info on right side keeps showing "Still loading"

Installation logfile Attach complete log as a file. xo-install.log-202208140252.log

Any help would be highly appreciated. Screenshot 2022-08-14 at 3 06 26 AM

ronivay commented 1 year ago

Hi,

can’t spot any issues from installation logs. do you see any errors in xo-server log when refreshing GUI? journalctl -u xo-server -n -100 for example.

anndix commented 1 year ago

I found a strange solution. Both on Chrome and Safari show the same screen. However when i open the interface on firefox it works. I have tried to remove cache and do all combinations to try and solve, but the issue remains on chrome and safari. I have stock XOA free version VM as well, it opens properly on the same browsers.

journalctl -u xo-server -n -100

The above command throws the below error:

journalctl: invalid option -- '1'

Thanks

ronivay commented 1 year ago

journalctl -u xo-server -n -100

The above command throws the below error:

journalctl: invalid option -- '1'

Sry my typo, just 100 without the -

I need to test if i'm able to reproduce this issue with chrome/safari.

anndix commented 1 year ago

No error, just below 2 lines in logs.

Aug 15 09:53:40 mgm xo-server[509]: 2022-08-15T04:23:40.995Z xo:main INFO - Console proxy (admin - ::ffff:223.233.64.152) Aug 15 14:47:49 mgm xo-server[509]: 2022-08-15T09:17:49.964Z xo:main INFO + Console proxy (admin - ::ffff:223.233.64.152)

Thanks for your help, appreciate it.

ronivay commented 1 year ago

Hi,

Are you still experiencing this issue? I'm unable to reproduce it on firefox, chrome or safari. I see that you used the new ACME feature for Let's Encrypt certificate. Could you try without it or even with just HTTP to see if it's related. Anyway if this still happens, you should try to look into chrome/safari developer console for hints why parts of the page aren't loading properly.

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

3rdcycle commented 1 year ago

Same issue here. Works fine in Firefox but not in Safari / Chrome. The web console shows

WebSocket network error: OSStatus Error -9807: Invalid certificate chain

This is a test instance and I'm using a self generated certificate.

anndix commented 1 year ago

Issue persists. Unable to load it in Safari and Chrome. Only works in Firefox.

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

anndix commented 1 year ago

Hi,

Is there a way I can generate a letsencrypt certificate and install myself ? Maybe that will remove the error ?

Thanks

Anand Gupta

ronivay commented 1 year ago

Hi,

Is there a way I can generate a letsencrypt certificate and install myself ? Maybe that will remove the error ?

Thanks

Anand Gupta

Sure. This repo wiki has instructions how certificates are configured. LE certificate you can get with eq. certbot which has it's own documentation available.

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

ronivay commented 1 year ago

sorry for long delay on this. i haven't found enough time to debug this issue. any help from the community is highly appreciated.

anndix commented 1 year ago

sorry for long delay on this. i haven't found enough time to debug this issue. any help from the community is highly appreciated.

Hi,

If you can help guide which log files to check while loading interface i would want to try it out. If the logs aren't enabled by default then maybe we can enable logging and then debug what exactly happens when the respective browser loads the interface.

Thanks

ronivay commented 1 year ago

sorry for long delay on this. i haven't found enough time to debug this issue. any help from the community is highly appreciated.

Hi,

If you can help guide which log files to check while loading interface i would want to try it out. If the logs aren't enabled by default then maybe we can enable logging and then debug what exactly happens when the respective browser loads the interface.

Thanks

I have a feeling this isn't server side issue so there isn't most likely anything in XO logs. Browser developer tools would be the place to look for if it has some hints why parts of the content aren't loading.

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

ruinsteve commented 1 year ago

I just had this same issue but I was able to fix it by clearing my cache. I know others have tired this but it worked for me.

Background: I was using an older deployment of this running on Debian 10. The upgrade script was failing as Node was too old. So I just downloaded the latest Debian 11 based image (thanks for making these!) and set it up with the exact same settings as the old one. It was working fine at first until I uploaded the config from the old install. Then I got this exact same issue right away. Opening it in incognito worked fine. So I cleared my cache and was good to go. The only other difference is I did run the update script and reboot (both for good measure) before trying incognito.

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated

github-actions[bot] commented 1 year ago

This issue has been open for 14 days without activity. It will be closed in 5 days if not updated