-
-
Notifications
You must be signed in to change notification settings - Fork 545
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
New Script: Apache Guacamole #657
New Script: Apache Guacamole #657
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Phew, the script is terrible 😄 spelling mistakes and various violations of the conventions. Have a look at other current scripts. I just got a real headache trying to follow the script.
The following:
- installing dependencies
- setup database
- setup Tomcat
- setup Guacamole
- creating service
- cleanup
Use STD only when absolutely necessary, wget, curl, unzip and so on support -q
Then please do not use variable paths, but fixed paths.
First of all thank you for your honesty :D I´m still trying to get the gist of this codebase an highly appreciate the time and effort you put in this reviews and the whole project. |
Updated to account for the changes. Test it on my dev branch with |
if you have no update function, check adguard.sh (ct), otherwise the user will not get any feedback |
Error: ENOENT: no such file or directory, stat '/ct/apache-guacamole.sh' json issue, idk why |
I´ve also seen this. Maybe an issue with the frontend workflow? It probably checks the main branch and there can never be such a file when its a PR with a new script. I have also added the update_function() as requested. |
@havardthom can you check the workflow? i dont see any json issue here? 😄 |
ive see the issue now. @BramSuurdje can you check it? json-editor (https://community-scripts.github.io/ProxmoxVE/json-editor): |
The script has now been finalized. I have optimized it a little and tested it in the DEV branch. The script is a bit special because we have to use various sources here. can be tested here: bash -c "$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/refs/heads/develop/ct/apache-guacamole.sh)" @CrazyWolf13 | @IVRYSimon | @trucke Edit: Please only test, if its okay, you can delete the lxc after this, and we merge to main |
Happy to test if that's ok? |
Yes please, highly appreciated :) |
{ | ||
echo "SnipeIT-Credentials" | ||
echo "SnipeIT Database User: $DB_USER" | ||
echo "SnipeIT Database Password: $DB_PASS" | ||
echo "SnipeIT Database Name: $DB_NAME" | ||
} >> ~/guacamole.creds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michelroegl-brunner @MickLesk Any reason this contains Snipe-IT ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Copy Paste issue. I Update it
sorry for my late reply, unfortunately i'm sick in bed at the moment. i will test it as soon as i can. |
@MickLesk Sorry for the delay in testing, had to get my pve cluster fixed first. TLDR: For me it's compledtely not working! For me adding a remote connection, for example VNC, immediately fails: Normally this command enables guacd with debug logs to cli, however absolutely 0 logs appear here:
Maybe we can use inspiration at this code: https://github.com/itiligent/Easy-Guacamole-Installer Log entry from tomcat,
|
@MickLesk @joe-heaton @michelroegl-brunner @trucke Was any of you able to get guacamole working? |
Note
We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged.
Description
New Script for Apache Guacamole.
At the moment i have no Update funktion implemented, it seems it can lead to many issues to do this automaticly, but i will figure it out and create a new PR for this feature.
Fixes #656
Type of change
Please check the relevant option(s):
Prerequisites
The following efforts must be made for the PR to be considered. Please check when completed:
Additional Information (optional)
Provide any additional context or screenshots about the feature or fix here.
Related Pull Requests / Discussions
If there are other pull requests or discussions related to this change, please link them here: