help-circle
rss

Update error from 0.16.3
Following official instructions for Docker and when I run 'docker-compose up -d' it throws this error: Pulling lemmy (dessalines/lemmy:0.16.5)... 0.16.5: Pulling from dessalines/lemmy ERROR: no matching manifest for linux/amd64 in the manifest list entries
fedilink

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?
fedilink

How to obtain RSS feed link of subscribed content?
I have found already the RSS feed update https://github.com/LemmyNet/lemmy/issues/349 but I have no idea how to get "hashed" part - /feeds/front/hashed_id*.xml?sort=X - /feeds/inbox/hashed_id.xml?sort=X&type=unread
fedilink

Trouble posting and commenting from Friendica
Hello, Over the last one or two weeks, I have had difficulties with commenting from nerdica.net to lemmy.ml (I checked that `nerdica.net` appears in the [federated instance list](https://lemmy.ml/instances)). More precisely, my posts and comments don't appear spontaneously, but only appear when I search them by hand in the Lemmy searchbar. In case it helps locating the problem, it appear that these manually fetched post don't have the automatic selflike. See for example [this test post](https://nerdica.net/display/a85d7459-1262-8d59-5dbd-da2717970656) Thanks in avance for any help :)
fedilink

Error built from source
ubuntu10, Debian 11 Build from source always errors: ``` Compiling quickcheck v1.0.3 Compiling phf_generator v0.8.0 Compiling phf_generator v0.10.0 Compiling bcrypt v0.12.1 error: failed to run custom build command for `lemmy_utils v0.16.3 (/root/server/crates/utils)` Caused by: process didn't exit successfully: `/root/server/target/release/build/lemmy_utils-3c8f53b241e1ef04/build-script-build` (exit status: 1) --- stderr Error: FileRead { file: "translations/email/en.json", source: Os { code: 2, kind: NotFound, message: "No such file or directory" } } ``` -------------- How to solve this problem?
fedilink

How to edit theme style in docker?
**How to edit theme style in docker?** ~# docker exec -it 9f3678b6218f /bin/bash OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown How can this be solved?
fedilink

  • Tryp
  • edit-2
    6M
How Can I Use 2 Lemmy Front Ends for a Single Backend?
I understand this isn't supported. I've been trying to confangle this myself but not having much luck, feels like I'm missing some critical info on how to configure `docker-compose.yml `and `nginx.conf`. I've tried a few iterations now but here's what I thought would be close. These are the only two files I've edited thus far, I'm using 0.16.2 for my 2nd front end so I can tell when I'm using it. I can view localhost:1236 fine but not localhost:1237 which gives me 502 bad gateway error, favicon still appears in tab though. I'm thinking I need to open a separate port on lemmy to config another upstream entry in my nginx.conf? In prod the goal would be to have each frontend under a different subdomain for a research project I have in mind. `docker-compose.yml` ``` version: '3.3' services: nginx: image: nginx:1-alpine ports: - "1236:1236" - "1237:1237" volumes: - ./nginx.conf:/etc/nginx/nginx.conf restart: always depends_on: - pictrs - lemmy-ui - lemmy-uir lemmy: image: lemmy-dev:latest ports: - "8536:8536" - "6669:6669" restart: always environment: - RUST_LOG="warn,lemmy_server=debug,lemmy_api=debug,lemmy_api_common=debug,lemmy_api_crud=debug,lemmy_apub=debug,lemmy_db_schema=de> volumes: - ../lemmy.hjson:/config/config.hjson depends_on: - pictrs - postgres - otel lemmy-ui: image: dessalines/lemmy-ui:0.16.3 restart: always environment: - LEMMY_INTERNAL_HOST=lemmy:8536 - LEMMY_EXTERNAL_HOST=localhost:1234 - LEMMY_HTTPS=false - LEMMY_UI_DEBUG=true depends_on: - lemmy lemmy-uir: image: dessalines/lemmy-ui:0.16.2 restart: always environment: - LEMMY_INTERNAL_HOST=lemmy:8536 - LEMMY_EXTERNAL_HOST=localhost:1235 - LEMMY_HTTPS=false - LEMMY_UI_DEBUG=true depends_on: - lemmy ``` `nginx.conf` ``` worker_processes 1; events { worker_connections 1024; } http { upstream lemmy { server "lemmy:8536"; } upstream lemmy-ui { server "lemmy-ui:1234"; } server { listen 1236; server_name localhost 127.0.0.1; # frontend location / { set $proxpass "http://lemmy-ui"; if ($http_accept = "application/activity+json") { set $proxpass "http://lemmy"; } if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") { set $proxpass "http://lemmy"; } if ($request_method = POST) { set $proxpass "http://lemmy"; } proxy_pass $proxpass; rewrite ^(.+)/+$ $1 permanent; # Send actual client IP upstream proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } # backend location ~ ^/(api|pictrs|feeds|nodeinfo|.well-known) { proxy_pass "http://lemmy"; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; # Add IP forwarding headers proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } upstream lemmy-uir { server "lemmy-uir:1235"; } server { listen 1237; server_name localhost 127.0.0.1; # frontend location / { set $proxpass "http://lemmy-uir"; if ($http_accept = "application/activity+json") { set $proxpass "http://lemmy"; } if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") { set $proxpass "http://lemmy"; } if ($request_method = POST) { set $proxpass "http://lemmy"; } proxy_pass $proxpass; rewrite ^(.+)/+$ $1 permanent; # Send actual client IP upstream proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } # backend location ~ ^/(api|pictrs|feeds|nodeinfo|.well-known) { proxy_pass "http://lemmy"; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; # Add IP forwarding headers proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } } ``` logs for `lemmy-uir`, identical logs to `lemmy-ui` ``` docker-compose logs --tail=100 lemmy-uir Attaching to dev_lemmy-uir_1 lemmy-uir_1 | Inferno is in development mode. lemmy-uir_1 | httpbase: http://lemmy:8536 lemmy-uir_1 | wsUri: ws://lemmy:8536/api/v3/ws lemmy-uir_1 | isHttps: false lemmy-uir_1 | No JWT cookie found. lemmy-uir_1 | http://0.0.0.0:1234 ``` Grabbed this from the nginx logs: ``` nginx_1 | 2022/05/20 10:44:34 [error] 33#33: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.137.1, server: localhost, request: "GET / HTTP/1.1", upstream: "http://172.25.0.8:1235/", host: "192.168.137.132:1237" nginx_1 | 192.168.137.1 - - [20/May/2022:10:44:34 +0000] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36" nginx_1 | 2022/05/20 10:44:34 [error] 33#33: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.137.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.25.0.8:1235/favicon.ico", host: "192.168.137.132:1237", referrer: "http://192.168.137.132:1237/ ```
fedilink

Is there a way to temporarily hide posts/comments from a subscribed community?
The issue I have is that certain communities that I like can be high traffic, and sometimes I don't want to see their posts. I would like to be able to temporarily hide the community while going through my "Subscribed" feed, especially when I sort by "new". Is this a feature or is there maybe an opinion that Lemmy users/developers have on this kind of behavior. I think I'd find it desirable but I could be missing some context.
fedilink

Unable to unpin another mod's sticky
Not sure when this happened. Is this intended? On this sub [!coronavirus@lemmy.ml](https://lemmy.ml/c/coronavirus)
fedilink

Cannot log out of Lemmy
When I try to log out (using the top right menu) the page just refreshes. Sometimes it works if I log out then refresh, or restart the browser, or log out several times in a row; but not always. I am using Tor on Windows. Is it a known problem? Is there a known solution?
fedilink

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!
fedilink

Federate with mastodon instances
has anyone already successfully federated with mastodon instances? I can't seem to find any community on e.g @norden.social nor send a message to a user. I've configured Lemmy according the docker installation instructions
fedilink

[Solved] How do I uninstall this dockers?
``` ❯ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4c5d24333349 torrents-csv-server:latest "/app/torrents-csv-s…" 16 hours ago Up About an hour 8080/tcp, 0.0.0.0:8902->8902/tcp, :::8902->8902/tcp dev-torrents-csv-1 926fa3142323 dessalines/lemmy-ui:0.16.3 "docker-entrypoint.s…" 3 days ago Up About an hour 127.0.0.1:1235->1234/tcp lemmy-lemmy-ui-1 5e3f283dc7fd dessalines/lemmy:0.16.3 "/app/lemmy" 3 days ago Up 6 seconds 127.0.0.1:6669->6669/tcp, 127.0.0.1:8536->8536/tcp lemmy-lemmy-1 3f5e5cf9ab66 asonix/pictrs:0.3.1 "/sbin/tini -- /usr/…" 3 days ago Up About an hour 127.0.0.1:6670->6669/tcp, 127.0.0.1:8537->8080/tcp lemmy-pictrs-1 9fb8cb84b864 postgres:12-alpine "docker-entrypoint.s…" 3 days ago Up About an hour 5432/tcp lemmy-postgres-1 ``` ``` ❯ docker container inspect lemmy-lemmy-1 [ { "Id": "5e3f283dc7fdbd324e66c6b6badac2d02ef786d9073636dbf2f7f0aaf0a375e3", "Created": "2022-04-20T23:31:23.994534735Z", "Path": "/app/lemmy", "Args": [], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 67163, "ExitCode": 0, "Error": "", "StartedAt": "2022-04-24T13:36:26.45102489Z", "FinishedAt": "2022-04-24T13:36:26.024193484Z" }, "Image": "sha256:6d4a6ea6901b39bc863f874ead7d9fa0f3f5d54a97e7a701b7451698852eeb4f", "ResolvConfPath": "/var/lib/docker/containers/5e3f283dc7fdbd324e66c6b6badac2d02ef786d9073636dbf2f7f0aaf0a375e3/resolv.conf", "HostnamePath": "/var/lib/docker/containers/5e3f283dc7fdbd324e66c6b6badac2d02ef786d9073636dbf2f7f0aaf0a375e3/hostname", "HostsPath": "/var/lib/docker/containers/5e3f283dc7fdbd324e66c6b6badac2d02ef786d9073636dbf2f7f0aaf0a375e3/hosts", "LogPath": "/var/lib/docker/containers/5e3f283dc7fdbd324e66c6b6badac2d02ef786d9073636dbf2f7f0aaf0a375e3/5e3f283dc7fdbd324e66c6b6badac2d02ef786d9073636dbf2f7f0aaf0a375e3-json.log", "Name": "/lemmy-lemmy-1", "RestartCount": 158, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "docker-default", "ExecIDs": null, "HostConfig": { "Binds": [ "/home/user/.local/share/lemmy/lemmy.hjson:/config/config.hjson:rw" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": {} }, "NetworkMode": "lemmy_default", "PortBindings": { "6669/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "6669" } ], "8536/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "8536" } ] }, "RestartPolicy": { "Name": "always", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "CgroupnsMode": "private", "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "private", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": false, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": null, "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "runc", "ConsoleSize": [ 0, 0 ], "Isolation": "", "CpuShares": 0, "Memory": 0, "NanoCpus": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": null, "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpuRealtimePeriod": 0, "CpuRealtimeRuntime": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": null, "DeviceCgroupRules": null, "DeviceRequests": null, "KernelMemory": 0, "KernelMemoryTCP": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": null, "OomKillDisable": null, "PidsLimit": null, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0, "MaskedPaths": [ "/proc/asound", "/proc/acpi", "/proc/kcore", "/proc/keys", "/proc/latency_stats", "/proc/timer_list", "/proc/timer_stats", "/proc/sched_debug", "/proc/scsi", "/sys/firmware" ], "ReadonlyPaths": [ "/proc/bus", "/proc/fs", "/proc/irq", "/proc/sys", "/proc/sysrq-trigger" ] }, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/1fffbd3f1e9160d69e16ad4575efb4b6817e438068199c1221be9c00a9af5d64-init/diff:/var/lib/docker/overlay2/e0b1340974ec3b3e842a165b913104c1a9746f79cabd743183b0c3d1b9a494fe/diff:/var/lib/docker/overlay2/7a8ca8a215b74bbdae7db6297c41e7226a84d4d1221efe8c9a1e58ed736f8ddf/diff:/var/lib/docker/overlay2/c72a915bea0b1b30f33b0622e406aa7925b6069b9c9232d737f6bc1b5b63947a/diff", "MergedDir": "/var/lib/docker/overlay2/1fffbd3f1e9160d69e16ad4575efb4b6817e438068199c1221be9c00a9af5d64/merged", "UpperDir": "/var/lib/docker/overlay2/1fffbd3f1e9160d69e16ad4575efb4b6817e438068199c1221be9c00a9af5d64/diff", "WorkDir": "/var/lib/docker/overlay2/1fffbd3f1e9160d69e16ad4575efb4b6817e438068199c1221be9c00a9af5d64/work" }, "Name": "overlay2" }, "Mounts": [ { "Type": "bind", "Source": "/home/user/.local/share/lemmy/lemmy.hjson", "Destination": "/config/config.hjson", "Mode": "rw", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "5e3f283dc7fd", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": true, "AttachStderr": true, "ExposedPorts": { "6669/tcp": {}, "8536/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "RUST_LOG=\"warn,lemmy_server=info,lemmy_api=info,lemmy_api_common=info,lemmy_api_crud=info,lemmy_apub=info,lemmy_db_schema=info,lemmy_db_views=info,lemmy_db_views_actor=info,lemmy_db_views_moderator=info,lemmy_routes=info,lemmy_utils=info,lemmy_websocket=info\"", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ], "Cmd": [ "/app/lemmy" ], "Image": "dessalines/lemmy:0.16.3", "Volumes": { "/config/config.hjson": {} }, "WorkingDir": "", "Entrypoint": null, "OnBuild": null, "Labels": { "com.docker.compose.config-hash": "4beb5018aea15eff52abdd599d6651766dbab9fec95033d92c4362d74e1d2ce8", "com.docker.compose.container-number": "1", "com.docker.compose.depends_on": "pictrs:service_started,postgres:service_started", "com.docker.compose.image": "sha256:6d4a6ea6901b39bc863f874ead7d9fa0f3f5d54a97e7a701b7451698852eeb4f", "com.docker.compose.oneoff": "False", "com.docker.compose.project": "lemmy", "com.docker.compose.project.config_files": "/home/user/.local/share/lemmy/docker-compose.yml", "com.docker.compose.project.working_dir": "/home/user/.local/share/lemmy", "com.docker.compose.service": "lemmy", "com.docker.compose.version": "2.4.1", "org.opencontainers.image.created": "2022-04-08T14:33:27Z", "org.opencontainers.image.revision": "c232564fdadd06a66841bfb1ad6aafc7ace51aab", "org.opencontainers.image.source": "https://github.com/LemmyNet/lemmy.git", "org.opencontainers.image.url": "https://github.com/LemmyNet/lemmy" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "fc7e7f7f69ebcfa4deb3cf2385d927beda84ac87fcbdb4a3dffa0f65f620530a", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": { "6669/tcp": [ { "HostIp": "127.0.0.1", "HostPort": "6669" } ], "8536/tcp": [ { ```
fedilink

Feedback : quote-sharing from Friendica
[!lemmy\_support](https://lemmy.ml/c/lemmy_support) I've been playing with quote-sharing and it seems that * it works in comments (cf [1](https://lemmy.ml/post/241819/comment/166815) [2](https://lemmy.ml/post/241819/comment/166808) [3](https://lemmy.ml/post/241819/comment/166803) [4](https://lemmy.ml/post/241819/comment/166800) * it does not work in posts (cf [1](https://nerdica.net/display/a85d7459-1162-63c9-7e6f-59a705817916) [2](https://nerdica.net/display/a85d7459-1862-644b-451f-a59046334474) that do not appear on Lemmy) It can come in handy to cite a post or comment when participating in a discussion, so it would be nice if this all works eventually, although I understand that you probably have lots of more urgent things to do !
fedilink

Suggestion: Add setting to show usernames instead of display names.
I’ve lost count on the number of accounts impersonating Dessalines. Plus, I’d like to easily see what instance a user comes from.
fedilink

[Solved] Where is lemmy docker installed?
I saved the files `docker-compose.yml` and `lemmy.hjson` in `/home/user/.local/share/lemmy/`. Where is lemmy installed when I do `docker-compose up -d`? > docker container inspect <container-name>
fedilink

Can't add my access this account from my phone.
I don't like reddit. I would like to migrate over to Lemmy. Lemmy is making it exceedingly difficult to do so. I have this account that I'm working from right now from my computer. I cannot add it to the app on the phone. I simply will not go through. After I put in the credentials it stays at the loading phase. I don't know if there is an error or not because it will not tell me. It will stay in this phase for hours. I couldn't even make an account over the phone because it wouldn't tell me syntax errors when I was trying to make the account. I would hit create account and it would sit there doing nothing as if the page was broken. For instance, it wouldn't tell me what characters I was allowed to use in the user name, it wouldn't tell me how many characters and what kinds of characters I needed to use in the password. I had to build to the account from the PC in order to be told I needed to adjust my user name and password. It took over a month to bother to figure that out. Even after creating the account and being able to use it from my PC I am still unable to sign into the account or use it from my phone. How many people want to migrate over to Lemmy but are being denied access due to these technical problems?
fedilink

Is there a way to remove certain high-traffic instances from my "All" feed?
Lemmygrad has more traffic than most other instances and drowning everything else in my "All" feed. Is there a way to remove them from my "All" feed?
fedilink

Unable to tag users on lemmy.perthchat.org. Fixes?
How to fix? When i try: @des nothing happens edit: it works only sometimes?
fedilink

Support / questions about Lemmy.

  • 0 users online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 5 users / 6 months
  • 11 subscribers
  • 132 Posts
  • 375 Comments
  • Modlog
Lemmy
A community of leftist privacy and FOSS enthusiasts, run by Lemmy’s developers

What is Lemmy.ml

Rules

  1. No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
  2. Be respectful. Everyone should feel welcome here.
  3. No porn.
  4. No Ads / Spamming.

Feel free to ask questions over in: