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

[Bug] Equals Sign Not Recognized in CasaOS Configurations #2040

Open
kendi182 opened this issue Oct 27, 2024 · 1 comment
Open

[Bug] Equals Sign Not Recognized in CasaOS Configurations #2040

kendi182 opened this issue Oct 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kendi182
Copy link

Describe the bug

The equals sign (=) is not being recognized or passed correctly in CasaOS, causing issues with specific configurations or commands.

To Reproduce

Steps to reproduce the behavior:

Go to the CasaOS interface or relevant configuration setting.
Enter a command or configuration that includes the equals sign (=).
Attempt to apply or save the configuration.
Notice that the equals sign (=) is either ignored or causes an error.
Expected behavior

The equals sign (=) should be correctly processed and saved within configurations, as expected for common parameter settings.

Screenshots

If applicable, add screenshots showing the configuration before and after saving or any error messages displayed.

Desktop (please complete the following information):

  • OS: [e.g. Debian, Ubuntu, Windows]
  • Browser [e.g. Chrome, Firefox]
  • CasaOS Version [e.g. 0.3.6]
    System Time

Run timedatectl and share the output:

Copiar código
(timedatectl output here)
Logs

Run the following commands to collect corresponding logs:

bash
Copiar código
sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service
Additional context

Add any other context about the issue here.

If you are using a Zimaboard, please specify when you received it and if this issue is Zimaboard-specific.

@kendi182 kendi182 added the bug Something isn't working label Oct 27, 2024
@Sebastian-Schneider
Copy link

Sebastian-Schneider commented Nov 19, 2024

A similar issue arrises when using the dollar sign ("$") in casaOS app configurations. It is saved correctly but when the configuration dialog is opened again, the dollar sign is escaped ("$" becomes "$$") and as soon as you save, the configuration value is altered to "$$". The next time the dialog is opened "$$" becomes "$$$$" and so on...
image

I am using casaOS v0.4.13 on Debian with Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@Sebastian-Schneider @kendi182 and others