Dashboard unavailable, apps are currently fine
-
@joshrb91 Ah ok, I think the node version is one part of the issue atleast. The node version should be
14.17.6
(This node version understands the?.
syntax ). Do you have any more context as to how it ended up in this state? Did you run out of disk space or anything?Can you also tell me what is the version in the file
/home/yellowtent/box/VERSION
? This should be 7.0.4 -
@joshrb91 I see. Generally, it's not possible that node was not updated but the code itself got updated. I don't know how that can happen even if server ran out of disk space.
My guess is that maybe
apt install node
was run by mistake. Can you doapt remove nodejs
for good measure?After the above, check if
/usr/local/node-14.17.6
exists. If it does, run the below two commands:ln -sf /usr/local/node-14.17.6/bin/node /usr/bin/node ln -sf /usr/local/node-14.17.6/bin/npm /usr/bin/npm
Now,
node --version
should be the right version. Then,systemctl restart box
should get the box code working. -
@girish That was able to get box up and running, but the dashboard is still unavailable (I've tried clearing browser cache and checking on a different device/browser with the same result). Could this be caused by the /home/yellowtent/box/VERSION being 7.0.3 instead of 7.0.4?
Also I tried running the start.sh script again and it shows the same error but ultimately still results in box showing active when checking systemctl status box
-
@joshrb91 said in Dashboard unavailable, apps are currently fine:
but the dashboard is still unavailable
What error are you seeing in the browser? Can you check if
my.domain.com
points to the IP of the server? -
@girish When loading the page I have the read banner at the top that says "Cloudron is offline. Reconnecting..." I checked the IP address and everything is pointing to the right place. I still have access to all my apps by navigating to their URL.
I also should mention that when logging into the server I see the original post install message saying to navigate to https://publicIP to accept self signed certificate to finish setup. This hadn't appeared before. But when navigating to the IP alone I just get the message "You are seeing this page because this domain points to Cloudron server IP but no app is installed on that domain."
-
@joshrb91 said in Dashboard unavailable, apps are currently fine:
I also should mention that when logging into the server I see the original post install message saying to navigate to https://publicIP to accept self signed certificate to finish setup.
Oh, that's not good. It thinks that Cloudron is not installed/something is corrupt. I think we have to take a look into the server before I suggest something destructive. Can you run
cloudron-support --enable-ssh
and drop a mail to support@cloudron.io with the server IP? I can take a look. -
@joshrb91 looks like the server has nvm installed. Which then hijacked the system node.
# which node /root/.nvm/versions/node/v14.17.6/bin/node
The error is not very obvious because
systemctl status box
says running but it's not really running.journalctl -u box -fa
shows that it's crashing constantly. The reason for that is the box code runs asyellowtent
user..# su - yellowtent $ node --version v12.18.4 $ which node /usr/local/bin/node
It seems there is another node installed in /usr/local/bin also. I renamed that directory to bin-old for now and it brings things up.
Generally, we don't support installing external software on Cloudron. Was there any reason you installed nvm on the server? (was it to install cloudron CLI? if so, that's meant to be installed on your PC/laptop and not on the server).
-
-