|
The Atomic Man-Boy posted:So I just installed plex media server machine on my Ubuntu machine. It can read files on my main drive but it cant see anything on my big media drive I have installed in it beyond the mount point. i.e. when I'm trying to add the library foulder in the /Seagate drive it can see the folder itself, but when I select it, I cant select any sub-folders or add files. I'm sure it's a permissions issue, but I'm not sure how, as everything has permissions 755, so theoretically it should see it. I haven't changed any options, I just installed Plex. Anyone had this issue? Is this by any chance Plex in a flatpak or snap? Those are meant to isolate the things inside from the rest of the system, so they do weird things with bind mounts to only selectively allow them access to certain folders. I don't use either much, so I don't remember how to add another folder - but maybe that can send you in a useful direction? (Also, I'm just guessing that snap does this - I know flatpak does, and they're supposedly similar, so...)
|
# ? Jul 15, 2022 01:56 |
|
|
# ? Jun 8, 2024 17:19 |
|
Computer viking posted:Is this by any chance Plex in a flatpak or snap? Those are meant to isolate the things inside from the rest of the system, so they do weird things with bind mounts to only selectively allow them access to certain folders. Should have been slightly clearer, im using Pop!_os, so I initially got it off the Pop!_shop (which I assume uses flatpak.) I uninstalled it, and then downloaded the 64 bit .deb off the website, and still no dice, I'm afraid it still doesn't work. On second check, it won't look in my /home/user/ folder either, only places like /var/opt/ E: Found the answer here. The Atomic Man-Boy fucked around with this message at 04:48 on Jul 15, 2022 |
# ? Jul 15, 2022 03:00 |
|
I am hopeful the XDG portal stuff fixes the file picker situation. Nobody likes where things are now, and that's a way for everyone to just BYO, even for GNOME.
|
# ? Jul 15, 2022 23:35 |
|
It's fun to figure stuff out on Debian but I just installed one of Intel's iwlwifi firmwares and my wifi now works but my bluetooth adapter has disappeared.
|
# ? Jul 16, 2022 14:02 |
|
challenge: worst way to to emulate the functionality of `tail -F` currently the best I can do is `while [[ $(ls -al file.log |wc -l) != 1 ]]; sleep 1;done;tail -f file.log` but there has to be something even stupider and more convuluted.
|
# ? Jul 16, 2022 19:40 |
|
Use an incron script to trigger when the file is modified. The script should use filefrag to get the physical locations of the file on the disk. Compare the length of the file to a previous record of the length kept in a file in /tmp, and determine which bytes to display. Then use dd to read the bytes directly from disk. To show the output on screen, having a waiting netcat instance listening on a network port, and have the incron script pipe over ncat. Don't tidy up the incron script or /tmp file when done. Is that stupid enough? edit: I think you also need to use fdisk to get where the partition starts on the disk, and add that to the information from filefrag edit 2: Your script will detect a change in length but not a change of equal length. You should use a computationally expensive hashing function to read the entire contents each time and make sure if it's bit-identical... Pablo Bluth fucked around with this message at 23:23 on Jul 16, 2022 |
# ? Jul 16, 2022 20:04 |
|
So, I just got a warning from my rpi that it is running out of space. Good thing I set those up, but very confused as to what even could use that much space. It was docker. With a 20Gb logfile that it wrote in a few months. This is how I found out that docker doesn't rotate or sizelimit or auto-deletes logs by default. And also why I think limiting quotas by user is kinda useless, because these kinds of fat logs are created as root of course.
|
# ? Jul 18, 2022 14:13 |
|
Quotas are a sysadmin trap, they only make sense in big environments. And I'd argue that if you are in a big environment quotas are a sign of poor planning or insufficient budget. And yes, docker's default config is stupid. You can change the logging driver to get log rotation.. consider syslog or journald.
|
# ? Jul 18, 2022 14:29 |
|
xzzy posted:And yes, docker's default config is stupid. You can change the logging driver to get log rotation.. consider syslog or journald. You can get log rotation with the default driver, it's just not the default for some stupid reason: code:
|
# ? Jul 18, 2022 14:34 |
|
So after about 10 years I've decided to install OpenBSD again. My PFsense system was annoying me and now everything runs trough an OpenBSD gateway. Got wireguard, pf and a DHCP/PXE server setup and it all went pretty painless. It sure is a polished OS. I like 'doas'.
|
# ? Jul 18, 2022 14:35 |
|
NihilCredo posted:Are there any major advantages to syslog/journald? I think if I wanted to do something fancy with docker logs I'd want a proper centralized solution like Graylog or Logstash. For me, it's familiarity. I want logs in standard spots. Additionally, my org has mandatory log forwarding to the security team, and we already have syslog set up to to do it. So it's less work to dump everything into syslog and they can chew on it however they want.
|
# ? Jul 18, 2022 14:38 |
|
Is btrfs good for a root partition on a personal computer? I'm deciding between that and ZFS, because I want encryption and compression. I'm fine with any amount of technical difficulty, as long as I don't have to do frequent maintenance on it. e: The drive itself is an NVMe SSD, if that matters. e2: also, it's a laptop, so it's gotta support resuming from hibernation Music Theory fucked around with this message at 15:55 on Jul 18, 2022 |
# ? Jul 18, 2022 15:09 |
|
Music Theory posted:Is btrfs good for a root partition on a personal computer? I'm deciding between that and ZFS, because I want encryption and compression. I'm fine with any amount of technical difficulty, as long as I don't have to do frequent maintenance on it. I would never trust BTFRS for anything. Just my opinion. ZFS would be my go to.
|
# ? Jul 18, 2022 15:55 |
|
Mr Shiny Pants posted:I would never trust BTFRS for anything. Just my opinion. ZFS would be my go to. Why?
|
# ? Jul 18, 2022 16:03 |
|
https://arstechnica.com/gadgets/2021/09/examining-btrfs-linuxs-perpetually-half-finished-filesystem/ It's gained some traction as a single disk FS (Fedora, Suse) but as disk spanning solution, it's still seems to have major issues.
|
# ? Jul 18, 2022 16:13 |
|
Music Theory posted:Why? It seems stuck in development hell and, afaik, is not really as battle tested as ZFS is.
|
# ? Jul 18, 2022 16:16 |
|
Music Theory posted:Is btrfs good for a root partition on a personal computer? I'm deciding between that and ZFS, because I want encryption and compression. I'm fine with any amount of technical difficulty, as long as I don't have to do frequent maintenance on it. btrfs didn't support encryption last time I checked. And hibernation is a terrible mess if you don't use an explict swap partition for it. Root on zfs for linux is a massive amount of work to setup well. But not necessarily high maintenance. Btrfs is easy it setup, but it is still annoyingly buggy. Though the bugs it is getting in recent years are unlikely to cause data loss.
|
# ? Jul 18, 2022 16:20 |
|
I see; thanks.
|
# ? Jul 18, 2022 16:22 |
|
Ubuntu and Ubuntu Server have ZFS enabled by default, and they have an option in the installer to use ZFS.
|
# ? Jul 18, 2022 16:51 |
|
Tons of solid distros are using btrfs as the default install method (with subvolumes for / and home). All the potential data loss "don't use btrfs for mission critical" warnings are in the raid-5 style parity array. If this is a personal system and the root volume is not going to be a multi-drive redundant array, go with btrfs. It's explicitly supported and seems far less likely to be a problem than ZFS for root. ZFS is a great filesystem and all, but btrfs was pretty much made for that job (and is inferior to ZFS at the things that ZFS is good at). As a non-expert who didn't do the btrfs default setup, I wish I had. Timeshift seems cool and I can't use it. VictualSquid posted:btrfs didn't support encryption last time I checked. No, but why not use LUKS if you want encryption? Particularly on the root volume, it's not like you want to do folder-by-folder encryption there.
|
# ? Jul 18, 2022 18:48 |
|
Klyith posted:
With zfs or a hypothetical finished version of btrfs you can have your encryption within the field system just like your raid. That saves the effort of the extra abstraction layer, and had some marginal performance benefits.
|
# ? Jul 18, 2022 18:57 |
|
I just noticed my mom's xubuntu setup can't move the windows. All other window actions are fine. I saw some stuff about holding alt and that did nothing. It was not like this at least in 20.04 but I guess one of the upgrades in 22.04 did the old "we should make the UX be like a lovely version of a Mac" and I assume that did this.
|
# ? Jul 19, 2022 05:57 |
|
Music Theory posted:Is btrfs good for a root partition on a personal computer? I'm deciding between that and ZFS, because I want encryption and compression. I'm fine with any amount of technical difficulty, as long as I don't have to do frequent maintenance on it. OpenZFS is not in the kernel tree and sometimes lags kernel releases by a few weeks. This may or may not be a problem for your root fs where an updated kernel doesn't have a working zfs module, depending on how frequently your distro updates. I decided against it for an Arch install for this reason. Btrfs is stable enough and more for non RAID 5/6 setups. I heard axes grinding while reading that Ars article when researching root fses. ZFS is a great, trailblazing filesystem and Jeff Bonwick is a personal hero of sorts (he also did the SLAB allocator) who I got to meet on a visit to Sun long ago, but it does have everyday downsides on Linux depending on your distro's release schedule.
|
# ? Jul 19, 2022 11:31 |
Let's be real here, it has downsides on Linux because some lawyer decided to give his unsolicited opinion on GPL being incompatible with CDDL (although of course that's not how he phrased it). The problem is not OpenZFS, when it can exist and work in Windows, macOS, FreeBSD, NetBSD, Illumos, and everything else.
|
|
# ? Jul 19, 2022 13:58 |
|
The problem, for sometime contemplating ZFS as their root fs, is that you may not be able to mount it after some kernel updates unless your distro is careful and doesn't release those kernels until OpenZFS has released patches. All the rest of the convoluted history isn't worth re-litigation.
|
# ? Jul 19, 2022 14:09 |
|
Even on Arch, you can get your stale kernel from the ZFS repo and things will keep going without breaking probably. Haven't used ZFS there myself yet, but I had to do the same thing for ATI drivers for a while amd it was never an actual problem
|
# ? Jul 19, 2022 15:30 |
|
BlankSystemDaemon posted:Let's be real here, it has downsides on Linux because some lawyer decided to give his unsolicited opinion on GPL being incompatible with CDDL (although of course that's not how he phrased it). The GPL has long outlived its usefulness as a license and should only be used for legacy products.
|
# ? Jul 20, 2022 01:05 |
|
Rocko Bonaparte posted:I just noticed my mom's xubuntu setup can't move the windows. All other window actions are fine. I saw some stuff about holding alt and that did nothing. I wanted to expand on this a bit more. Resizing also doesn't work. I found out if I run xfwm4 --replace, it will fix it for that boot but it's back to it's old habits. I think the upgrade was botched too so maybe it is moot. I remember now that this was not supposed to be XUbuntu but Mint. Well, it is apparently Ubuntu now! I get the jammy jellyfish at the login screen. I think I may try to move her to xubuntu since I should be able to co-exist that with this setup. Seem reasonable?
|
# ? Jul 20, 2022 02:38 |
ExcessBLarg! posted:Has anyone claimed otherwise other than Jörg Schilling? That the CDDL isn't compatible with the GPL isn't surprising. Hell even the GPL (v3) isn't compatible with the GPL (v2). Also, Linux is GPLv2, so I don't know why you're bringing up GPLv3.
|
|
# ? Jul 20, 2022 11:32 |
|
BlankSystemDaemon posted:It's GPL that isn't compatible with CDDL, whereas CDDL is compatible with many other licenses. GPL3 is useful as an example of GPL2 being especially incompatible - it doesn't even work with its own successor.
|
# ? Jul 20, 2022 13:29 |
|
At least google can't use anything licensed with the agpl
|
# ? Jul 20, 2022 16:54 |
|
I'm trying to install Ubuntu from a USB drive on an old laptop using the limited graphics option but all the install windows are too big to see the continue/back buttons on the bottom, I got to the 'Where are you?" page by just tabbing and hitting enter but I'm stuck here and can't figure out how to proceed. Is there some way to move the window up more so I can see the buttons on the bottom? I've tried alt-left clicking and dragging which was the only suggestion I found by Googling but that didn't help.
|
# ? Jul 20, 2022 18:11 |
|
Just out of curiosity, I guess you've already tried the normal graphics boot? Unless it's a very old laptop it should just work. Failing that, I guess it's time to see if any of the Ubuntu spins still have a text mode installer...
|
# ? Jul 20, 2022 19:22 |
|
It's not the GPL, but lol at the GNU Free Documentation License being considered non-free by Debian.
|
# ? Jul 20, 2022 19:31 |
|
Mozi posted:I'm trying to install Ubuntu from a USB drive on an old laptop using the limited graphics option but all the install windows are too big to see the continue/back buttons on the bottom, I got to the 'Where are you?" page by just tabbing and hitting enter but I'm stuck here and can't figure out how to proceed. Is there some way to move the window up more so I can see the buttons on the bottom? I've tried alt-left clicking and dragging which was the only suggestion I found by Googling but that didn't help.
|
# ? Jul 20, 2022 19:55 |
|
Is there any easy way to monitor a website for (major) changes? I basically want to be notified once a restock happens ASAP.
|
# ? Jul 20, 2022 21:16 |
|
Computer viking posted:Just out of curiosity, I guess you've already tried the normal graphics boot? Unless it's a very old laptop it should just work. I was doing the old mode because it was hanging on the splash screen otherwise and it is a pretty old laptop with an old Optimus GPU setup (Thinkpad W520) but it turned out the issue was my (brand new) USB drive was somehow defective, switched that and I was able to install normally. Everything was fine until I did updates on logging in for the first time, now when it boots it's just a blinking cursor; pressing Ctrl-Alt-F2 I was able to get to a CLI and do what I need to do there but somehow the update messed up the whole graphics bit.
|
# ? Jul 20, 2022 21:41 |
|
Oh Optimus.
|
# ? Jul 20, 2022 22:02 |
|
SEKCobra posted:Is there any easy way to monitor a website for (major) changes? I basically want to be notified once a restock happens ASAP. There is a cutthroat competitive industry of people making bots that do this. If you're trying to get shoes or PS5s, know that you'll be competing against people who are intentionally renting dedicated servers physically closest to the places that restocks are known to show up first, and using commercial custom software to buy things as they restock. https://www.reddit.com/r/shoebots/comments/gcd1oy/sneaker_botting_mega_guide/ There's a ton of open source options, but they're all worse than the commercial ones who do all sorts of illegal poo poo to be the first to buy stuff as it restocks. Here's an open source one: https://github.com/polarcop/polarcop_discord
|
# ? Jul 20, 2022 23:23 |
|
|
# ? Jun 8, 2024 17:19 |
|
Maybe it is just me, but Ubuntu is becoming really annoying. I don't like Netplan, Snap, the whole cloud init stuff. Why does this all feel terribly finicky and brittle?
|
# ? Jul 21, 2022 06:34 |