nebulo Posted September 15 Share Posted September 15 (edited) Hello everybody, I am currently facing an issue using the froxlor-cli. I am not able to export my settings via froxlor-cli. I am trying to do it via: /var/www/html/froxlor/bin/froxlor-cli froxlor:api-call froxlor Froxlor.exportSettings This produces the error: Quote Internal PHP error: #2 Undefined array key "groups" The export via the admin-panel works fine. Quote - Froxlor: 2.0.23-1 (202304260) - froxlor update-channel: stable - Serversoftware: Apache/2.4.52 (Ubuntu) - PHP-Version: 8.1.2-1ubuntu2.14 - MySQL server version: 5.5.5-10.6.12-MariaDB-0ubuntu0.22.04.1 - Webserver interface: APACHE2HANDLER - Kernel: 5.15.0-83-generic (x86_64) - OS: jammy Can somebody confirm whether this is working and my individual problem or a bug. Edited September 15 by nebulo Explicitly ask a question. Link to comment Share on other sites More sharing options...
0 nebulo Posted September 15 Author Share Posted September 15 Hm very strange. After I've opened "System Settings" and enabled "Hide incompatible settings" it works. But I had some problem to save "System Settings" again afterwards. I got the message: "Invalid MySQL host address: [<public ipv6>]". The latter seemed to be caused by one or more entries in "MySQL-Access-Hosts". After I've removed all public ips (v4 and v6) - which are not reachable anyway because of firewall-rules - I am able to change and save settings again. Link to comment Share on other sites More sharing options...
0 d00p Posted September 15 Share Posted September 15 I'll check shortly Link to comment Share on other sites More sharing options...
0 d00p Posted September 15 Share Posted September 15 works fine as admin with change_serversettings permission = true and any other users gets a `Not allowed to execute given command.` error-message on latest version and debian 11/12 Link to comment Share on other sites More sharing options...
Question
nebulo
Hello everybody,
I am currently facing an issue using the froxlor-cli. I am not able to export my settings via froxlor-cli. I am trying to do it via:
/var/www/html/froxlor/bin/froxlor-cli froxlor:api-call froxlor Froxlor.exportSettings
This produces the error:
The export via the admin-panel works fine.
Can somebody confirm whether this is working and my individual problem or a bug.
Edited by nebuloExplicitly ask a question.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now