Important: I'm not knowledgeable about devops so I made these changes somewhat in the dark, just to not get stuck and be able to move forward with other tasks, that is why I encourage careful evaluation by a devops engineer whether this should be merged or not, and I also provide steps to replicate / revert it.
The changes can be summarized as:
updated debian distro everywhere (find and replace)
run up.sh and fixed console errors until "it worked"
This PR updates the docker files to make use of debian bullseye. What problem does it solve?
Initially I encountered this issue when running ./up.sh
E: The repository 'http://apt.postgresql.org/pub/repos/apt buster-pgdg Release' does not have a Release file.
After that, the up.sh script worked and the site was accessible locally
How to test?
Run the up.sh script
How have functionalities been implemented?
--
Any issues with implementation?
This PR "works" at least to avoid getting stuck and I believe it should not affect other features in case this PR is not used or replaced by something else
Pull request for issue: #376
Important: I'm not knowledgeable about devops so I made these changes somewhat in the dark, just to not get stuck and be able to move forward with other tasks, that is why I encourage careful evaluation by a devops engineer whether this should be merged or not, and I also provide steps to replicate / revert it.
The changes can be summarized as:
This PR updates the docker files to make use of debian bullseye. What problem does it solve?
Initially I encountered this issue when running ./up.sh
Looking at https://apt.postgresql.org/pub/repos/apt/dists/ it looks like the buster repo is no longer available, also this post suggests that buster is EOL / deprecated https://www.postgresql.org/message-id/Zqj_4nlZEqfbQ2aM%40msg.df7cb.de
I replaced all instances of buster by bullseye in the entire codebase, then I run the up.sh script again, and run into this error:
which indicates that the bullseye/updates repo does not exist. To fix it I replaced the next code in fuw/docker-pure-ftpd/Dockerfile
The next error indicates missing deps
=> ERROR [ftpd builder 3/4] RUN apt-get -y update && apt-get -y --force-yes --fix-missing install dpkg-dev debhelper && apt-get -y build-dep pure-ftpd
So in file fuw/docker-pure-ftpd/Dockerfile I replace the following code:
After that, the up.sh script worked and the site was accessible locally
How to test?
Run the up.sh script
How have functionalities been implemented?
--
Any issues with implementation?
This PR "works" at least to avoid getting stuck and I believe it should not affect other features in case this PR is not used or replaced by something else