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] [v9.0.0-beta.1]: Environment variable "IOB_BACKITUP_EXTDB=true" is ignored #381

Closed
Marc-Berg opened this issue Sep 27, 2023 · 3 comments
Assignees
Labels
bug This issue is confirmed. fixed in beta This issue ist fixed in actual beta version.

Comments

@Marc-Berg
Copy link

Description / Beschreibung

When I use the 9.0.0-beta.1 image, the environment variable "IOB_BACKITUP_EXTDB=true" is ignored. The selection boxes for backing up external databases in the Backitup Adapter remain grey.

Image version

9.0.0-beta.1

Docker logs / Docker Protokoll

--------------------------------------------------------------------------------
-------------------------     2023-09-27 09:02:31      -------------------------
--------------------------------------------------------------------------------
-----                                                                      -----
----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
-----                                                                      -----
-----              Welcome to your ioBroker Docker container!              -----
-----                    Startupscript is now running!                     -----
-----                          Please be patient!                          -----
--------------------------------------------------------------------------------
 
--------------------------------------------------------------------------------
-----                          System Information                          -----
-----                    arch:                x86_64                       -----
-----                    hostname:            iobroker2                    -----
-----                                                                      -----
-----                          Version Information                         -----
-----                    image:               v9.0.0-beta.1-dev            -----
-----                    build:               2023-09-24T19:40:53+00:00    -----
-----                    node:                v18.18.0                     -----
-----                    npm:                 9.8.1                        -----
-----                                                                      -----
-----                        Environment Variables                         -----
-----                    DEBUG:               false                        -----
-----                    IOB_BACKITUP_EXTDB:  true                         -----
-----                    IOB_OBJECTSDB_TYPE:  redis                        -----
-----                    IOB_OBJECTSDB_HOST:  redis2                       -----
-----                    IOB_OBJECTSDB_PORT:  6379                         -----
-----                    IOB_STATESDB_TYPE:   redis                        -----
-----                    IOB_STATESDB_HOST:   redis2                       -----
-----                    IOB_STATESDB_PORT:   6379                         -----
-----                    PACKAGES:            influxdb2-cli redis-tools    -----
-----                    SETGID:              1000                         -----
-----                    SETUID:              1000                         -----
--------------------------------------------------------------------------------
 
--------------------------------------------------------------------------------
-----                   Step 1 of 5: Preparing container                   -----
--------------------------------------------------------------------------------
 
Updating Linux packages on first run... Done.
 
PACKAGES is set. Installing the following additional Linux packages: influxdb2-cli redis-tools
 
influxdb2-cli is not installed. Installing... Done.
redis-tools is not installed. Installing... Done.
 
Registering maintenance script as command... Done.
 
--------------------------------------------------------------------------------
-----             Step 2 of 5: Detecting ioBroker installation             -----
--------------------------------------------------------------------------------
 
Existing installation of ioBroker detected in "/opt/iobroker".
 
--------------------------------------------------------------------------------
-----             Step 3 of 5: Checking ioBroker installation              -----
--------------------------------------------------------------------------------
 
(Re)setting permissions (This might take a while! Please be patient!)... Done.
 
Configuring custom objects db...
IOB_OBJECTSDB_TYPE is available and value meets detected ioBroker installation.
IOB_OBJECTSDB_HOST is available and value meets detected ioBroker installation.
IOB_OBJECTSDB_PORT is available and value meets detected ioBroker installation.
Done.
 
Configuring custom states db...
IOB_STATESDB_TYPE is available and value meets detected ioBroker installation.
IOB_STATESDB_HOST is available and value meets detected ioBroker installation.
IOB_STATESDB_PORT is available and value meets detected ioBroker installation.
Done.
 
Checking Database connection... Done.
 
Hostname in ioBroker matches the hostname of this container.
No action required.
 
--------------------------------------------------------------------------------
-----                Step 4 of 5: Applying special settings                -----
--------------------------------------------------------------------------------
 
Some adapters have special requirements/ settings which can be activated by the use of environment variables.
For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).
 
IOB_BACKITUP_EXTDB is "true". Unlocking features...Done.
 
 
--------------------------------------------------------------------------------
-----                    Step 5 of 5: ioBroker startup                     -----
--------------------------------------------------------------------------------
 
Starting ioBroker... 
 
##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
host.iobroker2 check instance "system.adapter.admin.0" for host "iobroker2"
host.iobroker2 check instance "system.adapter.backitup.0" for host "iobroker2"
host.iobroker2 check instance "system.adapter.discovery.0" for host "iobroker2"
================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
@buanet buanet changed the title [Problem]: Environment variable "IOB_BACKITUP_EXTDB=true" is ignored. [Problem] [v9.0.0-beta.1]: Environment variable "IOB_BACKITUP_EXTDB=true" is ignored Sep 28, 2023
@buanet buanet added the bug This issue is confirmed. label Sep 28, 2023
@buanet buanet self-assigned this Sep 28, 2023
@buanet
Copy link
Owner

buanet commented Sep 28, 2023

Confirmed. Fix will be available in v9.0.0-beta.2.

@buanet
Copy link
Owner

buanet commented Sep 28, 2023

Please test v9.0.0-beta.2.

@Marc-Berg
Copy link
Author

Tested successfully!

@buanet buanet closed this as completed Sep 29, 2023
@buanet buanet added the fixed in beta This issue ist fixed in actual beta version. label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is confirmed. fixed in beta This issue ist fixed in actual beta version.
Projects
None yet
Development

No branches or pull requests

2 participants