Please update Baikal

Suggestions for features and software you would like to see in DietPi, goes here.
omavoss
Posts: 10
Joined: Thu Sep 24, 2020 11:08 pm

Please update Baikal

Post by omavoss »

Dear Sir and Madam,

please update baikal 0.6.1 to 0.7.1, thank you.

Many friendly greetings.
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: Please update Baikal

Post by Joulinar »

Hi,

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

Code: Select all

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

Code: Select all

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.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
omavoss
Posts: 10
Joined: Thu Sep 24, 2020 11:08 pm

Re: Please update Baikal

Post by omavoss »

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.
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: Please update Baikal

Post by Joulinar »

Well I'm living in (East)Berlin as well. So shouldn't be a problem ;)

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.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
omavoss
Posts: 10
Joined: Thu Sep 24, 2020 11:08 pm

Re: Please update Baikal

Post by omavoss »

@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.
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: Please update Baikal

Post by Joulinar »

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

https://github.com/MichaIng/DietPi/pull/3789
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
omavoss
Posts: 10
Joined: Thu Sep 24, 2020 11:08 pm

Re: Please update Baikal

Post by omavoss »

Many thanks for your great hard works.
omavoss
Posts: 10
Joined: Thu Sep 24, 2020 11:08 pm

Re: Please update Baikal

Post by omavoss »

Hello,
I found a HowTo for the update here:

https://web.nettworks.org/wiki/pages/vi ... d=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)
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: Please update Baikal

Post by Joulinar »

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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

Re: Please update Baikal

Post by Joulinar »

Next DietPi version 6.33 has reached BATA status and is ready for testing. https://github.com/MichaIng/DietPi/issues/3805
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply