You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the container will be configured with a NFS path to store backups before ioBroker was initially started data are detected and the installation stops. There are two workarounds.
Mount the NFS after the initialization.
Change the kind how data are detected.
Inside the container the function copy backup to NAS does not work because rpc-statd is missing, the NFS mount inside of the container does not work. Mounting the backup folder via NFS as a volume solve this problem, but with the limitation described above.
Maybe following change can be a potential solution ...
if [[ find /opt/iobroker -type f -maxdepth 1 | wc -l -lt 1 ]]; then
Inside the container the function copy backup to NAS does not work because rpc-statd is missing, the NFS mount inside of the container does not work. Mounting the backup folder via NFS as a volume solve this problem, but with the limitation described above.
You have to start the Container in privileged mode for the NFS mount to work. Apart from that, I would also find it helpful to exclude the /opt/iobroker/backups folder from the “DetectData” function.
I don’t quite understand this. This should only be an issue when starting with a new ioBroker instance.
As long as an existing instance of ioBroker is located in /opt/iobroker, there shouldn’t be any problems.
Could you please clarify the exact scenario where this becomes an issue?
Apart from that, I would also find it helpful to exclude the /opt/iobroker/backups folder from the “DetectData” function.
As far as I recall, the script checks for existing data in /opt/iobroker to ensure nothing gets overwritten when restoring the initial ioBroker setup to the mounted volume or folder.
That said, mounting anything into /opt/iobroker is not a good practice. This directory is meant for the program files and should not be altered by users.
Description / Beschreibung
If the container will be configured with a NFS path to store backups before ioBroker was initially started data are detected and the installation stops. There are two workarounds.
Inside the container the function copy backup to NAS does not work because rpc-statd is missing, the NFS mount inside of the container does not work. Mounting the backup folder via NFS as a volume solve this problem, but with the limitation described above.
Maybe following change can be a potential solution ...
if [[
find /opt/iobroker -type f -maxdepth 1 | wc -l-lt 1 ]]; then
Kubernetes YAML
Image version
:latest-v10
Docker logs / Docker Protokoll
The text was updated successfully, but these errors were encountered: