Pakete aus dem Repository werden nicht angezeigt

Antworten
LadaNiva
Beiträge: 1
Registriert: 14 Mär 2016, 17:31

Pakete aus dem Repository werden nicht angezeigt

Beitrag von LadaNiva »

Hallo Leute,

ich habe gerade folgedes Problem: Der Opsi-Server ist inalliert und ein CLient ist eingebunden. Ich habe zusätzliche Repositories eingebunden:

Code: Alles auswählen

[repository_dfn]
active = true
baseUrl = https://opsi.wzb.eu
autoInstall = true
autoUpdate = true
autoSetup = true
onlyDownload = false


[repository_dbp]
; Activate/deactivate the repository
active = true
; If the repository is an opsi depot, opsiDepotId should be set
; In that case it is not required (but allowed) to set baseUrl, dirs, username and password
opsiDepotId =
; The base url of a product package repository
baseUrl = http://opsi.disconnected-by-peer.at
; Comma separated directories to include in search for product packages
; Use / if search should be done in baseUrl
; dirs = public/release, public/testing, restricted/release, restricted/testing
dirs = public/release
; Comma separated list of regular expressions
; If a product package file matches one of these regular expressions it will not be downloaded
excludes =
; Username for connection to repository
; username = dbp
; Password for connection to repository
; password = dbp
; AutoInstall will be checked if a product package is found on the repository
; and the product is not yet installed on the local depot
autoInstall = true
; AutoUpdate will be checked if a product is already installed on the local depot
; and a more recent product version is found in the repository
autoUpdate = true
; If autoSetup is set to true, the action request "setup" will be set for every updated product
; on all clients of the local depot where the installation status of the product is "installed"
autoSetup = true
; Set True if you want only Download packages without installation
onlyDownload = false
; Set Proxy handler like: http://10.10.10.1:8080
proxy =
Mit einem opsi-product-updater -i -vv kann ich den Download der Repositories starten. Diese kommen dann auch an, aber ich kann die neuen Pakete nicht im Management-Interface sehen und dementsprechend auch nicht verteilen.

Muss ich noch etwas machen, damit die neuen Pakete im Management-Interfce angezeigt werden?

Gruß,
LadaNiva
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Pakete aus dem Repository werden nicht angezeigt

Beitrag von n.wenselowski »

Hi,

einfacher Check: tauchen die Produkte bei folgendem Befehl auf:

Code: Alles auswählen

opsi-package-manager --list
Wurde der Configed neu geladen?


Gruß

Niko

Code: Alles auswählen

import OPSI
Benutzeravatar
GEI
Beiträge: 233
Registriert: 12 Feb 2010, 13:00
Wohnort: Braunschweig
Kontaktdaten:

Re: Pakete aus dem Repository werden nicht angezeigt

Beitrag von GEI »

LadaNiva hat geschrieben: Mit einem opsi-product-updater -i -vv kann ich den Download der Repositories starten. Diese kommen dann auch an, aber ich kann die neuen Pakete nicht im Management-Interface sehen und dementsprechend auch nicht verteilen.
was sagt denn die Log-Datei

Code: Alles auswählen

/var/log/opsi/opsi-product-updater.log
Hilfreich ist es hier auch, wenn die externen Paket-Repositorys mit jeweils separater Conf angesprochen werden. Dann bekommt man neben den separaten Log-Files auch die Möglichkeit, die Zeitabstände im Cron anzupassen:

Code: Alles auswählen

PATH=/sbin:/bin/:/usr/sbin/:/usr/bin
MAILTO="deineMailAdresse@DOMAIN.TLD"
50  4       *  *  Mon-Fri  /usr/bin/opsi-product-updater -v   -c /etc/opsi/opsi-product-updater_uib.conf
0   5-17/2  *  *  Mon-Fri  /usr/bin/opsi-product-updater -vv  -c /etc/opsi/opsi-product-updater_dfn.conf
Leibniz-Institut für Bildungsmedien | Georg-Eckert-Institut (GEI)
---
'opsi4instituts' = Communityprojekt für wissenschaftliche Einrichtungen
offenes Repository, Update-Notifier
wiki.o4i.org - www.gei.de/institut/direktion/it-service/opsi4instituts
Antworten