-
Notifications
You must be signed in to change notification settings - Fork 25
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using qemu to run this on x86? #17
Comments
@gurkburk76 After a few days of trial and error I was able to run it on x86, I made a fork and tried to document everything here |
That's really cool! I'll have a look. I tried running the docker image in x86 a while back but ran in to many problems. How stable is your solution running? |
I've run into a few issues while trying to get this going, something about the database not getting created from what i can tell from the logs. cat /proc/cmdline my config to start the container: logs of errors, there are a few more errors but it would make sense that some services won't start if the database dosen't get created ;) docker exec -it unifi-protect /bin/bash: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=999) |
@gurkburk76 hmm it seems unifi-core and ulp-go services hit the timeout too soon, which means for some reason the timeout I set was ignored |
OK, sooo, what to do? :) |
@gurkburk76 waait I think there's a mistake in your command: you're still running If you don't want to use docker-compose as the docs suggested, you will have to build it using this command:
And then modify your command by replacing Btw I enabled the issues on my forked repository to avoid spamming Mark until we get a working version, so feel free to open an issue there if you still need help: https://github.com/kiwimato/unifi-protect-arm64/issues |
TL;DR for the thread mentioned above for future reference: Even though increasing some systemd service timeouts can make it work on a fast enough CPU, eventually it still crashed in various ways and I don't have the time or energy to invest into right now. Just for future reference a comparison of initial start time between running it on a 2 x 8 core CPU E5-2630 v3 @ 2.40GHz baremetal machine (emulated aarch64 on x86) vs a Raspberry PI 4: 4 min vs 1 min. |
I don't know enough to get this running under docker on a x86 machine using qemu to emulate a arm64 but i think it would be possible, does anyone have or could make a guide?
The text was updated successfully, but these errors were encountered: