Hi there,
just installed a new instances, actually on this very VPS as a name-based virtual hosting, it's a standard github pull of the stable branch 2024.12.
There were some strange issues with creating the local.config.php, like the install procedure didn't accept/write the mysql data into local.config.php. Same if it took that data from a prepared config.php. That data was presented in the install page but I couldn't accept and go on with the installation. So I created a local.config.php with the console and that went well.
Now I got stuck after creating the admin user in the new user option.
I don't get ea registry mail so I can't log in because I have no password.
The site itself doesn't display the option of register users anymore, I guess a first log on by the admin is required.
Actually I have no idea why this instance here does have email support and the new one doesn't.
Is there a way to activate the php mailer addon?
How do I solve this?
Can I retrieve the password form the DB with the console?
utopiArte
Als Antwort auf utopiArte • • •bump
(looks like I'm kinda desperate/impacient)
My access is only over SHH.
Is there some command I can use to activate the
phpmailer.config.php
which was located properly at/config
?Is it normal that after registering the admin in the first place the new user regstry is not available anymore?
Wasn't there some routine that displayed the inicial password in the browser with a card?
The registry page
/register
after registering the admin account displayes a blank page and "permission enied" card.Is there some way to create a inicial password over SSH in the DB?
@Hypolite Petovan @Tobias
Hypolite Petovan
Als Antwort auf utopiArte • • •bin/console
to get the full list of available commands.utopiArte
Als Antwort auf Hypolite Petovan • • •worked
thx @Hypolite Petovan !
root@VPShosting:/var/www/domaincom#
bin/console user password "<adminName>" "<newAdminPassword>"
bin/console
root@VPShosting:/var/www/domaincom#bin/console
Usage: bin/console [--version] [-h|--help|-?] <command> [<args>] [-v]
Commands:
addon Addon management
cache Manage node cache
clearavatarcache Clear the file based avatar cache
config Edit site config
contact Contact management
createdoxygen Generate Doxygen headers
dbstructure Do database updates
docbloxerrorchecker Check the file tree for DocBlox errors
extract Generate translation string file for the Friendica project (deprecated)
globalcommunityblock Block remote profile from interacting with this node
globalcommunitysilence Silence a profile from the global community page
archivecontact Archive a contact when you know that it isn't existing anymore
help Show help about a command, e.g (bin/console help config)
autoinstall Starts automatic installation of friendica based on values from htconfig.php
lock Edit site locks
maintenance Set maintenance mode for this node
movetoavatarcache Move cached avatars to the file based avatar cache
mergecontacts Merge duplicated contact entries
user User management
php2po Generate a messages.po file from a strings.php file
po2php Generate a strings.php file from a messages.po file
typo Checks for parse errors in Friendica files
postupdate Execute pending post update scripts (can last days)
relocate Update node base URL
serverblock Manage blocked servers
storage Manage storage backend
relay Manage ActivityPub relay servers
Options:
-h|--help|-? Show help information
-v Show more debug information.
bin/console user -h
root@VPShosting:/var/www/domaincom#bin/console user -h
console user - Modify user settings per console commands.
Usage
bin/console user password <nickname> [<password>] [-h|--help|-?] [-v]
bin/console user add [<name> [<nickname> [<email> [<language> [<avatar_url>]]]]] [-h|--help|-?] [-v]
bin/console user delete [<nickname>] [-y] [-h|--help|-?] [-v]
bin/console user allow [<nickname>] [-h|--help|-?] [-v]
bin/console user deny [<nickname>] [-h|--help|-?] [-v]
bin/console user block [<nickname>] [-h|--help|-?] [-v]
bin/console user unblock [<nickname>] [-h|--help|-?] [-v]
bin/console user list pending [-s|--start=0] [-c|--count=50] [-h|--help|-?] [-v]
bin/console user list removed [-s|--start=0] [-c|--count=50] [-h|--help|-?] [-v]
bin/console user list active [-s|--start=0] [-c|--count=50] [-h|--help|-?] [-v]
bin/console user list all [-s|--start=0] [-c|--count=50] [-h|--help|-?] [-v]
bin/console user search id <UID> [-h|--help|-?] [-v]
bin/console user search nick <nick> [-h|--help|-?] [-v]
bin/console user search mail <mail> [-h|--help|-?] [-v]
bin/console user search guid <GUID> [-h|--help|-?] [-v]
bin/console user config list [<nickname>] [<category>] [-h|--help|-?] [-v]
bin/console user config get [<nickname>] [<category>] [<key>] [-h|--help|-?] [-v]
bin/console user config set [<nickname>] [<category>] [<key>] [<value>] [-h|--help|-?] [-v]
bin/console user config delete [<nickname>] [<category>] [<key>] [-h|--help|-?] [-v]
Description
Modify user settings per console commands.
Options
-h|--help|-? Show help information
-v Show more debug information
-y Non-interactive mode, assume "yes" as answer to the user deletion prompt
TupambAdminCom [2024.12]
Als Antwort auf utopiArte • • •@utopiArte @Hypolite Petovan @Tobias
hello world!
👍
TupambAdminOrg [2024.03]
Als Antwort auf TupambAdminCom [2024.12] • • •Hi @TupambAdminCom [2024.12]!
🙂
@utopiArte @Hypolite Petovan @Tobias
utopiArte
Als Antwort auf utopiArte • • •Actually there is also the general config print of /bin/console:
root@VPShosting:/var/www/tupambaecom#
bin/console config
The phpmailer addon at least now figures and probably can be set from console. Setting
phpmailer.smtp =>
to1
and adding the correct settings, alongside the filling out activating phpmailer.config.php and moving it to /config should activate the mail support.phpmailer
phpmailer.smtp => 1phpmailer.smtp_server =>
phpmailer.smtp_port => 587
phpmailer.smtp_secure => tls
phpmailer.smtp_port_s => 465
phpmailer.smtp_username =>
phpmailer.smtp_password =>
phpmailer.smtp_from =>
@Hypolite Petovan