Update to latest version using dot net

i am using server edition, i tried to upgrade it today and it failed with error.
i rollback update manually and got my server running. (I am running ubuntu 16)

I search forums but i was unable to find official way to upgrade it now and also i came to know that Caddy is no longer working. Now i need following info.

  1. How can I update self hosted server edition without loosing any data. any official guide for update from 20.9.47 to latest version.

  2. if caddy is not working, why it is still mentioned in installation guide at page Installation | Manager and what is alternate of caddy.

1 Like

So upgrade should work with;

  1. after you upgrade, you need to change the systemd configuration to remove reference to mono, this is what is should be from the tutorial;

printf “[Unit]\nAfter=network.target\n\n[Service]\nLimitNOFILE=1048576\nExecStart=/usr/share/manager-server/ManagerServer -port 8080\nRestart=on-failure\nStartLimitInterval=600\n\n[Install]\nWantedBy=multi-user.target” | sudo tee /etc/systemd/system/manager-server.service

  1. caddy instructions has been updated to version 2…again, follow the instruction to install version 2 and then update the systemd configuration…

It would help if after your upgrade to give us a screenshot of “systemctl status manager-server” the same with caddy so we can provide appropriate assistance.

ok
before i try to update, please let me know

did you mean i have install is completely with also includes code you mentioned above. or i just have to use upgrade method and then run code about “systemd service unit configuration file:”

Can install caddy as mentioned in Guide or i have to remove old version first?

For now:

  1. Upgrade Manager to the latest version;
  2. change systemd configuration
  3. disable current version 1 use “systemctl stop caddy”
  4. install caddy v2 as per instructions…

Dear @PFIVE
Thankyou for details, i was able to upgrade it this time.

Just for info, why it was move from mono to dotnet, any speed or stability difference? or other benefits.

Great to know @Mian_Waqas_Azfar - I believe it was done so that Manager deployment is streamlined, see this post from lubos below, it was implemented on version 20.9.63.

have a great day.