Skip to content

Zoraxy update to 3.1.2 failed #25

Closed Answered by JcMinarro
Hindin81 asked this question in Q&A
Discussion options

You must be logged in to vote

@dsiebel @havardthom Please, update the commands you are using in your comments because you are removing the directory /opt/zoraxy/ but it contains any previous data the user had.

Those are the steps I have followed to update Zoraxy LXC:

systemctl stop zoraxy.service
mv /opt/zoraxy/src /opt/data/
rm -r /opt/data/Makefile /opt/data/*.go /opt/data/go.mod /opt/zoraxy/go.sum /opt/zoraxy/start.sh /opt/zoraxy/
mv /opt/data /opt/zoraxy
sed -i 's/ExecStart=\/opt\/zoraxy\/src\/.\/zoraxy/ExecStart=\/opt\/zoraxy\/.\/zoraxy/g' /etc/systemd/system/zoraxy.service
sed -i 's/WorkingDirectory=\/opt\/zoraxy\/src\//WorkingDirectory=\/opt\/zoraxy\//g' /etc/systemd/system/zoraxy.service
systemctl daemon-reloa…

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@JcMinarro
Comment options

@dsiebel
Comment options

@JcMinarro
Comment options

@JcMinarro
Comment options

Comment options

You must be logged in to vote
1 reply
@Hindin81
Comment options

Comment options

You must be logged in to vote
1 reply
@JcMinarro
Comment options

Comment options

You must be logged in to vote
1 reply
@dsiebel
Comment options

Answer selected by havardthom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation A change to documentation wontfix This will not be fixed not a script issue This is not a script issue
4 participants