As I have an old 4.x Rocketchat installation and several failed upgrade tries I decided to start fresh and install on my proxmox server an ubuntu 22.04 server VM and use SNAPS to install Rocketchat.
I made sure to also set the siteURL via SNAP command line and I see the correct internal IP when using “snap get rocketchat-server”
So far so good I thought. I restarted using the SNAP command and then tried to access the page from my machine (the server is headless, no GPU) but the result is endless loading.
When analyzing the calls done I saw that one file want to be called still from localhost:3000! It seems to be a Meteor related file.
So I checked the meteor_runtime_config.js file and was shocked to still find a reference to localhost:3000 in there:
I tried for hours to install rocketchat on many multiple machines from my local one to a VM on the local machine to several different ways on using snap during the installation of ubuntu server using the rocketchat option to manually using the SNAP. Easily lost 2 days because of this. I never managed to get a running rocketchat system without this behavior!
So how can I change the ROOT_URL in this metor config js file? And why is it not using the siteurl value configured?
And no, I do not want to use Docker so please try to solve the actual issue . I don’t want to use it. I have a huge Proxmox server where I want to run them isolated like this and do different snapshot scenarios. And I want one thing less to care of and maintain.
Thanks a lot for guidance in advance