Zum Inhalt der Seite gehen


Getting back admin rights?


Hi !Friendica Support
I am using #Friendica on a #Yunohost installation, that gave me an update to 2022-12 today. I did it and after my self-coded theme and addons were gone.. I had to reupload them.

But the worse part is, that I am no admin in my own installation anymore. What column in what table do I have to change to get back admin role?
Thanks!
Als Antwort auf Grischa

Go to the file /var/www/friendica/config/local.config.php and change the admin email to yours. That's all you need.
Als Antwort auf Tio

Thanks a lot!
(It was changed to my yunohost email, I think I set it up once to my friendica email)

Friendica Support hat dies geteilt.

Als Antwort auf Grischa

You're welcome!
Yeah the YNH update does this...I had to learn to fix it every time I update mine. At least it is an easy fix.
Als Antwort auf Tio

It is.. But now I am thinking about simply changing my friendica email to my yunohost email, then I don't have to remember this. And the friendica email is not really used anyways.. hmm.

Friendica Support hat dies geteilt.

Als Antwort auf Grischa

haha that's actually exactly what I did :D
Als Antwort auf Grischa

You must set your eMail address in config/local.config.php. I am a little bit tired, so i hope this hint will help.

@Grischa
Als Antwort auf Grischa

@Grischa Admin rights are granted to the users which email addresses are mentioned in the config.admin_email configuration key set in the config/local.config.php file.
Dieser Beitrag wurde bearbeitet. (1 Jahr her)