So to list users (something that I'd expect the CLI would do) you can execute
Code: Select all
mariadb -e "select username from phpbb_users;[ phpbb/code]
So to list users (something that I'd expect the CLI would do) you can execute
Code: Select all
mariadb -e "select username from phpbb_users;[ phpbb/code]
And with my two other posts I now believe you are right: the CLI is not mature. To administrate phpbb one either has to use the UI or dig into PHP files and the database.
CLI is for advanced users who know (and thoroughly understand) what they are doing.hiran wrote: ↑Tue Apr 02, 2024 7:05 am ...
So the list function I was expecting to find could be as simple asAlternatively add this list of parameters to the documentation.Code: Select all
mariadb -e "select * from phpbb_config" phpbb
I want to understand what I am doing. But I do not believe reverse-engineering the database structure or becoming a PHP developer should be part of administrating phpbb. These are different levels of abstraction.warmweer wrote: ↑Tue Apr 02, 2024 8:01 am CLI is for advanced users who know (and thoroughly understand) what they are doing.
Basically the above gives you a list of the entries in the config_table which can be done using a database management program e.g. phpMyAdmin, Adminer or even with Access (just link the tables into an Access database)
Perhaps phpBB API Documentation is what you are looking for.
OK, maybe https://area51.phpbb.com/docs/dev/3.3.x ... arted.html could be of use.
managing phpbb using CLI
Thank you!warmweer wrote: ↑Tue Apr 02, 2024 9:23 amOK, maybe https://area51.phpbb.com/docs/dev/3.3.x ... arted.html could be of use.
BTW: this was the first hit with google search formanaging phpbb using CLI
Without the install folder you cannot update/upgrade phpBB.
What is the recommended way to handle the install folder, if I need it for installation and for upgrades but must not have it during normal operation.
For sure that is nice to have. But I prefer something scriptable.Mick wrote: ↑Tue Apr 02, 2024 10:28 am A one click ACP update is on it’s way some time in the future https://tracker.phpbb.com/browse/PHPBB3-15851
For installing and upgrading/updating you need the/install that comes with the phpBB package (you're upgrading/updating to).
So actually it is even better to delete the install folder, as it is only required to install.