NullPointerException

joined 1 year ago

yup, this is what I do and it works great. just be careful if you add plugins that store a ton of metadata that changes a lot (or logs) because that can lead to some sync conflicts and you might wanna exclude them. I've just been ignoring the sync conflicts tho and haven't had issues yet so maybe you could do the same

I checked out your edit and what's going on is pretty weird. my recommendation (if you don't wanna just use the native import/export feature and give up on DB dumps) is to (on the new server) create a minimal tandoor docker-compose.yml, run it, do minimal setup, see if it works, and if the fresh container works, check the permissions, then just replicate those perms for your other postgres directory that contains data you actually care about. good luck!

agreed, good find with that import/export feature, didn't think to check for that since I don't use tandoor. personally I'd just use the native import/export feature though since it feels less hacky than copying the whole DB imo. but if OP still wants to copy the files over, it might be easier to either just tar or tar + gzip rather than tar + zip so they can do it all in one command.

[–] NullPointerException@lemm.ee 4 points 1 year ago* (last edited 1 year ago) (2 children)

you're probably right about it being a permissions error but also including some relevant logs would be useful (or just stick all of them on pastebin or something and give us a link). could also be a docker misconfiguration considering it's a different system and I assume they're not identically set up with Ansible or something similar

edit: also id personally use tar because I'm not entirely sure zip files preserve linux permissions

edit again: from 2 seconds of google searches, I think I'm correct about that, so definitely try using tar

[–] NullPointerException@lemm.ee 19 points 1 year ago (2 children)

honestly I don't think it's really a significant issue but if you're worried just use a fs that can repair itself like zfs (not sure if btrfs can do that too but it might)

not sure where you are but in the US I see a lot of cheap used laptops being sold online with broken screens for example or messed up keyboard/touchpad, etc. stuff that would make it awful for use as a laptop but almost entirely unimportant for a server use-case (if the kb/touchpad is dead you can just plug in an external during initial setup/troubleshooting). of course you gotta make sure that it wasn't damaged in a way that would matter more. ex: if the kb/touchpad are broken due to water damage I'd be wary of issues with other vital parts

[–] NullPointerException@lemm.ee 13 points 1 year ago

it's a single comment from a single bot that you can block. it's probably useful for new people, there's always mountains of acronyms in tech

Oh i didnt even notice the typo lol

[–] NullPointerException@lemm.ee 10 points 1 year ago (5 children)

it's not against tos if that's what you were implying. unlike vanced, they don't distribute a modified YouTube app, just the patches and the patcher.

but the devs of these popular reddit apps likely have recycled a tonnn of their reddit app's code into the Lemmy app and and are therefore working with a much more mature codebase that they're also much more comfortable with. for example, I'm loving liftoff but it has so many random bugs that, while not awful, are a bit jarring. and the vast majority of them aren't Lemmy bugs, they're just normal app bugs that haven't been worked out yet. and while I'm sure the liftoff devs are great, it's a new app and will experience growing pains that sync likely won't deal with as much.

beautiful solution

for anyone who comes across this comment some day later when it's expired, I think this link should stay updated: https://todo.syncforreddit.com/

also thanks! I've been looking for the link too

view more: next ›