-
Notifications
You must be signed in to change notification settings - Fork 277
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
Run on ARM/Raspberry #6
Comments
Seems like this is amd64 (x86_64) image at OS level. @adamwalach , would it be possible to get image released, best based on alpine? Ubuntu would work great or if you could provide some hints on what is that image - how to get it built - https://hub.docker.com/layers/awalach/openvpn-web-ui/latest/images/sha256-263d539faf6e7f40a6b4a092260b26ac0647c5cad62861406fda1f3e752f1e97?context=explore. I can try to reverse engineer it from layers, but it is more work vs if you could provide some instructions as seems like your image is compilation of standard openvpn image (amd64) + templates with AdminLTE (amazingly compiled btw. thanks for great work). Any hints would be great. |
Small update: The missing part, where some help is needed - should it be run manually and keep it open or as daemon or maybe just expose one of the folders? I'll keep digging, but some help would be appreciated. UPDATE1: found "bee pack -exr='^vendor|^data.db|^build|^README.md|^docs'" - seems like am on good path to get that running as everything is in the package.
|
Any progress here? Is there any alternative for an openvpn-gui for arm devices like raspberry (3 or 4)? Cheers! |
If you're asking me, then yes - I got it up and running on arm64. |
@bugsyb would you be willing to share your solution with us? |
@MPapst - sure, happy to. Not that familiar with Github - but will need to do some reading, unless one could point me to good RTFM ;) |
@bugsyb the keyword is forking, maybe github offers a help site about that. |
Done as much as could so far (noob on Github)...
Hope this helps and in case of troubles let me know under repos and I'll try to fix it - didn't have time to test if all works as couldn't spun up separate docker host to play and not impact my prod (lack of time). |
@bugsyb thank you for updating and spending time for ARMv8 port. Thanks a lot in advance! Update:
This will skip createDefaultOVConfig and web server starts normally. |
@d3vilh , not sure if it helps and if not posted already, but I haven't such issue.
Didn't build/rebuild it for quite some time and don't have time to go through the step by step hence only throwing some portions of files in hope it will give some clues.
On the UI src code - outside of what has been published, nothing else has been changed and it fresh copy of my mods to get that working. |
A few things to add here: I've been working on a version of this web-ui specifically for OpenVPN TAP servers (non-Docker, due to bridging), running on amd64 architectures -- but using PiVPN as the script to setup the initial server (works for Debian and Ubuntu on amd64). It's been working well, and I'm happy with the end result. There are still a couple of features that I'm planning to integrate from other forks in this repository. So I thought, I'd try building a Docker image for the Raspberry Pi in ARMv7 mode, expecting there would be numerous changes -- but there were almost none! A couple of syntax tweaks having to do with the underlying OS, which I fixed with constructions that should work everywhere. Everything has been updated internal to the application, as well as supporting the latest version of OpenVPN and EasyRSA. It's integrated with PiVPN, so you can use PiVPN commands from the command line as well. The primary update to the interface is the change to a dark theme: |
Hi, I've tried running this on a Raspberry but the docker instances keep restarting.
running
docker logs openvpn
shows the following error:
standard_init_linux.go:195: exec user process caused "exec format error''
so I guess these dockers do not run on ARM. It would be great to be able to do so though. do you have any plans to add support for ARM? or maybe provide instructions on how to build it myself?
Kind regards,
Taco Scheltema
The text was updated successfully, but these errors were encountered: