This commit is contained in:
a 2023-02-02 21:52:11 -06:00
parent 4d0b6b8c78
commit 46ecdebc06
6 changed files with 533 additions and 8 deletions

View file

@ -3,6 +3,10 @@ languageCode = 'en-us'
title = 'wiki.trwnh.com'
enableGitInfo = true
[markup.tableOfContents]
startLevel = 2
endLevel = 6
[markup.goldmark.renderer]
unsafe = true

View file

@ -0,0 +1,7 @@
+++
+++
## api?
- no counts/numbers unless directly relevant. example: `replies_count` integer -> `has_replies` boolean.
- follower counts can be faked

View file

@ -0,0 +1,2 @@
+++
+++

View file

@ -0,0 +1,406 @@
+++
toc = true
autonumbering = true
+++
## (closeable)
- #1062 remote follow dialog should make it easier to recommend or remember your instance [was fixed by cookies but not closed. later the whole "remote follow" dialog was removed in 4.0]
- #1411 Hide compose box on mobile, require a button to open it [we used to have a FAB and now we have a button in header]
- #1669 hide a specific status [introduced as part of filter revamp for 4.0]
- #1783 clearer error messages on "remote follow" fail [remote follow dialog was removed]
- #1842 clearer error message on resolving nonexistent account [now says `0 results` instead of `422 Remote account could not be resolved`]
- #2050 "A Fractal, Hierarchical, and Signal View of the Fediverse" [inactionable -- seems to be an esoteric essay rather than a bug or feature request]
- #2334 Issues adding emoji with Microsoft Edge on Windows 10 Mobile [discontinued platform and also not strictly a mastodon issue -- it's a bug in microsoft edge]
- #2467 GIF upload fails with "file size too big" despite not being too big [seems to no longer be an issue?]
- #2517 Admin API [this has been implemented, right?]
- #2614 home feed missing some posts from followed users [probably stale; last reported on v1.3.2]
- #2771 add `follow_requested` to Relationship entity [added as `requested`]
- #2879 better filters [regex filters have been removed in favor of API filters; this issue is outdated]
- #3032 ambiguity of translated terms/policy [v4.0 removed translations for terms/policy]
- #3181 windows phone 10 / edge browser doesn't animate gifs [no further details provided, user sold their phone so no longer affected; windows 10 mobile is discontinued]
- #3239 make tag and status views interactive [resolved by v4.0 deprecating the static views]
- #3283 overflow on compose box causes jumpy behavior [cannot reproduce in latest firefox, issue was filed back in 1.x days]
- #3499 support RFC 4685 rel="replies" in Atom feed [atom feed has been deprecated and removed]
- #3534 midori 0.5 failed to load javascript [deployment issue from v1.4.1 related to CSP headers]
- #3663 add "remote only" option for federated public timeline [this has been added]
- #3680 support 3gpp media upload for conversion [seems to have started working at some point?]
- #3766 make columns narrower when adding new ones [was filed against v1.4.3 ui; current advanced ui has fixed-width columns so this is no longer relevant]
- #3825 always allow remote following even when logged in locally [remote follow and also permalink profile views have been both removed]
- #3845 show replies on boost permalinks and not just on the original status [no longer possible or relevant -- boosts no longer get their own permalinks, also there are no permalinks anymore]
- #3888 Crosspost to Twitter [many reasons why this isn't feasible]
- #3971 [a deployment issue with an unclear problem statement]
- #4239 profile header image always animates, doesn't respect accessibility settings to turn animations off [not relevant anymore for multiple reasons... seems animation for logged-out users is on-hover only, but also headers don't animate at all anymore?]
- #4385 allow searching favourited posts [kind of covered by full-text search, no?]
- #4507 enabling push notifications in one browser will log you out of other browsers (invalid access token) [seems not to be happening anymore]
- #4588 unauthenticated API to allow local username lookups [added as `api/v1/accounts/lookup` in v3.4]
- #4892 [issues with share button and protocol handler, which was removed]
- #4961 [issue with webpack not reloading automatically with vagrant. a pr was merged and i can confirm the issue never happened for me, so it was most likely fixed but just not closed]
- #5055 post visibility icons [fixed by #14123]
- #5337 hide your network [duplicate of #6901, implemented in #7532]
- #5395 link back to home page from public pages [obsolete; public pages were removed]
- #5784 [someone confused that local timeline isn't geographically local]
- #5788 remember timeline position [we have timeline markers now]
- #5915 rename lists and support filters on lists [done now]
### (duplicates)
- #2677 duplicate of #1162 ("upload remote pics via link" vs "insert picture from url")
- #3987 duplicate of #3812 ("multi timeline" vs "add my own timeline" -- both deal with allowing users to choose domains for their custom timeline)
- #4098 duplicate of #609 ("private profiles" vs "private-ish profiles")
- #5491 duplicate of #1306 ("timeline jumps due to incoming posts")
- #5710 duplicate of #4305 ("make getting started movable" vs "make context column movable")
### (maybe closeable?)
- #547 "show more" link doesn't appear if column is empty [is this still relevant?]
- #774 no confirmation for reporting a post [there are confirmations now, right?]
- #813 split docker-compose deployment into "web" and "streaming" [i.e. separate image for streaming API -- is this relevant to current docker strategy?]
- #1298 add custom entries to Getting Started [the motivation was adding a link to code of conduct, although this could be more generally useful outside that context]
- #1306 timeline scroll jumps when new posts come in [addressed by slow mode?]
- #1774 timeline scroll jumps when posts are deleted
- #2122 standardize sections in `/about` page
- #2514 external links should open in new tab [don't we add `target=_blank` on unhandled links now?]
- #2760 compatibility issue with Jolla SailfishOS browser [reported in v1.3]
- #3283 composing a long post with overflow will cause jumping on typing
- #3369 ctrl+z after posting used to restore the text to the compose box, but now it does not
- #3815 confirmation dialogue for unboosting [currently tied to boost confirmation modal, but could be split out into its own toggle?]
- #3858 allow pinning favourites column and user profile columns [half-fixed -- you can pin favs but you still can't pin user profiles]
- #3874 show moderated users and servers [half-fixed -- you can audit the list of moderated servers, but not moderated users]
- #4057 link to imprint from every page if instance is in germany [perhaps in the footer? or is the about page enough to satisfy this]
- #4449 pgup/pgdn should navigate the page, not statuses [seems to be resolved? this is now done with jk]
- #4701 show private posts in hashtag search if you are authorized to see them [closed as "intentional" in #2440 but idk maybe it could be reconsidered]
- #4869 filters should apply to emoji [this was filed back when regex filters were a thing, and seems to have been shown to work even back then, so was not reproducable] [small caveat: could extract a feature request out of this for allowing filtering an emoji by its shortcode? but probably not needed]
- #5403 reblog `url` is sometimes null when it marked non-nullable [i think this isn't happening anymore]
- #5612 Support `longdesc` on images [longdesc is deprecated and obsolete apparently]
- #5737 store metadata about relationship changes (when/why) [we have profile notes now so that probably works]
- #5896 allow mods to force hide all media from an account [is this the same as "force-mark as sensitive" or is it more like "reject media"?]
---
## (uncategorized)
- #482 [retry limit for failed authentication]
- #1910 `/#hashtag` is not parsed as a hashtag (also `)#hashtag` and `_#test`) [because it could be a url fragment]
- #3166 boost/fav counts out of sync (due to being async)
- #3794 [someone is confused why replies are not fetched]
- #3964 filter out private posts if you can't see the full context
### (needs verification)
- #2650 disabling a notification type will cause that notification to be missed; re-enabling the notification type does not bring back the missing notifications during that period in which it was disabled
- #2777 browser notifications do not correctly handle mixed LTR + RTL
- #2826 drag and drop images from othe browser tab
- #2865 empty favourite notification
- #3040 registering an app and getting a user token might return data of previous user token? calling `/api/v1/accounts/verify_credentials` returned wrong user [they seem to be using the password grant, possibly this is related to that?]
- #3061 on post with multiple GIF attachments, going to next one will cause it to not animate
- #3473 hard refresh needed to see multiple pages of new posts?
- #3638 check if post is deleted when clicking reply button; if it is, then remove the post instead of allowing you to compose a reply
- #3703 if a mention cannot be processed, the whole job fails. maybe it shouldn't?
- #3742 opening a timeline with videos in it can be slow
- #3809 long-press to boost without confirmation (when confirmation modal is enabled for boosting)
- #3930 wrong import order for SCSS [maybe closeable? idk, needs clarification as well, what triggers this scss and so on]
- #3959 rake task `media:remove_remote` should not apply to posts that have been boosted locally
- #3996 sidekiq deadlocks when `:concurrency` > 1
- #4118 repeatedly faving/unfaving will generate a ton of notifications
- #4236 Detect if desktop notifications are supported (hide settings for them if not)
- #4434 nonbreaking spaces in config/locales are not preserved when rendering HTML [where is this relevant?]
- #4573 some posts show up on profiles but not on home timeline [possibly related to #2614]
- #4755 more gender neutral language in i18n german translation
- #4809 browser notification for favourites does not show text of favourited post if an image is attached. but it does for mentions. so that should be consistent
- #4838 settings routes / uris are inconsistent with the parts that they link to
- #4887 Accept-Language header only supports en, not en-US
- #5468 unicode directional formatting sometimes messes with url linking, causing broken links
- #5476 importing following.csv sometimes leads to stuck follow requests for unlocked accounts (workaround: a manual unfollow/refollow fixes it)
- #5527 2fa code should show keypad 0-9 on mobile devices
- #5528 shortcode gets converted to emoji even without breaking whitespace
- #5583 skin color emoji sequence not getting emojified
- #5646 2-frame gifs do not respect delay on final frame
- #5658 remote gif avatar gets corrupted on docker instances
- #5707 wrong localization for zh-TW on relative short timestamp
- #5960 status creation fails on id collision in transaction
### (feature requests)
- #34 backfill statuses on follow
- #116 communal blocklists
- #139 groups
- #208 custom nicknames
- #281 geotagging posts
- #309 quote + boost
- #512 stories [really more like twitter moments? or generic collections]
- #861 local-only posting
- #928 cryptographic verification of posts (specifically GPG signatures? it should be user-facing like github)
- #979 timelines/columns for selected instances [bubble timeline?]
- #3812 custom timeline with user-defined domains (also apply filters to public timelines)
- #3917 let admins define additional timelines including certain domains
- #983 custom audiences / arbitrary addressing (specifically, decide which servers to send your post to)
- #1133 Drafts
- #1162 Insert picture from URL [assuming this means download and reupload? although it would be more interesting to allow remote storage and simply embed it / use the remote url directly...]
- #1208 post to category / topic [like google+ collections]
- #1307 mods should be able to edit posts to add a cw
- #1353 option to show replies in public timelines
- #1405 Local account delegation [i.e. posting on behalf of another account? like tweetdeck team accounts?]
- #1539 mark posts as read (then clear the column)
- #1593 temporary block (expiring blocks just like expiring mutes)
- #1608 show timestamp of when post was favourited (in favourites column and in API) [same for bookmarks?]
- #1685 show status of filed reports or notify them when a report is actioned
- #1800 browse or show posts within a certain date range
- #2089 "Daily Digest" feature that shows only a selection or highlight of posts from certain users (instead of overloading your home timeline)
- #4451 Discovery / Catch-up timeline that shows posts you may have missed, or perhaps most boosted/faved, etc
- #2317 keep track of media attachments and allow re-using them in new posts [like misskey drive?]
- #3265 attach images to reports (in case users delete their statuses or set abusive avatars?)
- #3546 language filters should use a dropdown instead of checkboxes? should also support more languages
- #3664 Delete all your posts (or some subsets of your data) without deleting your entire account
- #3890 users should be able to override silences [perhaps like disabling twitter's "quality filter"?]
- #3945 mark undelivered mentions / provide feedback when posts are not delivered
- #4106 Support emoji reacts (reactions) on posts [keywords: EmojiReact, EmojiReaction]
- #4207 allow admins to set allowed languages in public timeline for logged-out users
- #5691 allow users to select their language on the landing page while logged out
- #4983 [original issue was about making posts unboostable, but was misunderstood to be about filtering out notifications for when a certain post is boosted]
- #5787 separate preference for "autoplay media" and "animate emoji"
#### (more niche)
- #547 "secure evidence" when admins ban users (instead of wiping all data)
- #4108 Notify me when someone I interact with changes their profile picture
- #5239 Licensing and attribution for custom emoji
- #5444 "emergency instructions" for when a user dies so they can tell admins what to do with their account
- #5657 option to show acct above your display name instead of below it
- #5675 choose the default tab for your profile
- #5714 maybe your posts should be cached offline in the web app's local storage so that if your instance goes offline you have a backup
- #5867 Support 360 panaroma photos
### (meta)
#### (clearly actionable)
- #1404 OpenAPI documentation [but how to generate it?]
- #1487 show out-of-date warning for old servers [how can you tell?]
- #2222 require comments/reason on reports [worth mentioning we have categories now which seems partially relevant]
- #2668 let users point DNS at existing instance, allow multi-tenancy with custom domains
- #3618 reply filtering should hide posts starting with @mentions (even if it's first post in the thread) [basically mirroring twitter and the `.@reply` notation that was necessary in the past]
- #3785 silenced users should be able to DM admins and mods
- #4883 "embed" feature should support informed consent and opt-in to having your posts embedded
- #5781 refetch avatars (and other media?) after remove instance domain block with "reject media" checked
- #5797 prevent replying to someone without mentioning them
- #5883 allow pagination from oldest to newest [or discover the oldest post id somehow]
#### (vague or inactionable)
- #967 unique visual identity for niche instances (better customization or theming)
- #1049 better handling for unicode urls (punycode, idn, and so on) as well as schemes/protocols (steam: specifically?) and other encoding issues
- #3782 alternative sorting and aggregation algorithms for timelines (for example, epochs weighted by log(likes) + followers boosting)
- #3796 account aliases (particularly webfinger redirect?)
- #3819 better DM system
- #4870 new user experience
- #5380 make financial supporters visible [manually? integration with patreon/etc?]
- #5515 interest separation + account grouping [seems to be a split between "categories" and "unified timeline"?]
- #5553 urls should not be assumed 23 characters
- #5686 two stages of following -- unapproved and approved. send public posts to unapproved followers [could be handled with audiences instead?]
- #5723 granular post privacy (control whether post goes to public timelines, is available unauthenticated, local-only, etc)
- #5774 ability to change your instance domain (LOCAL_DOMAIN)
---
## Single-category issues
### Admin UI
- #146 admin ui for manually creating user accounts
---
### Backend
- #701 assume http? for bare domains [link `example.com` to `http://example.com`]
- #981 import posts (from csv, specifically?) [but could be from activitypub archive]
- #1781 customizable character limit / status max length (instead of hardcoding 500)
- #2478 allow setting multiple contact/representative accounts for your instance
- #3139 keep track of which users and domains are being widely blocked by local users
- #3811 automatically rake/prune inactive accounts and delete them
- #4296 greylist federation. instances are silenced by default until approved by the admin.
- #5204 indicate the file size on failed uploads so that you can better tell why something went wrong
- #5619 Suport Alibaba Object Storage as an alternative to S3
- #5729 Replace Paperclip with Shrine
- #5972 Rename "always mark media as sensitive" to "Mark media as sensitive by default" [TODO: Low hanging fruit]
#### specific to signups and new accounts
- #877 captcha, honeypot, ip limit, and other antispam measures for registering new accounts
- #951 max capacity for registered users (block registration when cap is reached)
- #2045 autogenerate default avatars per-user (specifically foxes?)
- #5647 add warning to registration form that username cannot be changed
#### ActivityPub
- #4640 activitypub property to signal when you opt out of search indexing (similar to robots.txt or robots meta tag in html)
- #4964 use a versioned json-ld @context [currently mastodon just uses the unversioned activitystreams context, but i'm not entirely sure what issues this may cause if any and why]
- #5500 human-readable errors on trying to post to activitypub inbox endpoint
#### REST API
- #2048 support Android Intent URIs when registering a client app [currently failing due to use of `#` in uri; workaround is to register custom scheme in android?]
- #5273 API response should include Relationship on each Notification, so that you can tell when a notification came from a follower/following/mutual [arguably you could embed the Relationship on the Account but that might be expensive]
- #5492 API for a client app to update its own registered information (such as `redirect_uris`) using an app token generated from the stored `client_id`+`client_secret`
#### Streaming API
- #3049 websocket streaming api sometimes encodes payload sometimes doesn't [unlikely to be fixed, due to being a breaking change]
- #5971 add event for new PreviewCard?
#### Security
- #1149 automatically log you out, add checkbox to "stay logged in"
- #1181 do not set a cookie on logged-out users
#### Standards and spec compliance
- #673 RSS feed for your notifications
- #1384 support receiving Webmentions
- #2234 Support Micropub for authoring posts (as an alternative to `POST /api/v1/statuses`)
- #3165 Support Mastodon as an OAuth consumer (login by oauth to some other service / single sign-on / SSO?) ["Mastodon includes the omniauth gem ... it should be possible to support sign up through any OAuth service"]
- #4569 OAuth authorization code OOB flow should allow using an easier-to-type PIN code instead of a 64 digit hex code. twitter and imgur do this apparently
- #4800 Support Mastodon as an OpenID provider (OpenID Connect / OIDC? RFC 6749? IndieAuth is also mentioned)
- #5227 Support Atom feeds [previously supported only profiles, but even that was removed in favor of RSS only]
---
### Deployment
- #1068 offer a Snap/snapcraft package
- #1118 support Terraform from Hashicorp (or chef, or ansible, or puppet, or salt caps)
- #1328 Scalingo setup form should use human-friendly strings instead of plain AWS region names (e.g. `EU (Frankfurt)` instead of `eu-central-1`)
- #1528 /tmp directory fills up over time
- #3576 offer a Debian package
---
### Lists
- #5938 backfill lists when adding new accounts to them
- #5978 Muting a user does not remove old posts from lists
---
### Profiles
- #609 hidden profiles [require auth? "bunker mode"?]
- #1040 custom backgrounds
- #2295 Forward chronological mode / sorting
- #3205 disable or opt out of having a media tab
- #4823 some languages like persian use different words for countable form and plural form, but only one string is used for both the count and for the "all posts" tab on profiles.
---
### Web app
- #380 multiple account management / account switcher (for tootdeck layout / advanced ui, this implies supporting columns per-account)
- #873 font size for larger text
- #1471 show account preview on hover
- #1955 hash acct/url and pick a distinct color to allow more easily identifying when an account is different or is a homograph and possibly impersonation
- #4647 when you hide media that isn't marked nsfw, it should stay hidden persistently (currently it is reshown on refresh)
- #7860 show confirmation dialog before more things
- #3702 show confirmation dialog before posting
#### specific to advanced UI
- #2054 switching to advanced web UI should load "getting started" instead of a duplicate home/notifications/compose column [this seems to be done only sometimes?]
- #3771 customize the tab bar in the upper-left corner of advanced ui on desktop layout (currently hardcoded to getting started / local / federated / settings / log out)
- #4305 allow moving context column instead of having it on the far right
#### specific to authoring a post
- #1174 empty CW in compose form should prompt for CW or use default text "content warning", instead of silently dropping the cw and posting a normal post
- #1765 allow replying inline within a column (like tweetdeck or twitter)
- #1860 Preview your post
- #4848 specifically, it is unclear which characters will be included / parsed as a hashtag or mention or URL
- #2365 copy hashtags on reply
- #3567 mention the booster when replying to a boost
- #3903 suggest a CW based on keywords in your post
- #5108 add a secondary publish button with a different scope (port from glitch-soc)
#### specific to emoji
- #717 option to use system emoji instead of EmojiOne
- #5592 option to not show emoji
##### specific to authoring emoji
- #1908 disambiguate emoji for country flags (maybe sort flags by continent region or geography?) [nightpool: "this is an upstream issue w/ emoji-data"]
- #5445 prevent suggesting emoji when typing emoticons (for example, typing `:-)` should not suggest `:slightly_smiling_face:` in emoji-mart)
- #5498 emoji shortcodes should inherit preferred skin color from emoji-mart
- #5808 shortcodes should always be converted to emoji, or perhaps only when selected manually
#### specific to media
- #921 `rich` OEmbed (e.g. for soundcloud)
- #1255 allow wider aspect ratios instead of zoom-cropping thumbnail [auto height instead of `object-fit: cover`?]
- #2034 when a modal is open, pause all animations in the background
##### specific to authoring media
- #3860 basic image editing (cropping, rotating, etc) in the web app before posting
#### specific to notifications
- #1483 group similar notifications (consecutive notifications of same type should be collapsed)
- #1868 collapse boost/fav notifications to one line only (and `text-overflow: ellipsis` for the rest) [TODO: low hanging fruit for trwnh/mastomods? or is the current "max height" mod good enough for this?]
#### specific to onboarding
- #2019 relaunch the onboarding tutorial at any time
- #3264 show instance info in onboarding tutorial (so that users are aware of rules/etc)
#### nonspecific
##### accessibility
- #1680 line height should be relative to font size, not absolute [TODO: low hanging fruit?]
- #3660 better contrast and visibility on button for closing image modals
- #3875 "edit profile" link should be easier to tap on mobile [TODO: low hanging fruit]
- #4508 better focus contrast / visibility for status action buttons [currently, there is a slight transparent background on focus but no prominent outline like other focused elements] [TODO: low hanging fruit] [side note: the video player has even worse contrast on focus, i legit could not tell it was focused]
- #4510 when you focus on a post and expand it, the focus should shift to the detailed status view instead of staying in the column
##### performance
- #787 garbage collection for open webUI tabs (react redux / state management)
- #1379 switching columns on mobile should be optimized
- #1469 use SVG icons instead of web fonts
- #5504 components are re-rendered whenever redux state changes, due to `mapStateToProps`
##### architecture
- #4478 reload a single column or conversation without reloading the whole tab
##### bugs
- #5160 fullscreen video on desktop safari doesn't work right [seemingly last reproduced in june 2022 on macos 12.4 + safari 15.5]
##### unimplemented API features
- #1900 clear one notification [i.e. implement `/api/v1/notifications/:id/dismiss`]
##### staying in-app
- #739 edit profile in webUI instead of settings page
- #946 "back" button in header should not take you out of the web app (you should remain in-app)
- #1399 links to activitypub objects (posts/profiles) should stay in-app [i think this specifically calls out links in profile bios? that might be harder]
- #2136 links in posts (to other posts) should open those posts in-app
- #3185 links in bios (to other profiles) should open those profiles in-app
- #3982 links in bios (to hashtags) should open those hashtags in-app
- #3201 indicate that a language filter is active and allow temporarily activating language filters in-app (without going to settings)
##### meta
- #1249 use an icon for CW instead of literally `CW`
- #1850 Rename "Getting started" to something else (OP suggested "Home" but gargron instead suggests "menu" or "main menu")
- #1856 UI mockups for easier switching of columns?
- #2210 UI mockup for pre-rendering mentions as links, instead of showing the entire address in the compose box
- #3872 combine Getting Started + Compose into one column, since they're both always open?
- #4399 CW toggle and sensitive media toggle should be linked such that expanding a post expands the media with it, and collapsing a post should rehide the media
- #4689 CW and sensitive media should not be linked at all
- #5727 UI mockup for two-column layout on tablets
- #5736 more layout adjustments. variable column width, variable font size, variable media thumbnail size
- #5958 quickly switch between lists in a pinned column, or allow pinning the main "Lists" list

