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
Host Path Problem For Container wis2box_project-mosquitto
This seems a funny problem to have, maybe I'm running on the wrong branch here?
Container wis2box_project-mosquitto Error
wis2box]$ python3 wis2box-ctl.py logs mosquitto mosquitto | SSL disabled mosquitto | Setting mosquitto authentication mosquitto | cp: '/mosquitto/config/mosquitto.conf' and '/mosquitto/config/mosquitto.conf' are the same file mosquitto | 2023-05-18T16:10:00: mosquitto version 2.0.15 starting mosquitto | 2023-05-18T16:10:00: Config loaded from /mosquitto/config/mosquitto.conf. mosquitto | 2023-05-18T16:10:00: Error: Unable to open acl_file "/mosquitto/config/acl.conf". mosquitto | 2023-05-18T16:10:00: Error opening acl file "/mosquitto/config/acl.conf".
Git Repo Status
wis2box]$ git status On branch main Your branch is up to date with 'origin/main'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: wis2box-broker/Dockerfile no changes added to commit (use "git add" and/or "git commit -a")
Docker File Modification
Change mkdir -p /data/wis2box/mosquitto to mkdir -p /data/wis2box/mosquitto/config
Host Path Problem For Container wis2box_project-mosquitto
This seems a funny problem to have, maybe I'm running on the wrong branch here?
Container wis2box_project-mosquitto Error
wis2box]$ python3 wis2box-ctl.py logs mosquitto
mosquitto | SSL disabled
mosquitto | Setting mosquitto authentication
mosquitto | cp: '/mosquitto/config/mosquitto.conf' and '/mosquitto/config/mosquitto.conf' are the same file
mosquitto | 2023-05-18T16:10:00: mosquitto version 2.0.15 starting
mosquitto | 2023-05-18T16:10:00: Config loaded from /mosquitto/config/mosquitto.conf.
mosquitto | 2023-05-18T16:10:00: Error: Unable to open acl_file "/mosquitto/config/acl.conf".
mosquitto | 2023-05-18T16:10:00: Error opening acl file "/mosquitto/config/acl.conf".
Git Repo Status
wis2box]$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: wis2box-broker/Dockerfile
no changes added to commit (use "git add" and/or "git commit -a")
Docker File Modification
Change mkdir -p /data/wis2box/mosquitto to mkdir -p /data/wis2box/mosquitto/config
$ git diff wis2box-broker/Dockerfile
diff --git a/wis2box-broker/Dockerfile b/wis2box-broker/Dockerfile
index d3dce3e..b1b8811 100644
--- a/wis2box-broker/Dockerfile
+++ b/wis2box-broker/Dockerfile
@@ -21,7 +21,7 @@
FROM eclipse-mosquitto
-RUN mkdir -p /data/wis2box/mosquitto
+RUN mkdir -p /data/wis2box/mosquitto/config
RUN ln -s /mosquitto /data/wis2box/mosquitto
COPY mosquitto-ssl.conf /mosquitto/config/mosquitto-ssl.conf
The text was updated successfully, but these errors were encountered: