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

Can't download PDF report #39

Open
stefanoferrario opened this issue Oct 2, 2024 · 7 comments
Open

Can't download PDF report #39

stefanoferrario opened this issue Oct 2, 2024 · 7 comments

Comments

@stefanoferrario
Copy link

It's not possible download PDF report. No problem with CSV report files.

Running Omada Controller Beta
Versione controller 5.14.30.7

@jkunczik
Copy link
Owner

Do you have the chance to run the official docker container by mbentley to see if you also have the issue there?

@jkunczik
Copy link
Owner

I have updated Omada Beta to 5.14.32.2 and also fully merged all other files (install.sh and entrypoint.sh). Maybe you could try it again to see if it is working now?

@stefanoferrario
Copy link
Author

Hi, update fails
IMG_8856

@stefanoferrario
Copy link
Author

I have updated Omada Beta to 5.14.32.2 and also fully merged all other files (install.sh and entrypoint.sh). Maybe you could try it again to see if it is working now?

@jkunczik I installed the update and tried again export PDF report. Same error.
Screenshot 2024-10-27 alle 21 27 57

Export in CSV file works fine

@DraTrav
Copy link
Collaborator

DraTrav commented Nov 12, 2024

This is because it uses chromium to generate the PDF files; however, we don't currently install chromium .

The biggest Issue I see is size constraint, chromium will massively bloat the image. I am not against the change, but we need to ensure that most systems can support the extra couple of added gigs.

@jkunczik
Copy link
Owner

@stefanoferrario We are currently restructuring the repo to use submodule to ease the update process (see: #54). If there are enough requests for this topic, or you would be willing to contribute, we could make a dedicated addon with chromium installed. This would allow users with beefier systems to use this feature, while other users could still use the regular addon without chromium.

@stefanoferrario
Copy link
Author

@jkunczik I think it is a very useful implementation. it is a feature offered by Omada SDN but not usable if you use the controller as an add-on to Home Assistant.
I am currently using a Raspberry Pi5 with a 1TB SSD so I think I can test a dedicated add-on with Chromium without problems.

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

3 participants