aranym

joined 1 year ago
[–] aranym@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

The instance you make your account on doesn't matter, as they're federated you can see and interact with posts from anywhere else.

You can check out the Lemmy community browser to see a list of the most visited communities, then search for them in https://lemmy.world/search to subscribe/post/comment. (note: beehaw.org communities arent accessible from lemmy.world, so ignore those)

[–] aranym@lemmy.world 1 points 1 year ago (1 children)

Wiped the VPS clean, new 22.04 server install.

Deployed using that installer.

Exact same issue. The lemmy container cannot reach the database and continually restarts.

[–] aranym@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

It is honestly far too late for me to keep troubleshooting - I'll be back here tomorrow afternoon (CDT). Until then!

[–] aranym@lemmy.world 0 points 1 year ago (5 children)

Ran those commands successfully, then the playbook again. Playbook has zero errors or warnings.

The postgres container was remade.. with the same broken database. Went into it with psql like before, did \c lemmy, same error - did not find any relations.

[–] aranym@lemmy.world 1 points 1 year ago (7 children)

No errors of any kind in the ansible script. nginx is running, and it's at https://lemmy.name - I get some gateway timeout errors once in a while, but that's all. I assume this is because the lemmy container keeps restarting (as I mentioned in my original post) because it can't access the database.

[–] aranym@lemmy.world 1 points 1 year ago (9 children)

\c lemmy does return "You are now connected to database "lemmy" as user "lemmy""

Running \dt after connecting returns "Did not find any relations"

[–] aranym@lemmy.world 1 points 1 year ago

Thanks for the help so far y'all, but I'm heading to sleep. Will continue working on this tomorrow.

[–] aranym@lemmy.world 0 points 1 year ago (11 children)

docker exec -it lemmyname_postgres_1 /bin/bash returns the bash prompt as expected: 2ab8c789fdcd:/#

psql -U lemmy -d lemmy successfully opens psql:

psql (15.3)
Type "help" for help.

lemmy=# 

