tubbadu

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

THANK YOU! The grep command you posted showed me that that UUID was still present in /etc/kernel/cmdline as

resume=UUID=8c53812d-ba43-45e4-b219-8d3ded8548a5

I changed it with the new one and run sudo reinstall-kernels, and now it works correctly! thank you very much for your help!

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (3 children)
A start job is running for /dev/disk/by-uuid/8c53812d-ba43-45e4-b219-8d3ded8548a5

it's really strange, I just noticed that it's the UUID of... the original swap partition (now gone) the entry is still commented in /etc/fstab:

# UUID=8c53812d-ba43-45e4-b219-8d3ded8548a5 swap             swap    defaults   0 0

is there another place other than /etc/fstab where I should remove it?

thanks for the help!

EDIT: this is the whole output of sudo blkid if needed:

/dev/nvme0n1p3: LABEL="swap" UUID="506d48e6-1cc0-4136-ba55-6f2f187bcdb1" TYPE="swap" PARTLABEL="SWAP" PARTUUID="b4543e4e-4623-4317-99aa-086b0e62836e"
/dev/nvme0n1p1: UUID="467B-65A4" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="53413c1b-04f0-42cf-bd71-15e2796f002a"
/dev/nvme0n1p2: LABEL="endeavouros" UUID="cf0a3420-51e0-40ba-8b86-ae2cc576e5c1" UUID_SUB="faa47171-fc00-4435-8c8f-0b346682071d" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="endeavouros" PARTUUID="dc12b835-18f9-4937-8a58-07b2600012e9"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="d076884c-6236-4e0a-be36-47df3e28d7a3"
/dev/sda3: LABEL="STORAGE" UUID="6EFB-D6EF" BLOCK_SIZE="512" TYPE="exfat" PARTUUID="381ea0c9-7fdd-4a74-a92e-5b450f2001db"
/dev/sda1: LABEL="WINZOZZ" BLOCK_SIZE="512" UUID="7FC0A0D067B4D0F8" TYPE="ntfs" PARTUUID="e4d431c8-06e8-4fac-93e9-342026cc4ff1"
13
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 

Hello everybody! here's the problem: In my EndeavourOS laptop I had a /swapfile, but couldn't take snapshots with snapper because of it (if I understood correctly). So, I created a 16Gb swap partition using GParted from a live USB. Then, I edited /etc/fstab to remove the line about the swapfile and to add the newly created swap partition:

UUID=506d48e6-1cc0-4136-ba55-6f2f187bcdb1   swap           swap    defaults   0 0
# /swapfile                                   none           swap    sw         0 0

I took the UUID from

$ sudo blkid  
/dev/nvme0n1p3: LABEL="swap" UUID="506d48e6-1cc0-4136-ba55-6f2f187bcdb1" TYPE="swap" PARTLABEL="SWAP" PARTUUID="b4543e4e-4623-4317-99aa-086b0e62836e"
...

if I run sudo swapon -a it gets enabled correctly and it all works fine. The problem however is that when I reboot the machine, it gets stuck in the systemd screen saying "a job is running for /dev/disk/etc..." forever, and the only way I have to log in is to boot from a live USB, modify /efi/loader/entries/somethingverylong.conf to add these kernel options:

systemd.swap=0 noresume

and then reboot, and manually enable the swap.

I'm not understanding very well what's happening here. why is the system stuck if I don't add these parameters? how can I solve it?

thanks in advance!

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

thanks for the reply! many services allows this by setting an environmental variable or through a config file, but sadly not all of them

[–] [email protected] 1 points 2 months ago

If you can’t configure the ports of your services then there’s no real recourse FWIU

Sadly this is my case... I guess I'll have to give up then thank you very much!

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

thanks for the detailed reply!

When both contsiners use the same second number, C1: 1234:80, C21235:80, and neither documents suggest how to change that port, I personally haven’t found a way to resolve that conflict.

unfortunately I'm in this situation, so I guess my only ways are to modify the container by hand or to create two instances of gluetun. thank you very much for your help!

 

Hello everybody! I have the following issue: I have two countainers, let's call them C1 and C2, and they both expose the same port, let's say 1234. I want to route both of them through a gluetun container. to do this, I added

network_mode: container:gluetun

at each container. But they both expose the same port, so there's a conflict. Without routing them though gluetun I can just

ports:
  - 1235:1234

but using network_mode this cannot be done. What can I do? The only thing that comes to my mind is to use two gluetun containers, but I'd rather use a single one

thanks in advance!

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

"it's already installed"

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

There's also a telegram bot

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

Thanks for the reply! Stremio-web does not seem to have a docker package, so I should install it outside of docker? (Or create a docker container myself, but I never tried)

Also, I found [this project](Thanks for the reply! Stremio-web does not seem to have a docker package, so I should install it outside of docker? (Or create a docker container myself, but I never tried)

Also, I found this project that bundles both together, but the stremio accounts are still managed by the stremio servers, and I'd like to be independent from them instead. I asked the developer and he said that I need to change stremio-web (see issue), but I can't find any configuration option in the readme.

Sorry if my question seems confusing, but I'm pretty confused about this

[–] [email protected] 10 points 3 months ago (1 children)

Super Cool! Does it support other formats like epub, cbz etc?

 

Hello! My girlfriend bought a new pc, an HP pavilion x360 with the touchscreen, and asked me to install her kubuntu as in her previous non-tablet pc, and so I did. It works very well, except for the fact that I tried really hard without success to setup a virtual keyboard. fcitx5 was already installed, but I couldn't find a way to use it as virtual keyboard, and apparently it does not bundle a UI. i then installed maliit (the one that I use on my EndeavourOS 2in1 laptop flawlessly) but it seems to have a strange bug where it only works once, then after you close it it will never pop up again. I tried the workaround suggested here but it works once every 4 tries and the keyboard pops up but is unable to write anything.

Has anyone achieved to install a virtual keyboard on Kubuntu 24.04? I'd rather not switch to X11 because except for the keyboard, the touch support is way better under wayland

thanks in advance to anyone!

 

Hello! on my home server I currently have jellyfin+arr suite installed, but I have often problems finding downloads, probably because of the torrent indexers I have access to. Because of this, I often find myself watching content on streaming websites because it has not been downloaded on the server.

So I started to consider replacing jellyfin with stremio. I'd like, if possible, to self host it with docker. I tried to follow the instructions here, but I'm a bit confused: if I go to myserver:12470, it says "the connection was reset by the server", while if I go to myserver:11470 I'm just redirected to https://app.strem.io/shell-v4.4/?streamingServer=<myserverhere>.

am I doing something wrong? I can't find any guide or similar on how to self host it, so I guess it's not something supported, but if it's the case then what's the point of the docker image? I'd like to be independent on the stremio server, it's the point of self-hosting it

thanks in advance fellow sailors!

[–] [email protected] 3 points 3 months ago

Total ignorant question: how hard would it be to fork (and mostly maintain) chromium keeping manifest V2 support?

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

What's the point of keeping part of the UI closed source?

[–] [email protected] 11 points 3 months ago

Roger Roger

 

Hello! My girlfriend's HP laptop running kubuntu 24.04 has this problem: when it's turned off (either from the GUI or poweroff) it discharges overnight, from 100% to 0% in a few days.

I searched the web to look for fixes:

  • wake on lan is disabled in the BIOS
  • USB ports have no settings in the bios, but there's nothing connected to them anyway
  • the system is actually powered off, not sleeping (at least if poweroff actually works)
  • everything, firmware included, is up to date

She doesn't remember having this problem from the beginning, but cannot tell when this started occurring

Did any of you ever encounter this problem? I don't know what else to do, and it's quite annoying.

Thank you for your time!

 

Hello! I have jellyfin+qbittorrent+radarr on my home server, but I can't make it work with hardlinks. When a download finishes, it just copies it to the /movie folder, doubling the disk space. at least, I think that it's just a copy, because the disk space is double and find ./downloads -samefile ./movies/path/to/file.mkv returns no result, meaning if I understand correctly that file.mkv is not hardlinked to any file in the download folder (but it should).

this is the docker compose:

radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    network_mode: container:gluetun
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Rome
    volumes:
      - ./radarr-config:/config
      - /media/HDD1/movies:/movies
      - /media/HDD1/downloads:/downloads
    restart: unless-stopped

HDD1 hard drive is formatted ext4, that supports hardlinks (in fact I can create them manually), and in the radarr settings the checkbox "use hardlinks instead of copy" is checked.

Ideally I'd prefer softlinks instead of hadlinks, but I don't think there's a way to do it natively, I think I'd need an external script

Any tips? Thanks in advance!

 

Hello! I was wondering if running periodically a script to automatically pull new images for all my containers is a good or a bad idea. I'd run it everyday at 5.00AM to avoid interruptions. Any tips?

EDIT: Thanks to everyone for the help! I'll install Watchtower to manage the updates

 

Hello! My disk space was out of space left, so I decided to remove some snapper snapshot. snapper list listed over 360 snapshots. I removed them, and freed 50Gb of space. One of these hasn't been deleted successfully:

Cannot delete snapshot 166 since it is the next to be mounted snapshot.

it's description is writable copy of #156. How can I remove it? should I do it using btrfs subvolume delete?

here's the output of sudo btrfs subvolume list -t /:

ID      gen     top level       path
--     
***
    ---------       ----
256     178487  5               timeshift-btrfs/snapshots/2023-09-18_18-25-33/@
257     341688  5               @home
258     341680  5               @cache
259     341688  5               @log
260     26      256             timeshift-btrfs/snapshots/2023-09-18_18-25-33/@/var/lib/portables
261     27      256             timeshift-btrfs/snapshots/2023-09-18_18-25-33/@/var/lib/machines
708     341688  5               @
710     341680  708             .snapshots
2781    178991  5               timeshift-btrfs/snapshots/2024-05-07_12-20-43/@
2968    326034  710             .snapshots/166/snapshot
2969    341679  710             .snapshots/167/snapshot

all those timeshift subvolumes are there because before snapper, I used to use timeshift. I tried to remove them:

sudo btrfs subvolume delete timeshift-btrfs/snapshots/2023-09-18_18-25-33/@/var/lib/machines    
ERROR: Could not statfs: No such file or directory

If I understand correctly, it means that I should give an actual "system" path instead of the path in the table, but I don't understand which path

thanks in advance to everyone!

 

Hello! I have a problem: sometimes I instinctively refer to a movie by the English name (for example, Star Wars), but if I search for it in jellyfin it is not found, as the italian translated name is "Guerre Stellari". I'd like to be able to search for it with both the original name and the translated name. The original name is present in the metadata, it just isn't used as a search parameter. Is there a way?


EDIT: I understood the problem: i'm stupid

Star wars episode IV had both the translated and the original title, and was correctly find when searching "star wars", but episode V and VI didn't have the string "star wars" in the original title! and this is why jellyfin didn't find them. I edited the metadata and added it, now it works perfectly. Thanks to everyone!

 

Hello guys! sometimes I watch movies with friends over jitsi meet, and in order to share just a single window with just its own audio I use chromium, that has the "share tab" option. However, I'd like a more general solution (I cannot play mkv files on browser, for example). I'd like a compact way that creates a virtual device sharing the window (even if the window gets minimized or hidden behind other windows!) and its audio, without the audio of all other windows (I don't want my notification sounds to be shared too). a quick online search gave me only "complex" answers, that I'll try only if a more convenient way is not available.

[I'm running EndeavourOS KDE Wayland]

Thank to everyone in advance!

76
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

Hello fellow selfhosters! I have a laptop and a tablet (both running endeavourOS), and I want a certain folder to be always in sync. I also have a very potato server.
My two options currently are Nextcloud and Syncthing. The laptop and the tablet are rarely online at the same time, so I need the server as middleman (so, no syncthing laptop <-> tablet, but laptop <-> server <-> tablet).

Which one do you recommend? The power consumption (of the client) is also very important, because both the laptop and the tablet are battery-powered

I'm also open to other options as well!

thanks in advance to everyone!


Edit: thanks to everyone for your precious help! I finally set up syncthing and it's working flawlessly!

 

Hello! In qalc I can do calculations using measuring units like this:

> 5 W * 3 s

  (5 watts) × (3 seconds) = 15 J

I'd like to be able to do something similar also in GNU Octave. I think the symbolic library could be a place to look at, but I found nothing "already done". Do any of you know of a way to achieve this functionality?

view more: next ›