Chatmail: Moving the local PC directory

Hi

I have just installed a Chatmail server and it works great.

On my local PC now I need to move the relay folder to a different location.

Besides moving it, what else should I do so that everything works as it does in the current location?

Or should I just start over at the new location following again the instructions at GitHub - chatmail/relay: chatmail service deployment scripts and docs ?

What is the safest way? I can’t code and I get stressed when I see Python stuff : )

And… what about having a second local PC? What should I do in that case?

Thank you

Symlinks may be your friend. Move the folder, but replace it with a symlink to the new location. On Linux, press CTRL-T for the terminal, then, in the terminal, type:
ln -s new_location old_location
…but use the real full paths of the locations. This should be safe, and less effort than a reinstall.

Oh, and offtopic, but if you ever want to learn Python, working through this excellent Python textbook for non-coders would do the trick.

What exactly do you want to do on the second PC? Set up another Chatmail server?

Sorry, I’m really not sure if I’m answering your questions or not (or being incomprehensible).

Thanks, but I did not want to use symlinks.

I finally moved it and it works. This is how I did it:

I created the new directory, run git clone https://github.com/chatmail/relay, cd relay and scripts/initenv.sh

Then I copied chatmail.ini, and recursively www/src/*.md and cmdeploy/* files into the new location and finally run scripts/cmdeploy deploy.

1 Like

I meant to be able to keep tweaking my only chatmail server from a different computer.

But now I think it won’t be a problem, thanks.

Great, obviously if you can avoid remote access that’s more secure.

Thank you for posting the solutions to your problems for people from the future. :slight_smile:

1 Like

It finally is a problem : ) but will open a new thread for it.

1 Like