tko

joined 2 years ago
MODERATOR OF
[–] [email protected] 2 points 1 year ago

ahhhh yes, that makes perfect sense... thank you for pointing that out! Especially since I'm not good enough with vi to know how to bulk delete the first character in specific lines, I had to manually arrow and delete.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

I successfully migrated postgres 15 to 16. I followed the general idea of the guide you posted, but I found it a little easier to do a slightly different process. Here's what I did:

  1. docker-compose down for the lemmy instance

~~2. edit the docker-compose.yml file and comment out all of the services except postgres. In addition, add a new volume to the postgres service that looks something like this: - ./volumes/miscfiles:/miscfiles~~

  1. edit the docker-compose.yml file and add a new volume to the postgres service that looks something like this: - ./volumes/miscfiles:/miscfiles
  2. docker-compose up -d postgres (this starts just the postgres service from the docker compose file)
  3. docker exec -it [container name] pg_dumpall -U [username] -f /miscfiles/pgdumpall20240628 (I think this will work, but it's not exactly what I did... rather, I ran docker exec -it [container name] bash, and then ran pgdumpall -U [username] -f /miscfiles/pgdumpall20240628. The end result is a dumpall file saved in the ./volumes/miscfiles directory on the host machine)
  4. docker-compose down
  5. mv ./volumes/postgres ./volumes/postgresBAK20240628 (move your existing postgres data to a new directory for backup purposes)
  6. mkdir ./volumes/postgres (re-create an empty postgres data folder. make sure the owner and permissions match the postgresBAK20240628 directory)
  7. edit the docker-compose.yml and update the postgres image tag to the new version
  8. docker-compose up -d postgres (you'll now have a brand new postgres container running with the new version)
  9. docker-exec -it [container name] psql -U [username] -f /miscfiles/pgdumpall20240628 (again, I think this will work, but I bashed in and ran the command from within the container. This also allows you to watch the file execute all of the commands... I don't know if it will do that if you run it from the host.)
  10. docker-compose down

~~12. edit the docker-compose.yml and un-comment all of the other services that you commented out in step 2~~

  1. docker-compose up -d

Hopefully that helps anyone that might need it!

edited to reflect the comment below

[–] [email protected] 6 points 1 year ago

I agree... I was simply clarifying that Nate Silver did NOT predict that Hillary would win (nor is he predicting that Trump will win this election), which is a common misunderstanding about probability. For these types of models to be meaningful to the public, there needs to be literacy on what is meant by the percentages given. Really, I'm just reinforcing rodneylives' point from another angle!

[–] [email protected] 11 points 1 year ago (3 children)

I don't remember him predicting that she would win. His model (https://projects.fivethirtyeight.com/2016-election-forecast/) gave her a 71% chance of winning. 71% is a long way from 100%, and the result of that election definitely fit within the model.

That said, you are absolutely correct... we need to keep shining a light on the realities of each of these candidates, because in the light of day Biden is a much better choice than Trump.

[–] [email protected] 1 points 1 year ago

Thank you, that's super helpful!

[–] [email protected] 3 points 1 year ago

Stop j'terrorizing me!

[–] [email protected] 1 points 1 year ago

Depending on what exactly you're looking for, Photostructure might be a good option. It's got a great UI for viewing photos, and it's meant to play well with other Metadata software.

[–] [email protected] 2 points 1 year ago

I don't think I'd call them assholes... more just shortsighted about the realities of selling an album, specifically in how you refer to the album both in speech and in writing.

[–] [email protected] 1 points 1 year ago

I gotta admit, I don't usually follow the draft since I don't know anything about college football. That said, it sounds like we hit a lot of our needs, including OL and DBs. Sounds like the receiver we took in Round 1 should fit in pretty well with what Shanahan wants in a receiver, so I'm excited to see how that goes. I have no complaints!

[–] [email protected] 2 points 1 year ago

There's lots of youtube content on this subject... here's a decent jumping off point, if you're interested: https://www.youtube.com/watch?v=7Nw6qyyrTeI

[–] [email protected] 0 points 1 year ago

I have server2 (which replaced server1). I also have 'nvr1'.

[–] [email protected] 2 points 1 year ago

Understood, but OP mentioned that he wanted something without a backup camera, so that's why I was asking for clarification.

view more: ‹ prev next ›