View file

@ -0,0 +1,114 @@
# upgrading postgresql on arch (in case you fucked up)
```sh
stop postgresql
stop akkoma # make sure nothing is trying to hit the database
```
## pg_upgrade will fail if you initdb with different params
so i'd made a file-level backup at least
```sh
sudo mv /var/lib/postgres/data /var/lib/postgres/olddata
```
i tried to
```
sudo mkdir /var/lib/postgres/data /var/lib/postgres/tmp
sudo chown postgres:postgres /var/lib/postgres/data /var/lib/postgres/tmp
sudo -iu postgres
cd /var/lib/postgres/tmp
initdb -D /var/lib/postgres/data --locale=en_US.UTF-8 --encoding=UTF8 --data-checksums
```
this caused pg_upgrade to fail because the old data didn't have `--data-checksums` enabled
## pg_dumpall will fail with extensions like rum
ok so that didn't work, let's try the manual dump and reload. exit out of the postgres session and back to your user
```sh
yay -S postgresql-old-upgrade
sudo rm -r /var/lib/postgres/data
sudo mkdir /var/lib/postgres/data
sudo chown -R postgres:postgres /var/lib/postgres/data
sudo -iu postgres
initdb -D /var/lib/postgres/data
/opt/pgsql-14/bin/pg_ctl -D /var/lib/postgres/olddata/ start
```
the old version should be running now
```sh
pg_dumpall -h /tmp -f /tmp/old_backup.sql
```
aaaaand this failed because of something to do with pg_rum
## downgrading to get a good dump
ok let's kill the old postgres
```sh
sudo killall postgres
```
copy the old data over and set permissions
```sh
sudo rm -r /var/lib/postgres/data
sudo cp -r /var/lib/postgres/olddata /var/lib/postgres/data
sudo chown -R postgres:postgres /var/lib/postgres/data
```
downgrade to the last version of postgres
```sh
yay -S downgrade
sudo downgrade postgresql
start postgresql
```
dump
```sh
pg_dumpall > /tmp/dumpall.sql
```
now we can upgrade again?
```sh
stop postgresql
yay -S postgresql
yay -S pg_rum # do a clean build?
```
now we try to restore data
```
sudo rm -r /var/lib/postgres/data
sudo mkdir /var/lib/postgres/data
sudo chown -R postgres:postgres /var/lib/postgres/data
sudo -Hu postgres initdb -D /var/lib/postgres/data --locale=en_US.UTF-8 --encoding=UTF8 --data-checksums
start postgresql
sudo -Hu postgres psql -f /tmp/dumpall.sql template1
```
this worked for me
## etc
while you're here you might as well update and migrate akkoma if you're still running that?
```sh
sudo -Hu akkoma MIX_ENV=prod mix deps.get
sudo -Hu akkoma MIX_ENV=prod mix ecto.migrate
start akkoma
```

View file

@ -1,8 +0,0 @@
+++
updated = 2020
+++
# What's wrong with Mastodon
list of things that irk me about my day-to-day experience:
- why can't i mute domains instead of blocking them