Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing on openmediavault #87

Open
raiden076 opened this issue May 24, 2023 · 4 comments
Open

installing on openmediavault #87

raiden076 opened this issue May 24, 2023 · 4 comments

Comments

@raiden076
Copy link

馃悰 Bug description

I am trying to install hocus on a old x86 machine, which is currently running openmediavault,
this is the error I am getting, have no idea why:


[setup-vm-images 3/6] RUN apt-get update && apt-get install -y curl wget qemu-system psmisc expect:
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-block-extra_6.2%2bdfsg-2ubuntu6.8_amd64.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-system_6.2%2bdfsg-2ubuntu6.8_amd64.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglvnd0_1.4.0-1_amd64.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglx0_1.4.0-1_amd64.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libgl1_1.4.0-1_amd64.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/q/qemu/qemu-system-gui_6.2%2bdfsg-2ubuntu6.8_amd64.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/edk2/ovmf_2022.02-3ubuntu0.22.04.1_all.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/edk2/qemu-efi-aarch64_2022.02-3ubuntu0.22.04.1_all.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/edk2/qemu-efi-arm_2022.02-3ubuntu0.22.04.1_all.deb Could not resolve 'archive.ubuntu.com' [IP: 91.189.91.38 80]
#7 156.7 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


Environment

  • Hocus version (commit hash) : installed through script today
  • OS and its version: openmediavault 6
@gorbak25
Copy link
Member

gorbak25 commented May 24, 2023

@raiden076 Thank you for checking out Hocus :)
Looks like you encountered a transient network failure with archive.ubuntu.com. Could you rerun the installation and let me know if that fixed the issue?

@raiden076
Copy link
Author

raiden076 commented May 26, 2023

@gorbak25 yes, I am retrying again, hocus is exactly what I wanted in my pipeline, if only it gets installed,
Is there any option to get verbose output, so troubleshooting further becomes a bit easier?

It's stuck in the vm builder step for the last 10 minutes.

dockeruser@omv:~/hocus$ HOCUS_HOSTNAME="omv" ops/bin/local-up.sh
ops/bin/local-up.sh: line 102: file: command not found
Building docker images 馃懛馃摝
Building vm-builder step #7 elapsed 23.42 s

@raiden076
Copy link
Author

raiden076 commented May 26, 2023

Tried as root too, gets stuck without any prompt at the same place:

root@omv:~/hocus# HOCUS_HOSTNAME="omv" ops/bin/local-up.sh
ops/bin/local-up.sh: line 102: file: command not found
Building docker images 馃懛馃摝
Building vm-builder step #7 elapsed 10.56 s

it doesn't even print anything, when a keyboard interrupt is sent,
it just, stops,
Is there anything wrong with how I am proceeding?

edit:
pruned all docker cache, and installed file,
restarted the installation, now that same previous error, cannot resolve hostname.

@gorbak25
Copy link
Member

@raiden076 We will soon release 0.3 which will remove the build step entirely, I recommend you giving it a shot when we release it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants