Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Boltdb host in config file is not loaded #2054

Closed
Ereaey opened this issue May 24, 2024 · 3 comments
Closed

Problem: Boltdb host in config file is not loaded #2054

Ereaey opened this issue May 24, 2024 · 3 comments
Assignees

Comments

@Ereaey
Copy link
Contributor

Ereaey commented May 24, 2024

Issue

Following an upgrade, I no longer have my data.
So I start to check my files and they are there but not read by Sémaphore.
Semaphore actually created a new folder "0.0.0.0" in home without reading the /config which I know is read because it contains the oidc data.
With the environment variable "SEMAPHORE_DB_HOST" I managed to correct my problem.

So I think we should correct the problem first and rename the default value 0.0.0.0 with a new, more relevant name for a quick installation.

Impact

Database

Installation method

Docker

Database

BoltDB

Browser

Chrome

Semaphore Version

v2.9.100-beta

Ansible Version

No response

Logs & errors

No response

Manual installation - system information

No response

Configuration

Config.json and env variables

Additional information

No response

@fiftin
Copy link
Collaborator

fiftin commented May 24, 2024

Hi @Ereaey thanks a lot for details! I reproduced the issue! Will be fix ASAP.

@fiftin
Copy link
Collaborator

fiftin commented May 24, 2024

Hi @Ereaey fixed in v2.9.104-beta.

@fiftin fiftin closed this as completed May 24, 2024
@Ereaey
Copy link
Contributor Author

Ereaey commented May 27, 2024

@fiftin I still have the problems and now I have the problems, if I set it by the configuration file (bolt/host) or the environment variable (SEMAPHORE_DB_HOST: /home/semaphore/boltdb/database.boltdb) now the value always remains at "/var/lib/semaphore/database.boltdb"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants