Skip to main content


Merry Christmas! Soapbox v3.0 is finally here. Thank you to everyone who helped make this release special. πŸŽ„ πŸŽ…

https://soapbox.pub/blog/releasing-soapbox-3.0/

This entry was edited (1 year ago)
any docs on Events so i can add then to Mastodont-c?
@neThere really should be. Top priority for 2023 is to build better docs and website, so it will come then.
docs first please, if u want more than soapbox we outta have em, it helps ME NIGGA
@ne
  • GET /api/v1/timelines/public?only_events=true get a list of events
  • Status entity can now contain an Event at status.event
  • POST /api/v1/pleroma/events to create an event
  • something something something
  • Events are basically just statuses with extra metadata, and we display them with a special UI in Soapbox
If I do this, does the website go down temporarily or will anyone actually notice?
@williamFor others reading, upgrade instructions are here: https://soapbox.pub/install/

There will be some downtime. How much depends on how old your installation is. Do you have the ability to Edit posts already? If so, downtime will be brief. If no, you may want to wait until after Christmas, and be prepared to run pg_repack after: https://gitlab.com/soapbox-pub/rebased/-/snippets/2463995

Regardless, you can upgrade just the frontend now, which will be no problem and has no downtime.
great work. How many ressources on a VPS would you recommend running a single user Soapbox instance?
@aphandersenAt least 2 cores and 4gb RAM. There is really no such thing as single-user in terms of performance since remote users make the backend do pretty much the same stuff as local users.
@alexIs the chat feature limited to the local instance or it's federated as well?
@anongoIt federates, but only with other instances that support chats.
@anongoI have a demo of PGP messaging here: https://gitlab.com/soapbox-pub/soapbox/-/merge_requests/1530

It’s possible, but opens up a whole lot of new problems.
@alexIs there a plan to offer an official docker image to streamline the deployment of Soapbox v3.0?
@anongoWe already build Docker images as part of GitLab CI. You can find them pretty easily by poking around the repos.
@alexHuge congratulations. Love all the work that has been put into it and I don't need to stress how much you love this project.

Wish list:

- Documentation to implement translation

- Some option to allow visitors view the website - with option of local, federated, or any page - instead of a registration wall. Link: https://gitlab.com/soapbox-pub/soapbox/-/issues/1216
@alexIs there a way to fix this huge space between the post caption and images?

Link to post: https://mastindia.co/@Deus/posts/AR0VeMLqmfB0efzXge
@msilvyaThe remote server isn’t sending us metadata. We don’t crop images. So we can either crop images from remote servers, or they can upgrade their shit.
@alexYou didn't understand. The images are not being cropped. I'm talking about the 'space' between the caption of the post and images in the post.
@msilvyaThis is not normal. Why is this post like this? Whoever created this post did something that 99% of people don’t do. So figure out what it was, and maybe we can fix it.
@alexI'm the one who posted it. I copied the image to my clipboard from a Facebook post and pasted it on to the input text area on Soapbox. It was of course uploaded. After that, I added the caption and hit Post.
@msilvyaThere must be some configuration adding those <a> tags, but I’ve never seen it before.
@msilvyaThe <a> tags are fine, the weird thing is they’re empty and the url is in the title= attribute.

Is fedi really just throwing around html snippets like that?
@mar77i@alexAlex - Bumping this and disturbing you as I feel this needs your attention. Wanted to share that it's being displayed like this on a Mastodon site.

I posted it the usual way - drag and drop with not copy/pasting from clipboard. Is there a quick fix for this?

Link to post: https://mastindia.co/@Deus/posts/ARO7ApYOcfmADuEf5s
@mar77i
On that note, what should be my step of narrowing it down, Alex? I looked at the activities table in the database just to see if I find anything there. But it certainly is overwhelming.

As you mentioned above, it looks like some setting in Admin FE that I might have messed up. Is there a way (or some command) I could run so the settings for Rebased are set back to default?
@msilvya@mattyi corrected myself in the replies
cd /opt/pleroma
MIX_ENV=prod mix pleroma.config migrate_from_db --env=prod -d --path=/opt/pleroma/config/export_prod.secret.exs
@msilvya@matty make sure you're in the /opt/rebased directory and prepend your mix task with MIX_ENV=prod
@graf@mattyTried sudo systemctl status postgresql.service

Getting the password prompt.

Copied the password from the prod.secret.exs file.

Incorrect password
@msilvya@mattymake sure your postgresql is running (protip its probably not)
@matty@grafpostgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: active (exited) since Fri 2022-12-16 10:03:05 UTC; 3 weeks 1 day ago Main PID: 788 (code=exited, status=0/SUCCESS) CPU: 1ms

Notice: journal has been rotated since unit was started, output may be incomplete.
@matty@grafSet configurable from database to false

Saved file.

Ran systemctl restart pleroma

Done!
This entry was edited (1 year ago)
@msilvya@mattynow you can continue on with whatever matty was trying to get you to do. cheers and good luck friend
@graf@mattyPHEW! I guess all went well?

Database configuration settings have been exported to config/prod.exported_from_db.secret.exs
This entry was edited (1 year ago)
@msilvya@mattyMIX_ENV=prod mix pleroma.config migrate_from_db

it will be in the config dir anyway
@graf@mattycd /opt/pleroma

