Update Pleroma references in documentation #36

Closed
opened 2022-07-02 16:22:42 +00:00 by norm · 13 comments
Contributor

Many of the install guides still refer to the Pleroma repo and the like.

To-do:

  • Documentation
    • Index
    • Installation
    • Development
    • Configuration
    • Administration
  • Sample config files in installation directory
Many of the install guides still refer to the Pleroma repo and the like. To-do: - [x] Documentation - [x] Index - [x] Installation - [x] Development - [x] Configuration - [x] Administration - [x] Sample config files in `installation` directory
Author
Contributor

One thing I'm wondering is that there's refences to Pleroma's IRC channel for support. What's the best way to handle this sort of thing?

One thing I'm wondering is that there's refences to Pleroma's IRC channel for support. What's the best way to handle this sort of thing?
Author
Contributor

Also should the sample config files be updated as well?

Also should the sample config files be updated as well?

we don't really have any sort of irc support, so i guess for now it can just be cut out?

by sample config? if it links to the git repo just for reference then i guess we redirect them here, but there are some references to repos actually needed (like emoji stuff) which isn't migrated here yet

we don't really have any sort of irc support, so i guess for now it can just be cut out? by sample config? if it links to the git repo just for reference then i guess we redirect them here, but there are some references to repos actually needed (like emoji stuff) which isn't migrated here yet
Author
Contributor

I was wondering if it's okay to change the pleroma user to akkoma in the docs or should that be kept as is?

I was wondering if it's okay to change the `pleroma` user to `akkoma` in the docs or should that be kept as is?
Contributor

should akkoma's docs even reference pleroma-fe? from what I understand one of the main points of this fork is to make any frontend able to be the "main one" (which is also why I don't think our pleroma-fe should be rebranded to akkoma-fe)

imo the extensive docs should be removed and replaced with a link to docs-develop, with a reference to akkoma's soft fork of pleroma-fe as well.

should akkoma's docs even reference pleroma-fe? from what I understand one of the main points of this fork is to make any frontend able to be the "main one" (which is also why I don't think our pleroma-fe should be rebranded to akkoma-fe) imo the extensive docs should be removed and replaced with a link to docs-develop, with a reference to akkoma's soft fork of pleroma-fe as well.

yeah, when i fully disconnect pleroma-fe (coming soon (tm)) it'll probably be a good idea to remove the links from the docs, but until then i guess they'll stay

yeah, when i fully disconnect pleroma-fe (coming soon (tm)) it'll probably be a good idea to remove the links from the docs, but until then i guess they'll stay

Hi, I'm not sure if this belongs here or to a separate ticket, but there are also a lot of references to Pleroma in environment variables, PostgreSQL user, etc. For example, my instance wouldn't start until I symlinked /etc/akkoma to /etc/pleroma as it would otherwise complain about missing PLEROMA_CONFIG_PATH.

I think I could take a shot at this, but what is your stance on what pleromas should be changed to akkomas?

Hi, I'm not sure if this belongs here or to a separate ticket, but there are also a lot of references to Pleroma in environment variables, PostgreSQL user, etc. For example, my instance wouldn't start until I symlinked `/etc/akkoma` to `/etc/pleroma` as it would otherwise complain about missing `PLEROMA_CONFIG_PATH`. I think I could take a shot at this, but what is your stance on what pleromas should be changed to akkomas?
Contributor

this would break a lot of existing installations and renaming every folder and user is a hassle, so unless you could write a script that automates it i think it should be at at least kept as a fallback

this would break a *lot* of existing installations and renaming every folder and user is a hassle, so unless you could write a script that automates it i think it should be at at least kept as a fallback
Author
Contributor

@mjmrotek does this fix the issue for you? 271e08fa48

@mjmrotek does this fix the issue for you? https://akkoma.dev/AkkomaGang/akkoma/commit/271e08fa48a02900f12a72e4cacc8c04e2d34419
Author
Contributor

Perhaps I could make the changes to lib/pleroma/config/release_runtime_provider.ex in #48 be a separate PR.

Perhaps I could make the changes to `lib/pleroma/config/release_runtime_provider.ex` in https://akkoma.dev/AkkomaGang/akkoma/pulls/48 be a separate PR.

this would break a lot of existing installations and renaming every folder and user is a hassle, so unless you could write a script that automates it i think it should be at at least kept as a fallback

Ok, it's just that some instructions from https://docs.akkoma.dev/main/backend/installation/otp_en/ don't work because of things named "akkoma" in the docs and "pleroma" in the actual downloaded files, for example /opt/akkoma/installation/akkoma.nginx is actually /opt/akkoma/installation/pleroma.nginx, same for /opt/akkoma/installation/init.d/akkoma.

@mjmrotek does this fix the issue for you? 271e08fa48

Thanks, I'll try. The symlink hack worked for me though, so it wasn't a pressing issue, just something that confused me during installation. I also had a leftover Pleroma files on the same server, so initially Akkoma worked but was reading the Pleroma config while I didn't notice.

> > this would break a *lot* of existing installations and renaming every folder and user is a hassle, so unless you could write a script that automates it i think it should be at at least kept as a fallback Ok, it's just that some instructions from https://docs.akkoma.dev/main/backend/installation/otp_en/ don't work because of things named "akkoma" in the docs and "pleroma" in the actual downloaded files, for example `/opt/akkoma/installation/akkoma.nginx` is actually `/opt/akkoma/installation/pleroma.nginx`, same for `/opt/akkoma/installation/init.d/akkoma`. > @mjmrotek does this fix the issue for you? https://akkoma.dev/AkkomaGang/akkoma/commit/271e08fa48a02900f12a72e4cacc8c04e2d34419 Thanks, I'll try. The symlink hack worked for me though, so it wasn't a pressing issue, just something that confused me during installation. I also had a leftover Pleroma files on the same server, so initially Akkoma worked but was reading the Pleroma config while I didn't notice.
Author
Contributor

Ok, it's just that some instructions from https://docs.akkoma.dev/main/backend/installation/otp_en/ don't work because of things named "akkoma" in the docs and "pleroma" in the actual downloaded files, for example /opt/akkoma/installation/akkoma.nginx is actually /opt/akkoma/installation/pleroma.nginx, same for /opt/akkoma/installation/init.d/akkoma.

Should be fixed in #48 which was merged just now.

this would break a lot of existing installations and renaming every folder and user is a hassle, so unless you could write a script that automates it i think it should be at at least kept as a fallback

I think the only hardcoded path in the actual Pleroma code that needed to be changed was in lib/pleroma/config/release_runtime_provider.ex which was fixed in #51 (with a fallback to the old path).

@floatingghost @sfr okay to close now?

> Ok, it's just that some instructions from https://docs.akkoma.dev/main/backend/installation/otp_en/ don't work because of things named "akkoma" in the docs and "pleroma" in the actual downloaded files, for example /opt/akkoma/installation/akkoma.nginx is actually /opt/akkoma/installation/pleroma.nginx, same for /opt/akkoma/installation/init.d/akkoma. Should be fixed in #48 which was merged just now. > this would break a lot of existing installations and renaming every folder and user is a hassle, so unless you could write a script that automates it i think it should be at at least kept as a fallback I think the only hardcoded path in the actual Pleroma code that needed to be changed was in `lib/pleroma/config/release_runtime_provider.ex` which was fixed in #51 (with a fallback to the old path). @floatingghost @sfr okay to close now?

seems good to me, thanks for all the work, it helps a lot

seems good to me, thanks for all the work, it helps a lot
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#36
No description provided.