[Howto] Update TB

Linux

Sadly, the auto-update does not run correctly on Linux.

Note: install or update on Linux using Wayland (like Fedora ≥ 38, Manjaro) seems not run correctly!

Process

Process to do it correctly:

  1. dl the run file on theocbase.net/download page for Linux manually
  2. with rights admin,
    2.b mv /opt/Theocbase to /opt/Theocbase.bckp
    2.c. launch the installer of TB previously downloaded manually.

In fact:

  • after downloading the new release of TB:
$ sudo mv /opt/Theocbase /opt/Theocbase-"$(date +'%F')".bckp
$ cd ~/Downloads
$ chmod 0700 TheocBase-*-linux-installer.run
$ sudo ./TheocBase-*-linux-installer.run
$ chmod 0600 TheocBase-*-linux-installer.run # to delete execute user rights; not needed

Voila!


Deleting backup directory

Once you’ve ensured that the update has gone smoothly and TB is working properly, you can even delete the backup directory… it’s more about reclaiming space on your disk — as instance:

$ sudo rm -f /opt/Theocbase-*.bckp

Wayland

How to know if your Linux use Wayland?

  • try on terminal/console, this command: $ echo $XDG_SESSION_TYPE
    If result to wayland, you have your reply :wink:

MacOS

Since release 2024.01.x, just click on [ update ] icon, at the top right corner, just in front of [ cloud ] icon

Windows

Since release 2024.01.x, just click on [ update ] icon, at the top right corner, just in front of [ cloud ] icon

1 Like

Thanks a lot for the fast reply! The update worked out.
It worked for me to rename the folder with
~$ sudo mv /opt/Theocbase /opt/Theocbase-“$(date +‘%F’)”.bckp
But $ chmod 0700 TheocBase-*-linux-installer.run did not work. So after renaming the folder, I used the tutorial from the YouTube installation video (https://youtu.be/lgd86lihAt4):

~/Downloads$ ls
~/Downloads$ chmod 755 .run
~/Downloads$ ls
~/Downloads$ sudo ./TheocBase-
-linux-x64-installer.run

Thank you so much!

Really???


I insist on using the minimum number of useful and necessary user rights.
And if I wanted to be a purist, I would even dare to write:

⇒ In fact:

  • after downloading the new release of TB:
# mv /opt/Theocbase /opt/Theocbase-"$(date +'%F')".bckp
$ cd ~/Downloads
$ chmod 0700 TheocBase-*-linux-installer.run
# ./TheocBase-*-linux-installer.run

Knowing that every unix/linux user knows the meaning of the ‘#’ and ‘$’ symbols and what they imply!


But I wanted to keep it simple and affordable, by writing what I wrote in my first post… although I personally prefer the second version!

PS: Nothing more to say!