syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
400 stars 40 forks source link

Restart/shutdown problem on VM #404

Closed cyberb closed 4 years ago

cyberb commented 5 years ago

User reported that restart and shutdown are not working on a VM.

trevorprinn commented 4 years ago

I'm seeing this too. The javascript error is ReferenceError: dropdown is not defined

cyberb commented 4 years ago

@trevorprinn do you still have this problem?

trevorprinn commented 4 years ago

Yes. This is when clicking on the Shutdown link. The error on Firefox has a little more info

ReferenceError: dropdown is not defined index.html:1:1
    onclick https://***.syncloud.it/index.html:1
cyberb commented 4 years ago

Did it actually shutdown? If it did, I do not expect UI to work properly after that :)

trevorprinn commented 4 years ago

No. It doesn't shut down. Clicking the link does nothing.

cyberb commented 4 years ago

Could you crtl + f5 the page, then try shutdown, then send us logs from the settings please?

trevorprinn commented 4 years ago

Interesting. I just tried it from an android tablet using the DuckDuckGo browser (on the same LAN) and that did work, so I suspect a problem with my PC. I've had a few weird problems like this with Chrome at work (similar messages about various things being undefined) and fixed them by uninstalling and reinstalling Chrome. I've just tried that and it's not made a difference. Also, I've been getting the same problem with Firefox (on the same PC).

I've sent you the logs, as requested.

cyberb commented 4 years ago

Could you restart firwfox with disabled plugins and try again? Also do you have another pc to try? There is nothing wrong in the logs, seems to be browser or pc problem.

trevorprinn commented 4 years ago

I've tried it with FF with disabled plugins and also using both Edge and Chrome from another PC. Same result from all of them - the undefined dropdown. Very puzzling.

cyberb commented 4 years ago

Sorry it took me some time, but the problem was in mobile mode and I was checking on desktop. It should be fixed now in latest platform version, please update and check again.

cyberb commented 4 years ago

Should be fixed, reopen if not.