When I run opsi-makeproducfile, the error below appears:
warning: Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
warning: Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
When I tried to re-install existing .opsi file, I got this error.
Errors occurred:
Failure while processing Install of package(s) /home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi on depot 'opsiserver.domain:
Backend error: Failed to install package '/home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi' on depot 'opsiserver.domain': Failed to get metadata from package '/home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi': Failed to extract archive '/home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi': [Errno 2] No such file or directory
The file exist in the directory. There was no recent change in the server. Please help. Thank you.
Backend error: Failed to install package - [Errno 2] No such file or directory
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: Backend error: Failed to install package - [Errno 2] No such file or directory
Hi,
This isn't that dominant in newer versions so you probably want to update your installation.
Try running sudo opsi-set-rights and then try to install again.
Regards
Niko
This can be ignored unless you have a modules file (then you should check this ).rmtevesjr hat geschrieben:warning: Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
warning: Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] No such file or directory: u'/etc/opsi/modules'
This isn't that dominant in newer versions so you probably want to update your installation.
Are the access rights sufficent?rmtevesjr hat geschrieben:When I tried to re-install existing .opsi file, I got this error.
Errors occurred:
Failure while processing Install of package(s) /home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi on depot 'opsiserver.domain:
Backend error: Failed to install package '/home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi' on depot 'opsiserver.domain': Failed to get metadata from package '/home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi': Failed to extract archive '/home/opsiproducts/7-zip9.2.0/7-zip9.2.0_9.2.0-1.opsi': [Errno 2] No such file or directory
The file exist in the directory. There was no recent change in the server. Please help. Thank you.
Try running sudo opsi-set-rights and then try to install again.
Regards
Niko
Code: Alles auswählen
import OPSI
[Resolved]Re: Backend error: Failed to install package - [Errno 2] No such file or directory
Thanks Nikko, this was resolved already by restarting opsi services. Thanks.