MIX_ENV=prod mix pleroma.config migrate_from_db --env=prod -d --path=/opt/pleroma/config/export_prod.secret.exs
Impossible to save settings to this directory /opt/pleroma/config/export_prod.secret.exs
`** (File.Error) could not open "/tmp/prod.exported_from_db.secret.exs": no such file or directory
    (elixir 1.13.4) lib/file.ex:1445: <a href="http://File.open!/2" rel="ugc">File.open!/2</a>
    (pleroma 2.4.53-2100-g64945b3b.develop+soapbox) lib/mix/tasks/pleroma/config.ex:286: Mix.Tasks.Pleroma.Config.migrate_from_db/1
    (mix 1.13.4) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.13.4) lib/mix/cli.ex:84: Mix.CLI.run_task/2
@msilvya@mattyyou’re trying to run the systemctl command as the user pleroma which likely doesn’t have elevated privileges (because nowhere in the guide does it tell you to, and you shouldnt have escalated privileges on anything public facing ever)
exit
sudo systemctl restart postgresql pleroma
sudo -Hu pleroma bash
cd /opt/pleroma
MIX_ENV=prod mix pleroma.config migrate_from_db --env=prod -d --path=/opt/pleroma/config/export_prod.secret.exs
@matty@grafApologies in the delay, was getting the 502 error.

Same issue. Link and pic below.

Also got this message when I first opened the site after the 502 error went away: You must enable configurable_from_database in your config file.

Link: https://mastindia.co/@Deus/posts/ARQJ2MfaHKXz1vUChc
@matty@grafAlex, if you're still here and have not muted this conversation, I'd like to add here that @tony also tried it in his instance. He's facing the same issue.
@graf@matty@tonyGraf. Link to my site: https://mastindia.co/ where this issue is happening.

Drag/Drop OR Browse OR Paste image from clipboard. Reproducible with all these options.
@msilvya@matty@tony got a link to a site where you're dragging and dropping images from? ill look at it tomorrow
@graf@matty@tonyThanks Graf. Will set it back to true. BTW it’s not happening for single images - a post with 1 image.
@msilvya@matty@tonyno, not sure why he left you hangin but you can just put

configurable_from_database back to true and restart and the errors will go away, your issue of dragging and dropping images im not sure of and im headed to lay in bed so i dont have the ability to troubleshoot for you but at least your instance wont be spitting errors until someone has time
@matty@graf@tonyI guess we’ve ran out of options and my only option now is to Keel it and reinstall Rebased+Soapbox? OR Pleroma + Soapbox?

Thank you for your time and trying to help out.
@matty@graf@tonyDid all the above. Same issue. Also this toast message. Ignore?
@matty@graf@tonyHappens with all the following three.
  • Drag/Drop
  • Browse (inbuilt add media attachment)
  • Paste image from clipboard
This entry was edited (1 year ago)
@graf@matty@tonyAttaching the images. You can use any image you want tbh.
@matty@graf@tonySharing the settings of my MRF page. This is the path pleroma/admin/#/settings/mrf
@matty@graf@tonyYes. It's happening with (as you can see), all browsers - Chromium based and Firefox.

Mobile I used Firefox. Same issue.

https://mastindia.co/@Deus/posts/ARRBW0ssw4VL96YlYO
@matty@graf@tonyOther than Firefox, Chromium and Chrome. Edge, I don't want to install.
@matty@graf@tonyWhen I view the post in other instance, the 'view' is the same.

Uploaded images of other sites look fine.
@msilvya@matty@graf@tonyDid you export your database config? You need to scrub it of keys and share it.
@matty@graf@tony
Did you export your database config? You need to scrub it of keys and share it.
How do I do that?
@msilvya@matty@graf@tonyRun the mix command to export your config. I don’t remember. You’ll get a file. Open in and replace any tokens/passwords with β€œxxx” and send it to us to analyze.
@matty@graf@tonyYou mean the prod.exported_from_db.secret.exs file generated after running mix pleroma.config migrate_from_db --env=prod -d --path=/opt/pleroma/config/export_prod.secret.exs?
This entry was edited (1 year ago)
@msilvya@matty@graf@tony
attachment_links: true

Well what the hell is that? Does that not look like exactly the problem? Disable that shit, lmao.
@matty@graf@tonyOk. What the F is this setting about? 😬

goes looking for this setting in Admin FE
@matty@graf@tonyWoo! As an old lady at work tells IT people when they fix her problem with Word, "You guys are GENIUSES" 😬

https://mastindia.co/@Deus/posts/ARRDU5GHtBzu3FiJjU
@matty@graf@tonyLooks great on Alex's favorite site, Mastodon too.
This entry was edited (1 year ago)
@msilvya@matty@graf@tonyhttps://gitlab.com/soapbox-pub/rebased/-/blob/develop/config/description.exs#L814
Enable to automatically add attachment link text to statuses
It displays this in AdminFE, and you I assume clicked it at some point.
@matty@graf@tonyJokes aside, Alex. Would be nice to add it in the documentation somewhere. Or at least a small description of what that attachment_links: setting does.
This entry was edited (1 year ago)
@alexNot sure if it's Rebased or Soapbox related but is OpenGraph (OG) VERY VERY low priority? OG = those previews you get when you share your Rebased site's URL to someone on Signal/Telegram/WA besides FB/Twitter etc

Sharing these pics for comparison.
This entry was edited (1 year ago)
@msilvyaOh yeah, I’m aware the homepage doesn’t have a preview. Individual profiles and posts to. But yes, we need to do that.
⇧