ran select name from person; from the psql shell, it does look empty (haven't created any users yet):


ERROR:  relation "person" does not exist
LINE 1: select name from person;
[–] aranym@lemmy.world 1 points 1 year ago

Yes, I can log into the psql shell on the container and connect to the database with no issue. I guess it is a network issue, I'll look into it further tomorrow

[–] aranym@lemmy.world 0 points 1 year ago* (last edited 1 year ago) (13 children)

Yes, I posted the docker status info and logs from the container in my reply to Veraticus

[–] aranym@lemmy.world 2 points 1 year ago (2 children)

The postgres container appears to be running.

sudo docker ps output:

CONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS                            PORTS                                 NAMES
e305af2b91c8   dessalines/lemmy-ui:0.17.4   "docker-entrypoint.s…"   27 minutes ago   Up 27 minutes                     127.0.0.1:12074->1234/tcp             lemmyname_lemmy-ui_1
3978157ef390   dessalines/lemmy:0.17.4      "/app/lemmy"             27 minutes ago   Restarting (101) 34 seconds ago                                         lemmyname_lemmy_1
626d7792534b   asonix/pictrs:0.3.1          "/sbin/tini -- /usr/…"   27 minutes ago   Up 27 minutes                     6669/tcp, 127.0.0.1:21166->8080/tcp   lemmyname_pictrs_1
65eab82adee9   mwader/postfix-relay         "/root/run"              27 minutes ago   Up 27 minutes                     25/tcp                                lemmyname_postfix_1
2ab8c789fdcd   postgres:15-alpine           "docker-entrypoint.s…"   27 minutes ago   Up 27 minutes                     5432/tcp                              lemmyname_postgres_1

Container logs: ...

PostgreSQL init process complete; ready for start up.

2023-06-18 01:57:16.112 UTC [1] LOG:  starting PostgreSQL 15.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2023-06-18 01:57:16.112 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023-06-18 01:57:16.112 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2023-06-18 01:57:16.113 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-06-18 01:57:16.117 UTC [53] LOG:  database system was shut down at 2023-06-18 01:57:16 UTC
2023-06-18 01:57:16.123 UTC [1] LOG:  database system is ready to accept connections
2023-06-18 02:02:16.215 UTC [51] LOG:  checkpoint starting: time
2023-06-18 02:02:20.329 UTC [51] LOG:  checkpoint complete: wrote 44 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=4.110 s, sync=0.003 s, total=4.115 s; sync files=12, longest=0.002 s, average=0.001 s; distance=252 kB, estimate=252 kB
10
submitted 1 year ago* (last edited 1 year ago) by aranym@lemmy.world to c/selfhosted@lemmy.world
 

(Using https://github.com/LemmyNet/lemmy-ansible)

The ansible-playbook command itself connected to the VPS and completed without any errors or warnings. This is on a completely fresh VPS with Ubuntu Server 22.04.

I created all directories needed in the guide, and the only file I modified was the inventory/hosts file - filling in the username/domain for SSH, domain name, contact email and adding the location of the private key for SSH.

The guide didn't note any changes to config.hjson I needed to make, so I copied that file as requested but left it with the default content. I'm thinking if I missed something it's most likely there.

I couldn't access the web UI and with some investigation I found the dessalines/lemmy:0.17.4 (backend) container is continually restarting, apparently because it can't reach the database - sudo docker container logs <id> returns the following:

thread 'main' panicked at 'Error connecting to postgres://lemmy:PasswordRedacted@postgres:5432/lemmy', crates/db_schema/src/utils.rs:161:56

I'm not sure what to do at this point, so I would be very appreciative of any help with this issue.

[–] aranym@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

They can't be replaced in this case - unless Reddit wants to spend lots of $$$ hiring moderators. As long as they leave that power to community mods, it is impossible for them to stop this type of protest.

I do think there is a real possibility Reddit will consider this a long-term risk and replace them with paid mods.

 

In a comment shared by r/Apple moderator @aaronp613, Reddit cited its Moderator Code of Conduct and said that it has a duty to keep communities "relied upon by thousands or even millions of users" operational. Mods who do not agree to reopen subreddits that have gone private will be removed.

If a moderator team unanimously decides to stop moderating, we will invite new, active moderators to keep these spaces open and accessible to users. If there is no consensus, but at least one mod wants to keep the community going, we will respect their decisions and remove those who no longer want to moderate from the mod team.

 

Only time it's happened, I had to refresh to get it to go away. I checked and the username is real, they joined 3 days ago.

Is this a common issue? Any security risk?

 

I know Reddit has r/redditrequest, and if there isn't a process yet it seems like something Lemmy will have to tackle in the near future.

 

The vow to extend the demonstration came after CEO Steve Huffman reportedly sent a memo to staff saying Reddit would “get through it” while opining that “like all blowups on Reddit, this one will pass as well.” In response to Huffman doubling down, a user wrote, “Let them fuck around and find out.”

Moderators from well-trafficked subreddits, including r/awww, r/music, r/videos, r/futurology, r/apple and r/NBA (among many others) chimed in to commit to an indefinite protest.

 

Can't connect? Having any weird issues? Check this out!
(Will be expanded as needed.)

No sound

First try just restarting the game a few times - sometimes that's all it takes. If that doesn't work, proceed:

Download this (in gzip format, you will need 7zip or similar to extract): https://archive.org/details/Beta-1.7.3

In MultiMC/Prism, click on your b1.7.3 instance and click "Folder" on the right side menu. Enter the .minecraft folder, delete the contents of the resources folder there, and replace them with the files from the extracted archive.

Can't connect

This includes timeout errors, "An existing connection was forcibly closed by the remove host", and similar. First, make sure you're using either Prism Launcher or MultiMC. The official launcher does not handle old versions as well.

When you made your instance, make sure you selected b1.7.3 and NOT 1.7.3. This requires toggling the "Betas" checkbox seen below.

Finally, try connecting to the website - if you can't visit that, there is a chance your ISP may be blocking our IP address. DM me and I'll help.

 

Credit: Boon Mee

 

Credit: harsh7227

 
3
submitted 1 year ago* (last edited 1 year ago) by aranym@lemmy.world to c/oldschoolminecraft@lemmy.world
 

Use MultiMC or Prism Launcher to connect - ensure you're using Beta 1.7.3, not the release version. (Toggle the "betas" filter and select "b1.7.3" when creating your instance)

Once you are whitelisted, the server is accessible at oldschoolmc.live:25566

Whitelist application is here (After submitting, you should be whitelisted within 12-24 hours, if not sooner)

Rules are on the website

11
tennis ball rule (images2.imgbox.com)
 
 

Credit: @alexhynerart on Twitter

view more: next ›