Please update Baikal

Dear Sir and Madam,

please update baikal 0.6.1 to 0.7.1, thank you.

Many friendly greetings.

Hi,

many thanks for your request. Baikal is downloaded and installed directly from GitHub, which contains latest version always.

URL: https://github.com/fruux/Baikal/archive/master.tar.gz

If you like to update your Baikal installation, you could follow Baikal software update guide https://sabre.io/baikal/upgrade/

Another option would be running a re-installation of Baikal

dietpi-software reinstall 57

Before doing so, it’s recommended to create a dietpi-backup, Just in case thinks goes wrong, you are able to restore.

EDIT
It turned out, during dietpi-software reinstall not all directories are being protected to be overwritten. Therefore best to use Software vendor instructions until DietPi has been adjusted to keep all needed data.

Hi,
I use dietpi-software reinstall 57 successfully.

Baikal configuration throws the following errors:

Error - Insufficient permissions on the configuration folders
In order to work properly, Baïkal needs to have write permissions in the Specific/ and config/ folder.


I configured this folders with the permissions 0777.


The constant PROJECT_DB_MYSQL_HOST, containing the MySQL host name, is not set.
You should set it in config/baikal.yaml


I configured
mysql_host: ‘127.0.0.1’
mysql_dbname: ‘baikal’
mysql_username: ‘baikal’
mysql_password: ‘dietpi’


Baïkal was not able to establish a connexion to the configured MySQL database (as configured in config/baikal.yaml).


I have now been able to reset the system via dietpi-backup without any problems.

I am an east-german people, my english is very bad; I translated with DeepL.


I ask for help, thank you very much.

Well I’m living in (East)Berlin as well. So shouldn’t be a problem :wink:

that’s exactly what I told on my EDIT

It turned out, during > dietpi-software reinstall > not all directories are being protected to be overwritten. Therefore best to use Software vendor instructions until DietPi has been adjusted to keep all needed data.

Basically you would have 3 option

  1. perform the update on a manuell way (following software vendor guide)
  2. wait for for next DietPi release 6.33 as there we will provide some enhancement regarding the re-installation procedure
  3. download dietpi-software script from our GitHub development branch to get latest fix before DietPi 6.33 will be released

If there is no urgency, waiting for official DietPi release 6.33 might be the easiest way.

@Joulinar:
thanks for your kind answer.

Where I find the the dietpi-software script from our GitHub development branch to get latest fix before DietPi 6.33 will be released?

Please give me a link for it, thank you.

pls be patient, we are still working on it. I just discovered some issues on it. If you like you can follow us :slight_smile:

https://github.com/MichaIng/DietPi/pull/3789

Many thanks for your great hard works.

Hello,
I found a HowTo for the update here:

https://web.nettworks.org/wiki/pages/viewpage.action?pageId=37421142

You would have to adjust the paths and modify the whole thing for DietPi. I would be very happy to get a little help with this; thank you very much.

(Translated from german to english by DeepL)

Hi,

many thanks for sharing the guide, but we already have it implemented on your development system. However there is an issue at Baikal themselves: It will lead the an empty configuration file and you are not able to connect to database until you have update configuration files manually.

This is basically the fix that would need to be implemented by Baikal https://github.com/sabre-io/Baikal/pull/979

Next DietPi version 6.33 has reached BATA status and is ready for testing. https://github.com/MichaIng/DietPi/issues/3805

Hello,
sorry, I switched to DietPi v6.33.0 (beta) : 23:56 - Mi 07.10.2020 and Baikal was not updated:

Version
This systems runs Baïkal 0.6.1
http://sabre.io/baikal

New version available: 0.7.1


What do I have to do?

Many thanks and friendly greetings.

You need to run the re-installation as indicated in one of the first post.

dietpi-software reinstall 57

But keep in mind that there is still the issue within Baikal themselves, leading to an empty config file after running the update. :wink:

@Joulinar :
Hello,
After upgrading to 0.7.1 Baikal throws an error:

The constant PROJECT_DB_MYSQL_HOST, containing the MySQL host name, is not set.
You should set it in config/baikal.yaml


I will still do this as described here:
https://web.nettworks.org/wiki/pages/viewpage.action?pageId=37421142
and I’ll get back to you on this.

Thank you very much.

yes that’s as expected because of the Baikal issue. There we need to wait on Baikal to have it fixed. Basically you need to fill your database information into Baikal config file now.

@Joulinar:
If I’m annoying, you hit me!

I have entered the required data into the baikal.yaml, now the following error occurs:
Baïkal was not able to establish a connexion to the configured MySQL database (as configured in config/baikal.yaml).

Only good that there is a dietpi-backup! DietPi is a really great piece of software!

Thanks and many greetings.

Edit:
I successfully restored my Dietpi machine from a backup.

ok, but you could have tried to reboot first. Maybe it would have changed something :thinking:

I hope Baikal will fix this issue soon to ensure smooth upgrade from 0.6 > 0.7

@Joulinar:
after update to DietPi v6.33.1,

dietpi-software reinstall 57
executed the entries in the config/baikal.yaml

reboot

unfortunately no change, the same error as before.

I successfully performed the restore of DietPi and will probably have to wait for the developers of Baikal to fix the bug.

Many friendly greetings.

yes unfortunately, this is still pending on Baikal side

Just for reference to track the solution on Baikal side:
GitHub issue: https://github.com/sabre-io/Baikal/issues/946
Pull request that should solve it: https://github.com/sabre-io/Baikal/pull/979

Feel free to report to any of those two draw some attention and hopefully speed up things a bid :wink:.

@Joulinar:

Hurray, I made the update with your help!

I first ran the update Baikal from 0.6.1 to Baikal 0.7.0, then dietpi-software reinstall 57, then reboot.
Now Baikal offered me an update routine to 0.7.1, which I also ran.
The result is the following:

About this system
Version
These systems runs Baïkal 0.7.1
http://sabre.io/baikal

Many thanks to all of you here who supported me!
Friendly greetings.