reticulum-meshchat icon indicating copy to clipboard operation
reticulum-meshchat copied to clipboard

Upgrade RaspberryPI

Open spqr1234 opened this issue 1 year ago • 1 comments

Hi Liam - I have successfully installed Meshchat v1.17, but when I follow the RaspberryPI installation guide it doesn't seem to upgrade to v1.18. Instead it installs the package in a duplicate subfolder so you endup having:

~/reticulum-meshchat/reticulum-meshchat etc

During the installation process it showed the following error:

fatal: destination path 'reticulum-meshchat' already exists and is not an empty directory. Defaulting to user installation because normal site-packages is not writeable

I manually deleted the original installation, and reinstalled which resolve the problem but was wonder if you could add the appropriate script to the PI installation guide to remove any old installs whilst maintaining identities and conversations?

spqr1234 avatar Jan 16 '25 20:01 spqr1234

Hey there, if you already installed from source, installing again is not the right approach for updating.

All you need to do is pull the changes from the git repo, and then rebuild the frontend.

Something like this should do the job:

git pull
npm install --omit=dev
npm run build-frontend

And then restart your service, or existing process :)

liamcottle avatar Jan 20 '25 03:01 liamcottle