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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux support #623

Closed
finn1199 opened this issue Feb 19, 2025 · 12 comments
Closed

Arch Linux support #623

finn1199 opened this issue Feb 19, 2025 · 12 comments
Assignees
Labels
enhancement New feature or request

Comments

@finn1199
Copy link

Is your feature request related to a problem? Please describe.
The releases from v4.0 don't support installation on Arch Linux.
The latest Arch Linux supporting version is v3.0.6.2...
I use it.

Describe the solution you'd like
It would be so nice You'd add Arch Linux support to new WGDashboard version.
Thanks a lot for your job!!!

@finn1199 finn1199 added the enhancement New feature or request label Feb 19, 2025
@DaanSelen
Copy link
Collaborator

Since its Python, I don't see why it would not work except the installation script does not allow Arch (yet).
I am picking this up.

@DaanSelen DaanSelen self-assigned this Feb 19, 2025
@DaanSelen
Copy link
Collaborator

I can confirm it works just fine on Arch Linux, let me draft up a wgd.sh update. I'll reference this issue once I have it.

@finn1199
Copy link
Author

I can confirm it works just fine on Arch Linux, let me draft up a wgd.sh update. I'll reference this issue once I have it.

Thats great!
Waitings for it...

@DaanSelen
Copy link
Collaborator

Currently in a PR state. If you want to immediately try out the Arch support, clone: https://github.com/DaanSelen/WGDashboard branch: v4.2-dev

@finn1199
Copy link
Author

Currently in a PR state. If you want to immediately try out the Arch support, clone: https://github.com/DaanSelen/WGDashboard branch: v4.2-dev

Ok!
I'll try a little bit later today.
May be in 1h...
Not at home now.

@finn1199
Copy link
Author

finn1199 commented Feb 19, 2025

Currently in a PR state. If you want to immediately try out the Arch support, clone: https://github.com/DaanSelen/WGDashboard branch: v4.2-dev

[root@user ~]# git clone -b v4.2-dev https://github.com/donaldzou/WGDashboard.git wgdashboard
[root@user ~]# cd wgdashboard/src
[root@user src]# chmod u+x wgd.sh
[root@user src]# ./wgd.sh install

=================================================================================
+          <WGDashboard> by Donald Zou - https://github.com/donaldzou           +
=================================================================================
[WGDashboard] Starting to install WGDashboard
[WGDashboard] OS: arch
[WGDashboard] ✅ Found existing ./log folder
[WGDashboard] ✅ Found existing ./download folder
[WGDashboard] ✅ Found existing ./db folder
[WGDashboard] ✅ Python is installed
[WGDashboard] 💿 Pinging list of recommended Python Package Index mirror
              ---------------------------------------------------------
              [1] 43ms https://pypi.org/simple/
              [2] 268ms https://pypi.tuna.tsinghua.edu.cn/simple/
              [3] 293ms https://pypi.mirrors.ustc.edu.cn/simple/
              [4] 65ms https://mirrors.aliyun.com/pypi/simple/
              [5] 283ms https://pypi.douban.com/simple/

              Which mirror you would like to use (Hit enter or wait 15 seconds to use default: https://pypi.org/simple/): 
[WGDashboard] ✅ Will download Python packages from https://pypi.org/simple/
[WGDashboard] ✅ Found compatible version of Python. Will be using Python 3.13.2 to install WGDashboard.
[WGDashboard] 💿 Installing Python Virtual Environment
[WGDashboard] ❌ Sorry, your OS is not supported. Currently the install script only support Debian-based, Red Hat-based OS. With experimental support for Alpine Linux.
[WGDashboard] Please check ./log/install.txt for more details. For further assistance, please open a ticket on https://github.com/donaldzou/WGDashboard/issues/new/choose, I'm more than happy to help :)
Completed

If I try to start:
[root@user src]# ./wgd.sh start

[WGDashboard] ✅ WireGuard is already installed.
------------------------------------------------------------
[WGDashboard] Starting WGDashboard with Gunicorn in the background.
sudo: ./venv/bin/gunicorn: command not found

[root@user src]# cat log/install.txt

[Installing Python Venv] []

@DaanSelen
Copy link
Collaborator

I'll try it on another box. Within 4 hours

@finn1199
Copy link
Author

I'll try it on another box. Within 4 hours

Ok

@DaanSelen
Copy link
Collaborator

I see your mistake, you cloned the main (this repo) v4.2-dev. Clone my repo. Like I said

Donaldzou -> Daanselen (until its merged)

@finn1199
Copy link
Author

finn1199 commented Feb 19, 2025

Great!!!

Image

Everything works fine!!!

Image

Thanks a lot!!!

@DaanSelen
Copy link
Collaborator

New PR: #625

@DaanSelen
Copy link
Collaborator

Working as far as I've heard. Waiting for merger.

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

No branches or pull requests

2 participants