magicstone-dev / acropolis

Community-driven fork of Diaspora's federated social network software
https://magicstone.dev
GNU Affero General Public License v3.0
8 stars 4 forks source link

Problem: Acropolis not available for installation on Yunohost #78

Closed weex closed 2 years ago

weex commented 3 years ago

https://github.com/YunoHost/apps#how-to-add-your-app-to-the-application-catalog

weex commented 3 years ago

Related: https://github.com/magicstone-dev/acropolis_ynh/pull/7

weex commented 3 years ago

Next steps:

weex commented 2 years ago

Making your account admin (by adding database record):

Login to YunoHost as admin account.

ssh admin@your-yunohost

Become root:

sudo su

Login to database

sudo -u postgres psql diaspora_production

Verify that the account you want to make admin is user id 1.

select * from users;

Make user id 1 admin (or another id if someone else created an account first)

insert into roles (person_id, name, created_at, updated_at) values (1, 'admin', now(), now());

You should now see that your user is admin in the web interface. Type exit and hit enter repeatedly to log out of database, root, and ssh and you're done.