skariko

joined 4 years ago
[–] [email protected] 2 points 4 days ago (1 children)

Ok, thanks, the reason is now definitely clear to me.

I was wondering, however, if it might somehow be possible to "bypass" this issue. I have no idea how to do it technically, but I mean something like automatically inserting the author's tag in certain cases as you did, to make it more practical in terms of usability.

But perhaps, precisely because of the way it is shared, it is not possible to imagine something like that.

[–] [email protected] 1 points 4 days ago (1 children)

Ok perfect, now everything is clear to me then :)

What you did is the actual federation of the site, so every time you create a post you don't mention a community where it should appear, but it gets federated automatically and displayed within dbzer0 not as a real community but must necessarily be searched for.

What I'm trying to do is slightly different.

Currently, I have the first setting active, that is, only federated authors. An author when posting content can mention a community, in this case @[email protected], and the post will automatically be posted in that community (which is a real community of feddit.it, in the sense that it is actually present in the list of communities and anyone can write there).

For this reason, the bug "persists," meaning that only the first responses are displayed on the site while the responses to the responses are not.

If instead I change the type of federation and use yours, I can also see the responses.

[–] [email protected] 1 points 4 days ago (3 children)

Thank you very much, this is very interesting. Being both the admin of the WordPress blog and the Lemmy instance, I now need to understand which of the two is having issues.

The ActivityPub plugin seems to work well; I also recently resolved some problems that were solely due to a third-party caching plugin.

I read your article; is it possible to know, if publicly discussable, what changes were made to the plugin that allowed you to resolve the issues? This way, I can compare them with mine and understand what the problem might be.

Thanks!

 

hello, I am doing some tests with the Wordpress federation with ActivityPub. It works very well even with Lemmy:

but

  • however, if the user receives a reply, in this case, the reply is given by "testuser," the latter is not visible in the Wordpress article (in the article, in fact, only Martufello's first response is present.).

Is it a Lemmy bug?

Thanks.

[–] [email protected] 2 points 2 years ago (1 children)

Yes I had considered that, but considering that ours is not a giant but moderate instance (a thousand subscribers) it seemed exaggerated to get to have 1GB occupied every day.

[–] [email protected] 15 points 2 years ago* (last edited 2 years ago)

well, indeed it could be just that. I just checked and it's size is 15GB 😱

63
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

hello, on my server on which only Lemmy is running, I don't understand why it fills up space all the time. Every day it increases by about 1GB thus risking reaching the limit after a short time.

It is not the images' fault because there is a size limit for uploading and they are also transformed into .webp.

The docker-compose file is the one from Ansible 0.18.2 with the limits for loggin already in it (max-size 50m, max-file 4).

What could it be? Is there anything in particular that I can check?

Thanks!

28% - 40G (3 July)
29% - 42G (4 July)
30% - 43G (5 July)
31% - 44G (6 July)
36% - 51G (10 July)
37% - 52G (11 July)
37% - 53G (12 July)
39% - 55G (13 July)
39% - 56G (14 July)
[–] [email protected] 2 points 2 years ago (1 children)

Thanks, will try it 👍

 

hello, does anyone know if there is a bot to automatically post to certain Lemmy communities from an RSS feed?

I found this: https://github.com/Ategon/Lemmy-Mega-Bot but it says it is not compatible with Lemmy's new API.

[–] [email protected] 2 points 2 years ago

My problem was that the Hetzner server was new and therefore certain ports were closed. I solved it by contacting Hetzner support and having them open the ports.

2
test Invidious linl (invidious.flokinet.to)
 

blabla bla

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

It seems to have been resolved: the problem was the private instance setting, as soon as I edited in the database and it worked again 🙈

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

I actually only used Ansible for the first installation, all subsequent ones I manually updated only the docker file and following the various instructions that were given only in this update it didn't work.

If it helps I can post my current configuration file docker-compose.yml

edit:

maybe I need to try again to do an update through Ansible now?

Since it had always worked to update the docker-compose.yml file it seemed easier and more functional to do it this way but I don't want to think that maybe the installation is now "tied" to Ansible.

5
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

hi, I installed a year ago lemmy via Ansible, then all the upgrades I always did by changing only the docker-compose.yml file.

Today I tried to upgrade from version 0.17.4 to 0.18 by changing the docker-compose.yml file but the site doesn't work.

The only error I have is:

Starting http server at 0.0.0.0:8536
lemmy_1 | the thread 'actix-rt|system:0|arbiter:0' panicked for 'No auth header for picture access', crates/routes/src/images.rs:138:8
lemmy_1 | note: run with environment variable `RUST_BACKTRACE=1` to display a backtrace
lemmy_1 | thread 'actix-rt|system:0|arbiter:0' panicking about 'No auth header for picture access', crates/routes/src/images.rs:138:8
lemmy_1 | thread 'actix-rt|system:0|arbiter:0' panicking over 'No auth header for picture access', crates/routes/src/images.rs:138:8

Thanks.

[–] [email protected] 1 points 2 years ago (1 children)

I had to restore an old backup because in no way had the problem resolved itself.

If you're interested on GitHub they suggested this to me: https://github.com/LemmyNet/lemmy/issues/2653#issuecomment-1380541659 unfortunately the suggestion came after I restored the backup and I couldn't try it.

If you'll try it let me know if it works or not!

[–] [email protected] 2 points 2 years ago (6 children)

Hello, I have the exact same problem as you, and it also happened to me at the time when my instance was running out of free space.

Did you by any chance solve it somehow?

 

Hello, i had a problem with docker-log: my lemmy instance crashed and i went to see in the server how come and found that it is 100% occupied disk space.

So I have deleted docker logs with: sudo sh -c "truncate -s 0 /var/lib/docker/containers/**/*-json.log and it works but now I can't see any images: https://feddit.it/pictrs/image/8246b865-e626-4d8e-9527-e298054f2370.png "error trying to connect: dns error: failed to lookup address information: Try again".

I checked my config and it seems correct:

pictrs_url: "http://pictrs:8080"

I tried to restart pictrs and I have no error but when i execute docker ps it says: "/sbin/tini -- /usr/…" 3 months ago Restarting (1) 13 seconds ago" as if it couldn't start.

I see many errors on docker-logs like:

lemmy_1 | Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("pictrs")), port: Some(8080), path: "/image/process.webp", query: Some("src=5c6125a2-1f94-445b-a1b1-52057c69a545.png&thumbnail=96"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Try again" })) })

I also add that on docker-logs i found this:

on dockers-log i found also this:

pictrs_1 | 2023-01-12T12:12:23.710029Z WARN sled::pagecache::snapshot: empty/corrupt snapshot file found

pictrs_1 | 2023-01-12T12:12:23.710213Z WARN sled::pagecache::snapshot: empty/corrupt snapshot file found

pictrs_1 | Error: Error in DB, Read corrupted data at file offset None backtrace ()

pictrs_1 |

pictrs_1 | Caused by:

pictrs_1 | Read corrupted data at file offset None backtrace ()

fedditit_pictrs_1 exited with code 1

I have found that someone, in the past, have this same issue: https://lemmy.eus/post/3863 and https://lemmy.ml/post/696178 (but no one answer)

[–] [email protected] 4 points 2 years ago (1 children)

I tested from Mastodon but votes seems not works

4
Upgrade error (lemmy.ml)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

Hello, I am trying to update from 0.16.3 to 0.16.5 with Ansible.

It is on my test instance, i use this:

git pull

and

ansible-playbook -vvv -u MYUSERNAME -k -K -i inventory/hosts lemmy.yml --become

It does everything with no error but when I try to visit the website i receive:

404: FetchError: request to http://lemmy:8536/api/v3/site? failed, reason: getaddrinfo EAI_AGAIN lemmy

Could the problem be that I am using the backend (on different folders) multiple instances of lemmy?

 

Does anyone know if it is possible to create a new community on another lemmy instance using my lemmy.ml account or do I have to necessarily create a new user on the new instance?

And if the community is already created, is it possible to add moderators from other instances or do community moderators have to be registered to that instance?

 

Hello! I managed to set up an instance quite easily with Ansible, only problem now is that I can't send emails in any way!

If I leave the default configuration (postfix: 25) and try to ask for a password reset, it tells me it sent it but nothing really comes.

I then thought of using an external SMTP, since I have it available together with the domain.

If I put: "smtps.aruba.it" then adding smtp_login and smtp_password when I try to send an email I get an error with only written: "465".

If I add the port to the SMTP server like this: "smtps.aruba.it:465" and also adding in "tls_type: tls" the server freezes for 5 minutes, does not send anything and I do not receive any errors.

I'm definitely doing something wrong but what? Where can I look?

Thanks!

 

Hello, trying to use Ansible https://github.com/LemmyNet/lemmy-ansible to install Lemmy on a OVH VPS.

  • Configured DNS and ping it is ok.
  • I can reach the server with a sudo user on SSH

Installed Ansible on my local machine and follow the steps.

When i execute:

$ ansible-playbook -i inventory/hosts lemmy.yml

I have this error (I replaced for this help request real username and real ip address)

PLAY [all] ************************************************************************************************************************************************************************************************************

TASK [check lemmy_base_dir] *******************************************************************************************************************************************************************************************
skipping: [myuser@myip]

TASK [install python for Ansible] *************************************************************************************************************************************************************************************
fatal: [myuser@myip]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: myuser@myip: Permission denied (publickey,password).", "unreachable": true}

PLAY RECAP ************************************************************************************************************************************************************************************************************
myuser@myip      : ok=0    changed=0    unreachable=1    failed=0    skipped=1    rescued=0    ignored=0

What am i missing?

 

Hello, how do you manager with notification?

I can't: neither from the browser (not even enabling them), nor from the two Android applications (Jerboa and Lemmur).

Of course, if I open the app or the browser, I see the notifications icon lit up, but without visiting it I can't find out that someone, for example, has answered me.

Are there any other methods that escape me?

Thanks!

 

Hello everyone!

I am trying to add a community RSS to my RSS reader but it always give me error, on any RSS reader!

Like this: https://lemmy.ml/feeds/c/asklemmy.xml?sort=Active it can't be added to my RSS reader :(

What am I doing wrong? Is there another RSS link?

Thanks!

view more: next ›