• 36 Posts
  • 128 Comments
Joined duela 2 urte
cake
Cake day: urr. 17, 2020

help-circle
rss




Open the fridge, light turns on. Close the fridge, light turns off. Can’t explain that.


Running 2 instances on one VPS
I'm thinking of setting up another lemmy instance and was considering just hosting it on the same VPS as my current instance. I know lemmygrad is hosted on the same server as lemmy.ml. How difficult is this?
fedilink

I believe the devs host their code on multiple repositories including Codeberg.



I’m glad to know it’s not just my instance.


Cannot fetch comments
I'm currently going through some logs and when I do a search from my instance to a post on lemmy.ml, I get the following: ``` lemmy_1 | 2022-03-03T02:26:39.044892Z INFO Websocket Request{trace_id=00000000000000000000000000000000}:perform{self=ResolveObject { q: "https://lemmy.ml/post/184244/comment/125405", auth: Some(Sensitive) }}:search_by_apub_id: lemmy_apub_lib::object_id: Fetching remote object https://lemmy.ml/post/184244/comment/125405 lemmy_1 | 2022-03-03T02:26:39.096253Z ERROR Websocket Request{trace_id=00000000000000000000000000000000}: lemmy_websocket::handlers: Error during message handling couldnt_find_object: error decoding response body: EOF while parsing a value at line 1 column 0 lemmy_1 | 0: lemmy_apub::fetcher::search::search_by_apub_id lemmy_1 | at crates/apub/src/fetcher/search.rs:20 lemmy_1 | 1: lemmy_api::site::perform lemmy_1 | with self=ResolveObject { q: "https://lemmy.ml/post/184244/comment/125405", auth: Some(Sensitive) } lemmy_1 | at crates/api/src/site.rs:399 lemmy_1 | 2: lemmy_websocket::handlers::Websocket Request lemmy_1 | with trace_id=00000000000000000000000000000000 lemmy_1 | at crates/websocket/src/handlers.rs:68 ```
fedilink

Yeah, according to logs the POST requests are going through fine.

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    Anywhere
80/tcp                     ALLOW IN    Anywhere
443                        ALLOW IN    Anywhere
25                         DENY IN     Anywhere
443/tcp                    ALLOW IN    Anywhere
22/tcp (v6)                ALLOW IN    Anywhere (v6)
80/tcp (v6)                ALLOW IN    Anywhere (v6)
443 (v6)                   ALLOW IN    Anywhere (v6)
25 (v6)                    DENY IN     Anywhere (v6)
443/tcp (v6)               ALLOW IN    Anywhere (v6)

443                        ALLOW OUT   Anywhere
443 (v6)                   ALLOW OUT   Anywhere (v6)

I’m still having federation issues after the upgrade. At this point I wonder if it’s my firewall or something. I watch the lemmy logs when upvoting for example and my server doesn’t even see the request come in.


Rich capitalists with morals? Pssh…


This is what it looks like when you use 100% of your brain.



I drink milk like it’s water and I’m 31 lol.


I second this. If someone/something is banned and removed from an instance it shouldn’t still be visible on a linked instance. If this isn’t already a pending feature request I’ll happily make one for it.


Knowing Elon it’s probably just a Nintendo switch you duct tape to your face.


I was camping in the Pennsylvania woods and had to go so I dug a shallow hole and did my business.


Imagine not getting the vaccine and dying of covid because the computer tricked you.


Underwater structures that are generally made of metal. Buoys, oil rigs in the ocean, reactor pools. I shudder thinking about swimming near anything like that.


The main thing I want to do is free up space on my phone by having the pictures/videos backed up to a server, but also be viewable at any time.


Which image hosting software do you recommend?
I've been researching open source image/video hosting software because I sure as hell don't want to use Google Photos. I'm leaning toward PhotoPrism, but I thought I'd get your opinions first.
fedilink


This is unfortunately what worries me about the future in the US. People get more extreme, they elect more extreme politicians, then when the more moderate voices in their party defect, they vote them out and elect more extreme politicians.


I already blocked wolfballs on mine.





In the docker-compose.yml file, change whatever version number comes after lemmy-ui to 0.14.1. It should look like the following:

version: '2.2'

services:
  postgres:
    image: postgres:12-alpine
    environment:
      - POSTGRES_USER=lemmy
      - POSTGRES_PASSWORD=password
      - POSTGRES_DB=lemmy
    volumes:
      - ./volumes/postgres:/var/lib/postgresql/data
    restart: always

  lemmy:
    image: dessalines/lemmy:0.14.1
    ports:
      - "127.0.0.1:8536:8536"
    restart: always
    environment:
      - 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"
    volumes:
      - ./lemmy.hjson:/config/config.hjson
    depends_on:
      - postgres
      - pictrs

  lemmy-ui:
    image: dessalines/lemmy-ui:0.14.1
    ports:
      - "127.0.0.1:1235:1234"
    restart: always
    environment:
      - LEMMY_INTERNAL_HOST=lemmy:8536
      - LEMMY_EXTERNAL_HOST=localhost:8536
      - LEMMY_HTTPS=true
    depends_on: 
      - lemmy

  pictrs:
    image: asonix/pictrs:v0.2.6-r2
    ports: 
      - "127.0.0.1:8537:8080"
    user: 991:991
    volumes:
      - ./volumes/pictrs:/mnt
    restart: always







