-
Notifications
You must be signed in to change notification settings - Fork 10
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
/etc/sbfspot is not mapped to a directory outside the container => Config file can't be read. #15
Comments
With these two commands, you create the directories and permissions. sudo mkdir -p /opt/sbfspot/data ...just to be sure, that there is no problem with the mapped directories. |
Hi, After starting the container, the files "SBFspot.default.cfg" and "SBFspotUpload.default.cfg" are written in the directory.
All other lines are comments. Many thanks for the assistance. |
Ok can you post the output of the command |
Hi, Ok, here is the output:
The whole thing is currently running via virtual box and a Dietpi image (host). Later the Docker images are to run on a Raspberry Pi 4. I have already looked whether Linux packages may be missing and Dos2unix installed. But I still get the same error message. Thanks a lot! |
Hi, btw...
|
This should be fine. |
Hm,
To find out whether it is due to the VirtualBox environment, I have now also tested the image on the Raspberry Pi (dietpi). I get the same error message here too. |
Because of the error with the config, the container exits. If you have set up the restart policy "until stopped" your container restarts infinitely. |
Which dietpi image do you use? armv6,v7,v8? You can try to explicitly load the v6 image, which should be compatible with all rpi. |
I use the image "armv8". But it's not a problem. I will test the "arm 6" image at the weekend and report back. Thanks very much! |
I just installed dietpi for arch armv8 on a rpi zero 2 w. First time, I got the same error message, after connecting to the container and checking the cause, everything was ok without changing something. So I went back and reinstalled dietpi, this time I got no error, and everyting was working instantly. |
I have now reinstalled Dietpi (ARMV6 version 8.9.2) and started the image again. Unfortunately, the error still appears. I will now look for a different way because this is too time -consuming for me. |
Hi, I just can't get the docker container to work.
I keep getting the error message "/etc/sbfspot is not mapped to a directory outside the container => Config file can't be read. Please map the directory and restart the container.". I have already set the user, folder and file permissions (uid 5000, gid 5000). But the volume mappings don't seem to be working.
I don't know what to do and need help please.
The text was updated successfully, but these errors were encountered: