Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
bmdbupdate.exe missing from latest docker build
-
Hello,
Running the latest proget docker for linux, seems to indicate the bmdbupdate.exe is missing. Here is the message:
ProGet version is 5.2.30.4.
Attempting to use shared configuration for ProGet.
Shared configuration file loaded from /usr/share/Inedo/SharedConfig/ProGet.config.
No encryption key is configured. Credentials will be stored in plain text.
Current DB schema version is 5.2.29.8.
Cannot open assembly '/usr/local/proget/db/bmdbupdate.exe': No such file or directory.What has changed?
Thanks
Krish
-
Looks like there was an issue with our deployment and the Postgres updater got left out of the Docker image. I've pushed a new one, so if you re-pull the 5.2.30 image, it ought to work.
-
Thank you. I will test this later this afternoon and update.
-
Hi,
has this been resolved? I removed and re-pulled the 5.2.30 image but still receive the same error...
Best regards
AlexEdit:
I pulled the "latest" tag, has this been fixed too?
-
It looks like the "latest" tag didn't get updated properly for some reason. I've triggered another rebuild on it, and it refers to the correct commit now.
-
5.2.30 works for me. I see the files restored. Thanks inedo!
-
@gdivis, it would seem the image still have not been updated.
Using the "Linux and Docker Installation Guide" there are still issues when using the latest proget image.
After creating theproget-sql
container as instructed, when executing the following commanddocker run -d -v proget-packages:/var/proget/packages -p 4300:80 --net=proget --name=proget -h proget --restart=unless-stopped -e SQL_CONNECTION_STRING="Data Source=proget-sql; Initial Catalog=ProGet; User ID=sa;Password=<Secret>" inedo/proget
The following error is returned in the log and the container continuously retarts.
ProGet version is 5.2.32.5.
Attempting to use shared configuration for ProGet.
Shared configuration file loaded from /usr/share/Inedo/SharedConfig/ProGet.config.
No encryption key is configured. Credentials will be stored in plain text.
Current DB schema version is unknown.
Cannot open assembly '/usr/local/proget/db/bmdbupdate.exe': No such file or directory.Inspecting the container (in Docker Desktop) shows the following variables.
Environment SQL_CONNECTION_STRING = Data Source=proget-sql; Initial Catalog=ProGet; User ID=sa;Password=<Secret> PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin MONO_VERSION = 6.10.0.104 PROGET_DATABASE = Server=proget-postgres; Database=postgres; User Id=postgres; Password=; PROGET_DB_TYPE = PostgreSQL PROGET_SVC_MODE = both Mounts /VAR/PROGET/PACKAGES = /var/lib/docker/volumes/proget-packages/_data /USR/SHARE/INEDO/SHAREDCONFIG = /var/lib/docker/volumes/d46317bc74e4334d6ee4a6854b46b66220b3ac1217c2734163be4e6fcb8f6ba6/_data /VAR/PROGET/EXTENSIONS = /var/lib/docker/volumes/b53c4441ac36102ba5121441916e5889b0f456ad14906795b13d7c03dc877741/_data Port 80/tcp = localhost:4300
-
This is unfortunately a documentation issue. We changed some of the environment variable names for ProGet 5.3 - so you'll need to use:
-e PROGET_DATABASE="Data Source=proget-sql; Initial Catalog=ProGet; User ID=sa;Password=<Secret>" \ -e PROGET_DB_TYPE=SqlServer
instead of
-e SQL_CONNECTION_STRING=...
We'll update the docs to note this for ProGet 5.2.