Might be because I’m at work but I get a Cloudflare page saying it’s unreachable.





I didn’t know he had a job outside of maintaining Linux.


I tried running Windows 10 on a HDD and I was about to throw that machine out the window. Switched to a SSD and it’s like a brand new machine. Interestingly, my Debian installation ran perfectly fine on the HDD lol.


Does someone know where I can find a tutorial for this? I feel dumb asking but I don’t really understand how to use this.


Did you purge the bloatware that comes with Windows?





midwest.social
Hello everyone, I have my Midwest, USA oriented instance up. It's not federated yet, although I think it's ready for federation since I added lemmy.ml and sopuli.xyz to it. This is very much a personal project of mine, so there may be mistakes made in deploying it from time to time.
fedilink


Need help with Nginx SSL setup
Hello, I am setting up a HTTPS server for the first time and I am using Nginx. I had Certbot get a cert for me and it edited the config file. Now my site (midwest.social) times out. I just wanted to test it by opening the default Nginx web page. Here is my sites-available config file: `server { # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gzip for SSL traffic. # See: https://bugs.debian.org/773332 # # Read up on ssl_ciphers to ensure a secure configuration. # See: https://bugs.debian.org/765782 # # Self signed certs generated by the ssl-cert package # Don't use them in a production server! # # include snippets/snakeoil.conf; root /var/www/html; # Add index.php to the list if you are using PHP index index.html index.htm index.nginx-debian.html; server_name midwest.social; # managed by Certbot location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # location ~ /\.ht { deny all; } listen [::]:443 ssl ipv6only=on; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/midwest.social/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/midwest.social/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot }`
fedilink



A midwest USA oriented lemmy instance
So I bought a domain name the other day. I'm thinking of starting a lemmy instance that is oriented around those of us who happen to live in the midwest of the US. I'd have a similar CoC as this instance and would like to federate with it. Thoughts?
fedilink

Buying a domain name
Hello everyone, I'm considering starting a Lemmy instance and am looking at domain names. Any tips on where to buy? I was told to avoid GoDaddy and I'd rather not give Google my money.
fedilink

Lemmy wikipedia page
Tonight I tried to create a Wikipedia page for Lemmy to try and raise awareness, but it was quickly rejected for the following reason: > This submission's references do not show that the subject qualifies for a Wikipedia article—that is, they do not show significant coverage (not just passing mentions) about the subject in published, reliable, secondary sources that are independent of the subject. Before any resubmission, additional references meeting these criteria should be added (see technical help and learn about mistakes to avoid when addressing this issue). If no additional references exist, the subject is not suitable for Wikipedia. I guess we'll have to start getting journalists to write about it? ![](https://lemmy.ml/pictrs/image/gLaF1CYmTX.jpg)
fedilink


Best Rust concepts for contributing to Lemmy?
I'm currently working my way through the Rust book provided on rust-lang.org so that I can one day contribute to this project. Are there any sections I should specifically focus on? Skip?
fedilink





Latest release of Alacritty not installed
I'm running Debian 10 and I saw that there was a new release of Alacritty, so I checked the version I was running which was 0.4.2 and went to apt update and it said everything was up to date? Am I somehow running a super stable Debian version?
fedilink

Force update Android to latest version
I have a bunch of Android phones configured a specific way that haven't been turned on in a long while and therefor their OS version hasn't been updated in a long while. In order to get to the latest version I have to update the app over and over again incrementally until it reaches the newest version. Is there a way to force update this to the latest Android version?
fedilink

Open source alternative to Knox Manage mobile device management
The company I work for sells a medical device that transmits data via Bluetooth Low Energy to a smartphone app that is then pushed to a database. For some of our customers they request that we provide phones with our app pre-installed that have most features locked down so that only the a select few apps are able to run (to prevent people using them for reasons other than the medical device data). We use Knox Manage, mobile device management software that is installed on all Samsung devices to configure the restrictions. With this installed we can perform updates on the phone remotely, check the location, and disable the device as well as other things. I know Linux phones are still in their early stages but has anyone heard of similar admin software like this?
fedilink




This was shared by another user on here in a thread about bitcoin. After talking to a bitcoin hyper over the weekend I thought I'd post it and maybe get other people's thoughts.
fedilink


Trouble adding KDE widgets
Hello, I have an Arch install using KDE Plasma and when I right click on the desktop and select Add Widgets nothing happens. No menu opens. Any ideas?
fedilink

Linux Upskill Challenge
Has anybody done this before?
fedilink

I convinced my bosses to start using Bitwarden for work
A small win for open source and privacy
fedilink

Community request: c/guns
The mod hasn't been active for 7 months
fedilink

Cannot purge malware from Pixel 4
I have a Pixel 4 XL and today I noticed that every so often when I unlock my phone it will open to some scammy chrome tab. I use Firefox most of the time so I don't know where this malware came from. I've tried deleting history/cookies and it hasn't worked. I can't delete chrome because you can't do that on Pixel devices. Anybody have any advice other than doing a factory reset?
fedilink

What harm is there in simply keeping WhatsApp installed on my device and not using it?
I just got my only international contact to switch to Signal, but I don't feel like setting up whatsapp again if I would ever need it for some reason. Is there any harm in simply keeping it and not using it?
fedilink

What is your opinion on Elon Musk?
He seems like kind of a dick
fedilink