-
Notifications
You must be signed in to change notification settings - Fork 308
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
when building with syncthing the doker-compose.yml throws an error #710
Comments
First off, if you want to run your system that way, please do so. You don't need to change anything. However, the You can check this by running:
What you should see is:
What I suspect you will see will be something like 1.29.2 or earlier for the first command, and possibly Docker saying that "compose" isn't a command for the second. Please also run:
If you see a version string like "20.10.5+dfsg1", the "+dfsg1" bit means your Docker version is pinned and isn't being upgraded on routine It might also be useful to confirm Buster vs Bullseye and 32-bit vs 64-bit mode via:
If I have guessed correctly about either docker-compose being out-of-date (ie not v2.18.1) and/or not having been installed correctly (ie not getting the same answer for both commands), and/or Docker being pinned or otherwise out-of-date then I recommend reading PiBuilder's reinstallation document, and doing what it says. There's a weird history behind all of this which I don't pretend to understand fully but it goes something like this:
The purpose of the reinstallation document and the scripts it tells you to run is to try to sort out any historical mess and get your system to the point where you have up-to-date So, how does all of the above answer your original question? Well, the relevant lines in the syncthing service definition are:
What the
Using
However, support for In turn, the need for either wholesale commenting-out of ports or something like the
Last thing. You might find it helpful to also read IOTstack menu maintenance because you might run into that problem as well. Hope this helps. |
I´m pretty new to docker ( - and yaml - as you also might have guessed correctly ;-) ) Fresh install of 64-bit raspbian, even updated the kernel to 6.1.21, so you guess it´s up to date...
Thanks again, would have probably taken me quite a lot of time to get to that knowledge on my own which you just provided me with your detailed explanation. |
You're welcome. So, with 64-bit Bullseye, you should be safe to run the uninstall scripts for both docker and docker-compose, then the PiBuilder 04 script (which could also be called the "install docker and modern docker-compose" script)m after which your Pi should take care of itself with routine |
Thanks again.
One more thing:
I'm using Fedora on my main machine.
Would the scripts break due to "dnf" when they don't find an "apt"?
…On Wed, 14 Jun 2023, 07:20 Phill, ***@***.***> wrote:
You're welcome. So, with 64-bit Bullseye, you should be safe to run the
uninstall scripts for both docker and docker-compose, then the PiBuilder 04
script (which could also be called the "install docker and modern
docker-compose" script)m after which your Pi should take care of itself
with routine apt update.
—
Reply to this email directly, view it on GitHub
<#710 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV6EJVBOOJUGG5UDUFEFIALXLFCY5ANCNFSM6AAAAAAZFIS5OE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sorry, no idea. I'm most familiar with systems that have The best advice I can give you is to study the PiBuilder scripts and make parallel changes where possible or find workarounds. When it comes to the Docker "convenience script" (downloaded and invoked by the PiBuilder 04 script), you'll have to consult the Docker documentation to see whether the script copes with Fedora or if Docker has an alternative. |
within the syncthing section of the docer-compose.yml somehow the yml gets written to:
"x-port:
-......
-......
"
instead of just
"port:
-.....
-.....
"
When removing the "x-" manually after building and starting the stack again, it works.
The text was updated successfully, but these errors were encountered: