What version are you coming from?
rocketchat-server --channel=5.x/stable
What version are you going to?
rocketchat-server --channel=6.x/stable
What deployment method did you use to deploy?
Snap, ran a backup on the old host that does not support AVX/2 , imported it to a new host that does. Switched to the 6.x/stable branch.
Did you follow a particular doc? Which one?
- https://docs.rocket.chat/deploy/deploy-rocket.chat/deploy-with-snaps
- Rocket Chat Installation HTTPS with Caddy error - Raspberry Pi Stack Exchange
What issues are you running into upgrading?
It imported without issue/errors, and was able to switch the branch and refresh it without issue.
Receiving Caddy errors:
2023-11-02T18:18:05-04:00 rocketchat-server.rocketchat-caddy[8277]: {"level":"info","ts":1698963485.607207,"msg":"using provided configuration","config_file":"/var/snap/rocketchat-server/1583/Caddyfile","config_adapter":""}
2023-11-02T18:18:05-04:00 rocketchat-server.rocketchat-caddy[8277]: run: adapting config using caddyfile: /var/snap/rocketchat-server/1583/Caddyfile:2: unrecognized directive: proxy
Caddyfile:
mysite.net:8080
proxy / localhost:3000 {
transparent
}
I have also tried:
http://mysite:8080
reverse_proxy localhost:3000
With this one, I receive: Unknown directive: reverse_proxy
Additional details:
snap get rocketchat-server
Key Value
backup-on-refresh enable
caddy enable
caddy-url https://mysite.net
https enable
ignore-errors false
mongo-oplog-url mongodb://localhost:27017/local
mongo-url mongodb://localhost:27017/parties
port 3000
siteurl https://mysite.net:8080
What am I doing wrong? I have had a Rocket Chat server for a number of years now, I am upgrading due to the version of MongoDB no longer being supported and unable to upgrade on the current host due to the lack of AVX support.
Thank you