ljrk, (edited )
@ljrk@todon.eu avatar

Oof, I like #wallabag as an idea but hosting that stuff is terrible... pulling up the #Container image doesn't work... it just dies because the data/db directory must exist and be writable by the user *drumroll* nobody. The error is extremely misleading, mostly talking about the database itself not being writable, not the containing directory, which seems to be just a #PHP thing to do:

> If you receive an error while trying to write to a sqlite database (update, delete, drop):
>
> Warning: PDO::query() [function.query]: SQLSTATE[HY000]: General error: 1 unable to open database
>
> The folder that houses the database file must be writeable.

https://www.php.net/manual/en/ref.pdo-sqlite.php#57356

Finally, when creating a local user you need to manually pass prod to the symfony console:

bin/console --env=prod fos:user:create

Otherwise it will complain about modules not being loadable :|

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@ljrk Congratulations on passing through the gauntlet apparently unscathed. Wallabag definitely qualifies as the worst container I have come across to date.

ljrk,
@ljrk@todon.eu avatar

@AngryAnt Glad to see I'm not the only one struggling :'-)

Most often I struggle because of my idiosyncratic setup: CoreOS and each service has its own host service user with systemd controlling the quadlet generated unprivileged containers all speaking over host loopback to a traefik... but this time it was the image that mucked about, not my odd configuration system.

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@ljrk Ouch! Certainly does not seem a perfect match.

I was hammering the Wallabag peg into a NixOS-shaped hole.

The seemingly random state of the container install definitely was not authored with a declarative setup in mind either ;)

ljrk,
@ljrk@todon.eu avatar

@AngryAnt That sounds very painful indeed, Nix probably doesn't like the... not so much deterministic behavior :'-D

I only use NixPkg on my company laptop (macOS ...) as for now fedora CoreOS/Silverblue were satisfactory in terms of reprovisionability, while also quite easy to use/maintain even for my mom's laptop :D

I love both approaches and will hopefully soon find time to try Nix as some kind of home manager for my Silverblue ^^

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@ljrk Sounds cool :) Nix is definitely an acquired taste. I also install Silverblue / Kionite on friends computers :)

ljrk,
@ljrk@todon.eu avatar

@AngryAnt I mostly am at odds with not finding the right docs, tbfh. But that has improved somewhat, but I always loved functional programming, so declarative stuff isn't far off :D

But for now it's just ostree for the base system and nix as an additional packager on top.

Seriously, linux distros haven't been that interesting in a loooong time.

AngryAnt,
@AngryAnt@mastodon.gamedev.place avatar

@ljrk Nix most definitely is docs challenged.

I'm not a very prototypical Linux enthusiast though, which means my references are a bit odd.

I only moved to Linux in late 2019 after running MacOS-only since the Macintosh Classic. Tried a handful of distros until moving everything to NixOS in 21.

Reading peoples frustrations with the setup, documentation aside, leads me to believe my lack of experience (and associated expectations) with Linux served as an advantage in adopting NixOS.

ljrk,
@ljrk@todon.eu avatar

@AngryAnt I can totally see that, Nix (and Silverblue, to a lesser degree) are a quite drastic diversion. Systemd to a certain degree as well (and we all know the fallout). Incidentally, systemd was inspired by Apple's launchd, next to Canonical's upstart, all based on Solaris' smf.

In that regard I'm probably also not the classic Linux user. I do love tinkering, if afterwards I understand things better or things are just more well-engineered; but also I love when things just work. I heavily dislike dirty hacks (my CoreOS server is basically still in prototyping stage and I try & learn different ways of deployment).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines