24 Jul 2024 |
Samsonite | and the upgrade still failed | 18:06:05 |
Samsonite | Logs:
Lemmy-ui v0.19.5 started listening on http://0.0.0.0:1234
31 translation imports verified.
93 date-fns imports verified.
4 highlight.js imports verified. (Only testing 4 samples.)
Process received a SIGTERM signal, shutting down...
Lemmy stopped by SIGTERM with value 15
Lemmy-ui v0.19.5 started listening on http://0.0.0.0:1234
31 translation imports verified.
93 date-fns imports verified.
4 highlight.js imports verified. (Only testing 4 samples.)
Error: Input bit Array is empty
at Sharp._createInputDescriptor (/app/node_modules/.pnpm/sharp@0.33.4/node_modules/sharp/lib/input.js:56:13)
at new Sharp (/app/node_modules/.pnpm/sharp@0.33.4/node_modules/sharp/lib/constructor.js:359:29)
at Sharp (/app/node_modules/.pnpm/sharp@0.33.4/node_modules/sharp/lib/constructor.js:178:12)
at /app/dist/js/server.js:2:3056296
at tryCatch (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Input bit Array is empty
at Sharp._createInputDescriptor (/app/node_modules/.pnpm/sharp@0.33.4/node_modules/sharp/lib/input.js:56:13)
at new Sharp (/app/node_modules/.pnpm/sharp@0.33.4/node_modules/sharp/lib/constructor.js:359:29)
at Sharp (/app/node_modules/.pnpm/sharp@0.33.4/node_modules/sharp/lib/constructor.js:178:12)
at /app/dist/js/server.js:2:3056296
at tryCatch (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/app/node_modules/.pnpm/@babel+runtime@7.24.7/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
| 18:07:14 |
Samsonite | * Ok, here is a list of things I self host readily and don't have issues:
Nextcloud - manual install
Matrix (Conduit server)
Caddy reverse proxy
Immich
Lubelogger
Snipe-IT
ActualBudget
Jellyfin
Jitsi
Keycloak
Mealie
Paperless-NGX
Sonarr/Radarr/Prowlarr/Bazarr/Readarr/Sabnzbd
| 18:07:30 |
Samsonite | * Ok, here is a list of things I self host readily and don't have issues:
Nextcloud - manual install
Matrix (specifically Conduit)
Caddy reverse proxy
Immich
Lubelogger
Snipe-IT
ActualBudget
Jellyfin
Jitsi
Keycloak
Mealie
Paperless-NGX
Sonarr/Radarr/Prowlarr/Bazarr/Readarr/Sabnzbd
| 18:07:48 |
Samsonite | In reply to @illecors:matrix.org
Two things come to mind:
- A saying attributed to Eistein: "Everything should be made as simple as possible, but not any simpler"
- This brilliant Richard Feynnman's interview clip: https://www.youtube.com/watch?v=36GT2zI8lVA
An admin who cannot run an upgrade via a ready-made playbook is bound to a world of pain. I am not trying to dissuade anyone from hosting an instance. I am trying to suggest learning the fundamentals first; it will become invaluable in the near future.
So not to start an argument, but if after having self hosted all of the above for years, and having used Linux since 2005, I still don't have the fundamentals... then maybe I just never will | 18:09:16 |
Samsonite | And maybe there needs to just be a straight up message saying "self hosting lemmy is not for self-hosters, it is for developers, as there is no documentation and there are assumptions that you will just know how everything works" | 18:11:31 |
Samsonite | Sorry if this is coming off as whiny, but I've legitimately never had an issue for this long trying to upgrade a self hosted application, and I do not like either option of just deleting my instance or else just leaving it on 0.19.3 forever | 18:12:54 |
Samsonite | but for now, i'm reverting the snapshot yet again to a working 0.19.3 version | 18:13:21 |
Nothing4You | understanding yaml and understanding the meaning of e.g. if/else go a long way in understanding the ansible based compose template | 18:55:24 |
Nothing4You | the error message you're posting seems to be from lemmy-ui, which is likely because your pict-rs deployment isn't ready yet | 18:56:59 |
Nothing4You | pict-rs might be going through a migration, during which it is unavailable | 18:58:05 |
Nothing4You | this also breaks lemmy-ui, which currently fails when the site has a custom logo or icon set and that is unavailable | 18:58:36 |
Nothing4You | 0.19.6 will have a fix for that finally | 18:58:44 |
Nothing4You | you could try deleting those before the upgrade and then the upgrade will likely go through without other issues, just images will be inavailable until pict-rs is ready | 18:59:38 |
Nothing4You | * you could try deleting those before the upgrade and then the upgrade will likely go through without other issues, just local images will be inavailable until pict-rs is ready | 19:00:17 |
| sterno900 joined the room. | 19:11:31 |
| @taac:tchncs.de joined the room. | 19:39:51 |
| @taac:tchncs.de left the room. | 19:40:15 |
Illecors | In reply to @gwilliams:matrix.org And maybe there needs to just be a straight up message saying "self hosting lemmy is not for self-hosters, it is for developers, as there is no documentation and there are assumptions that you will just know how everything works" I've got a bit of a messed up week time-wise, but if you still need a hand by Sunday - we can go through your setup together | 22:12:37 |
25 Jul 2024 |
| kamlendras joined the room. | 15:20:21 |
kamlendras | Hello Lemmy Developers
I am unable to start lemmy-ui development server inferno app. | 15:20:56 |
kamlendras | [ks@hello lemmy-ui]$ pnpm dev
> lemmy-ui@0.19.5 dev /home/ks/lemmy-ui
> node generate_translations.js && pnpm build:dev --watch
/home/ks/lemmy-ui/generate_translations.js:7
files.forEach(filename => {
^
TypeError: Cannot read properties of undefined (reading 'forEach')
at /home/ks/lemmy-ui/generate_translations.js:7:9
at FSReqCallback.oncomplete (node:fs:187:23)
Node.js v22.5.1
ELIFECYCLE Command failed with exit code 1.
[ks@hello lemmy-ui]$
| 15:21:13 |
MV | Did you clone with the git submodules? | 15:24:01 |
kamlendras | I just did git@github.com:LemmyNet/lemmy-ui.git & pnpm install | 15:25:12 |
kamlendras | * MV: I just did git@github.com:LemmyNet/lemmy-ui.git & pnpm install | 15:26:11 |
MV | see https://join-lemmy.org/docs/contributors/02-local-development.html#get-the-code | 15:31:59 |
kamlendras | MV: I love you. It worked. | 15:51:07 |
kamlendras | I folllow the doc, i am unable to run
[ks@hello lemmy]$ cargo run
Finished `dev` profile [unoptimized] target(s) in 0.35s
Running `target/debug/lemmy_server`
Lemmy v0.19.5
2024-07-25T16:06:38.543337Z INFO actix_server::builder: starting 12 workers
2024-07-25T16:06:38.543662Z INFO actix_server::server: Tokio runtime found; starting in existing Tokio runtime
Error: LemmyError { message: Unknown("Error connecting to database"), inner: Error connecting to database
Caused by:
connection to server at "localhost" (::1), port 5432 failed: FATAL: role "lemmy" does not exist
, context: SpanTrace [] }
| 16:08:09 |
26 Jul 2024 |
| carrabelloy joined the room. | 07:36:45 |
| dormedas joined the room. | 23:02:40 |