-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
[swag-dashboard] Empty list of proxies in dashboard #606
Comments
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, this issue hasn't gone away yet. Is there anything I can do to provide more info to help debug it? |
I can also confirm this behaviour. The only thing I did to cause it was to perform a pull on docker compose as I wanted to update the "out of date" template files. Following that, I started receiving the following error messages (sanitised to remove domain and ip address):
I'm not sure what versions I moved between when doing the pull as I typically use latest tags for this docker compose suite. Line 54 of index.php is a section of function GetProxies() doing a foreach of $data, not sure where the dashboard is storing the data but it seems like it isn't pulling anything in. |
I am also getting the exact same issues described. with the same PHP warnings. |
Can you guys post a list of the active proxy confs you have, so we can try and narrow down the list a bit?
And if you have the auto-proxy mod, also post the output of And before that, make sure that the SWAG log does not list any out of date confs |
I am not using auto-proxy. I am using swag-dashboard, and swag-maxmind if it matters. All my confs are updated, including for the update that happened today (did another pull just to see if it would change things). Current image id: Result of proxy confs:
To note, it was displaying for me prior to updating late this month (based on container images left behind I'm going to guess it was this one? |
Just as an extra bit of troubleshooting, I removed all my configured |
It's looking like it's an issue with the mod and not specific to a proxy conf. The dev is looking into it. Thanks |
In case it helps: I am able to run the script from the dashboard mod with
Perhaps something on the HTML/PHP side then? I tried looking through the file history but didn't see any obvious changes that would impact the array but I admittedly don't know much. I don't remember if Shlink or Monogramm were showing up before when things were still working, so just in case I went ahead and removed those (changing it to .disabled.conf doesn't appear to impact the python script, maybe it should?) and tried again (since it isn't in the proxy folder it wasn't part of my original test, I keep my personal configurations in a different folder to separate them from the default stuff that comes with swag) but removing those configurations also had no impact on the dashboard displaying results, despite changing the python script output as expected. |
We identified the issue. It has to do with the use of venv, which is kind of required with python 3.11 |
I can confirm that PR #716 fixes the missing proxy issue for me. |
@tenfourty It looks like PR #716 was applied a few days ago, and I just executed a re-pull of the image and my SWAG Dashboard Proxy list is working again (no need for edits manually). If you haven't tried yet give it a go and maybe close out the issue? |
Unfortunately, I still have the same issue even after updating and resetting the conf file. How can I help debug the issue? |
I don't know what you mean by that. Which conf file are you referring to? You need to restart SWAG and it should download the new mod, which has the fix. |
Yes, that is what I've done. I think the issue I'm experiencing is because I'm using Swag Auto Proxy. Is there anything I can do to provide debug info? |
Open a new issue and fill out the template |
Ugh... I tried to create an issue and there is no default template and I can't see any docs on what you want. |
My bad. The mod repo doesn't have an issue template. We need the following: |
I'm using Swag Auto Proxy for most of my proxies (except one) and none of my proxies are showing up in the dashboard.
Is this a known issue or due to a misconfiguration on my side?
The text was updated successfully, but these errors were encountered: