Skip to main content


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!

reshared this

in reply to Grischa

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

Friendica Support reshared this.

in reply to Tio

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

Friendica Support reshared this.

in reply to 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.

Friendica Support reshared this.

in reply to 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 reshared this.

in reply to Grischa

haha that's actually exactly what I did 😁

Friendica Support reshared this.

in reply to 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.
This entry was edited (1 year ago)