• 8 Posts
Joined duela 3 urte
Cake day: abu. 18, 2020


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!

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?

Can’t start pictrs
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)

I tested from Mastodon but votes seems not works

Found out just now what the problem was.

I am writing this to help others: the federation was active in that instance but it was also marked as a private instance. This gave no problems in using it until the update (probably because it is restarted and re-run Docker).

I removed the federation from the config file leaving only the private instance and it restarted immediately.

Upgrade error
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?

Create community and moderate on another instance
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?

I have answered and find the solution here: https://lemmy.ml/post/258218/comment/176759

Thanks for the help!

I think i got it solved.

It was fault of being a new customer of Hetzner, ask them to make some tests and with port opens it’ll go!

yes, actually i tried ‘none’, ‘tls’ and ‘starttls’ but with no success. I tried with external SMTP because the default created by ansible does not work:

  email: {
    smtp_server: "postfix:25"
    smtp_from_address: "noreply@mydomain.it"
    tls_type: "none"

It is the same thing that I thought. Unfortunately, if I try to manually force the port by writing smtps.aruba.it:465 as I said the server freezes for several minutes, goes to 504 and does not send any email.

So I can not understand if the port must be entered in another way (?) or if I have to install something on the server first to be able to send an email through an external SMTP as in this case?

Sending email problem
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!

I was able to get it started/running with this command: ansible-playbook -vvv -u USER -k -K -i inventory/hosts lemmy.yml

Anyway now it ends with an error (it’s Debian 11):

if \“driver failed programming external connectivity\” in ex.explanation:\n", “invocation”: {“module_args”: {“project_src”: “/srv/lemmy/social.lealternative.net”, “state”: “present”, “pull”: true, “remove_orphans”: true, “docker_host”: “unix://var/run/docker.sock”, “tls_hostname”: “localhost”, “api_version”: “auto”, “timeout”: 10, “tls”: false, “validate_certs”: false, “debug”: false, “hostname_check”: false, “recreate”: “smart”, “build”: false, “remove_volumes”: false, “stopped”: false, “restarted”: false, “dependencies”: true, “nocache”: false, “ca_cert”: null, “client_cert”: null, “client_key”: null, “ssl_version”: null, “project_name”: null, “files”: null, “definition”: null, “remove_images”: null, “scale”: null, “services”: null}}}\n’, b"<stdin>:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses\n") myuser@myip Failed to connect to the host via ssh: <stdin>:18: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module’s documentation for alternative uses The full traceback is: File “/tmp/ansible_docker_compose_payload_mgoivh5q/main.py”, line 777, in cmd_up self.project.up( File “/usr/lib/python3/dist-packages/compose/project.py”, line 565, in up results, errors = parallel.parallel_execute( File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 112, in parallel_execute raise error_to_reraise File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 210, in producer result = func(obj) File “/usr/lib/python3/dist-packages/compose/project.py”, line 548, in do return service.execute_convergence_plan( File “/usr/lib/python3/dist-packages/compose/service.py”, line 545, in execute_convergence_plan return self._execute_convergence_create( File “/usr/lib/python3/dist-packages/compose/service.py”, line 460, in _execute_convergence_create containers, errors = parallel_execute( File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 112, in parallel_execute raise error_to_reraise File “/usr/lib/python3/dist-packages/compose/parallel.py”, line 210, in producer result = func(obj) File “/usr/lib/python3/dist-packages/compose/service.py”, line 465, in <lambda> lambda service_name: create_and_start(self, service_name.number), File “/usr/lib/python3/dist-packages/compose/service.py”, line 457, in create_and_start self.start_container(container) File “/usr/lib/python3/dist-packages/compose/service.py”, line 627, in start_container if “driver failed programming external connectivity” in ex.explanation:

fatal: [myuser@myip]: FAILED! => { “changed”: false, “errors”: [], “invocation”: { “module_args”: { “api_version”: “auto”, “build”: false, “ca_cert”: null, “client_cert”: null, “client_key”: null, “debug”: false, “definition”: null, “dependencies”: true, “docker_host”: “unix://var/run/docker.sock”, “files”: null, “hostname_check”: false, “nocache”: false, “project_name”: null, “project_src”: “/srv/lemmy/social.lealternative.net”, “pull”: true, “recreate”: “smart”, “remove_images”: null, “remove_orphans”: true, “remove_volumes”: false, “restarted”: false, “scale”: null, “services”: null, “ssl_version”: null, “state”: “present”, “stopped”: false, “timeout”: 10, “tls”: false, “tls_hostname”: “localhost”, “validate_certs”: false } }, “module_stderr”: “Creating sociallealternativenet_postgres_1 … \nCreating sociallealternativenet_postfix_1 … \nCreating sociallealternativenet_pictrs_1 … \n\u001b[3A\u001b[2K\nCreating sociallealternativenet_postgres_1 … \n\u001b[3B\u001b[1A\u001b[2K\nCreating sociallealternativenet_pictrs_1 … \ny_1 … \n\u001b[3A\u001b[2K\nCreating sociallealternativenet_postfix_1 … \n\u001b[3B”, “module_stdout”: “”, “msg”: “Error starting project a bytes-like object is required, not ‘str’” }

Error on Ansible
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?

Be careful because Kiwi in the latest release insert a lot of tracking: https://reports.exodus-privacy.eu.org/it/reports/com.kiwibrowser.browser/latest/

  • Facebook ADS
  • Google AdMob
  • Google Firebase

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!

Also this is one of the most important feature (for me) on the fediverse. If an instance “goes bad” it’s good transfer all on other istance. By the way my question was in this topic because i already have 100followers on my community and this is one of the reason can’t open another istance if i can’t import all the followers.

Question: it is possible to “migrate” a community from an instance to another?

oh thank you! I am going mad 😁

Can’t use RSS?
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!