opsi-org / opsi-docker

Run opsi on docker
13 stars 2 forks source link

package-update not possible #1

Closed yunex-ts closed 1 month ago

yunex-ts commented 6 months ago

There is no possibilty to automate the repo update, right? Or is it possible via rpc?

fkalweit commented 3 months ago

Do you mean the opsi package repositories or the server packages?

The opsi packages can be kept up-to-date with the opsi-package-updater

The containers can be updated with opsi-server.sh upgrade.

yunex-ts commented 3 months ago

Hey fkalweit, I mean the automatic run of the package updater.

In that kind of environments it is not usual to setup cron jobs in container. So they have to be run manually or via some scheduled task on external systems that start package update within container.

fkalweit commented 3 months ago

You can execute the command docker compose exec opsi-server opsi-package-updater -vv update on the Docker host. A cron job could then also be set up for this command.

Maybe we would add the exec command to the opsi-server.sh script. We are also working on other methods to update the packages on the opsi-server .

I hope this helps.

j-a-n commented 1 month ago

Please use our forum at https://forum.opsi.org for support questions or conclude a support contract with uib at https://www.uib.de/en/support.