N0x0n

@N0x0n@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

N0x0n,

I’m on gnome on my daily desktop, and I hate it ! Thinking to switch to KDE but when I read that it took them 10 years to implement a good fuse “alternative” to make samba share work properly… I’m really hesitant to switch…

Gnome is great, but I hate the MacOS feeling… Everything seems soo… Proprietary :/ Maybe something more lightweight like XFCE will fit into my workflow.

N0x0n,

Well, you still have to open wireguard’s UDP port to make it reachable outside your LAN.

Just sayin’ 🤷

N0x0n,

Thank your for the write up 😁 Glad you solved your issue !!

N0x0n,

Try to open the web developer tools in your web browser, to look if there is anything useful. It’s different for every browser but on firefox: ≡ > more tools > Web Developer tools. Look into the network tab and refresh your page and try to login again. This can sometimes give you some hints what’s going wrong.

Also have you tried to log every container from the compose?

When you ls all containers do they seem healthy or does one do not start? docker container ls -a ?

N0x0n,

I just spinned up the docker compose bare bone without any modification just to see if it actually works on localhost. Just a checkup to see if by default it works, and yes I can login from my host IP:PORT without any issues.

github.com/mediacms-io/mediacms/…/admins_docs.md#…

I just changed the default port, because 80 is already used and gave the admin account a password.

Maybe this github anwser can be helpful ??

The compose stack seems not that easy to customize, In your position I would mount it bare bone a change things one/one reading through their admin docs !

My guess would be that changing the volume a few things are missing? I don’t know, docker issues a hard to troubleshoot when you’re not infront of the computer.

N0x0n,

Yeah, sorry about that… Seems alot of python is involved.

Can you check your permission on “pg_logical/snapshots” in your folder ?

drwx------ 1 70 root 512 Apr 21 15:40 postgres_data

drwx------ 1 70 70 0 Apr 21 14:41 pg_snapshots

N0x0n, (edited )

Here is something you can work on. You could try to mount your volumes as named volume as per this docker-compose file, so that docker takes care of permissions and ownership of the files.

If I understand it correctly you want to use an external drive or a drive partition ? You can’t directly use those partitions as named volume. You can also mount a SAMBA/CIF mounted volume from your external drive/drive partition or NFS (read here).

Do not change this part in the docker-compose I shared above. This files needs to be located where It can find it.


<span style="color:#323232;">    volumes:
</span><span style="color:#323232;">      - ./deploy/docker/local_settings.py:/home/mediacms.io/mediacms/deploy/docker/local_settings.py
</span>

This is what I would give a try. Apart from that, I can’t help you any further, maybe someone else would come up with a better idea :/.

This seems like a stupid permission issue ˆˆ’. Hope you will find your way arround !

Repairing bad sectors in an external drive

So I have this external 2.5" drive salvaged from an old laptop of mine. I was trying to use it to backup/store data but the transfer to the drive fails repeatedly at the ~290GB mark leading me to believe that maybe there is a bad sector on the drive. I tried to inspect the drive using smartmontools and smartctl but since it is...

N0x0n, (edited )

Also interested ! But I read through my long search that bad sectors on a drive… Is a sign that your drive is failing and that there is nothing you can do about it.

Your drive will probably accumulate more and more bad sectors until it becomes unusable (there is some threshold).

There is however a way to “mark” them but thats just a temporary solution. I wouldn’t put important/critical data on it (pictures, backups, OS…)

N0x0n,

Just my 2cent but… NOSHIT Sherlock?

Even plants are sentient and way more evolved than we are… BUT in THEIR own direction.

We think that we HUMAN specie are the only sentient and intelligent thing, but every animal specie, insect, living being has somehow a complex evolved way of thinking/living.

And guess what? Animals have blood, eyes, a brain, vessels, produce babys, a complex chemical body interaction… If that isn’t a sign for you that all living being are… Living… Than it’s time to get out of your head, and get into your heart and reconnect with nature.

N0x0n,

Not what you’re looking for… I just hope when They will add ads, people will switch to revolt

But People don’t care, so they don’t give a fuck…

N0x0n,

Isn’t samba a fork and open source package from Windows’s samba/cif ? I think I read something like that on the web, but not sure about that information. So it hasn’t anything to do with windows. I may be wrong on that tough !

N0x0n,

Then I learnt it’s no longer maintained so switched to NFS.

Ohhh wasn’t aware of that information ! Thank you.

N0x0n,

Thank you for the hint ! Yeah it’s in a multiOS environement.

N0x0n,

Yeah, multi-OS environemment… Thanks for your comment :)

N0x0n,

Thanks !! Yeah I think I don’t need enterprise grade security :) Not right now I suppose… Do you know what Kerberos actually solves in an Enterprise environnement?

N0x0n,

Thanks for the link :) I have already setup a samba share (actually I have setup all 3 on my server xD). But Didn’t knew they have a whole tutorial on it :) Thanks for the resource, I think I will stay with samba :) Looks the most versatil and has also “easier” security function setup. I mean I don’t think I need Kerberos in my homelab setup and SSHFS… Yeah people tend to argue it’s a pain in the ass with Windows !

N0x0n,

Good to know samba works well with truenas. Seeing all the comments, the tendency seems to go in samba’s direction !

N0x0n,

Thank you for your friendly and detailed response !!!

Look at the Arch wiki article for Kerberos, I think that’s what I used mostly. Feel free to ask if you need help setting it up.

It’s always Arch wiki :D. Thank you, but I will probably stay with samba at the moment which will probably fullfil my current needs and seems more complex than I thought ! Also, it’s in a multi-OS environnement (Windows, MacOS, Linux) and NFS seems to not work very well with Windows :/ If I could I would switch my whole family to Linux, but old habits die hard…

Anyway, will keep Kerberos under my radar ! I really want to learn more about it seems very interesting, especially the cybersecurity aspect !

If you don’t mind… Can you tell very briefly what kerberos actually solves in a coporate environnement ? Please, give me a sneek peak of the subject that awaits me :) !!

N0x0n,

I read/heard that alot of NAS server users tend to use NFS shares :/ Don’t actually know why, but that’s what I found out while reading server/NAS configurations on the web.

Maybe because NFS’s speed compared to samba and SSHFS?

N0x0n, (edited )

You are probably talking about video content? I don’t have any advice concercing those, and I’m also interested if someone has some good self-hosted alternative for this kind of content.

On contrary, if you’re an ebook/webpage hoarder I had a long run in finding the best solution to keep my learning ebooks tidy and well organized.

If you are serious about learning through written textbook and web, having everything in one spot and also a buildin pdf reader, I really advise you to have a look at Zotero. Even if you are not a researcher it’s a very useful tool !

Also would suggest you to give the Zotero 7 beta a try instead of 6. Better UX, native macOS m1, linux, better pdf reader, webp reader… Alot of improvement !!

One thing you should be aware of, it’s their cloud syncing, which allow you to continue your work on another computer, which cost a bit of money. Nothing to exagerated though ! BUT if you’re a self-hoster you can sync your personal data folder through a bind volume/samba share/nfs/syncthing… What ever your poison is :).

Sorry if this doesn’t help in your quest of video content organization, but chances are, you’re also hoarding alot of pdf/web page content !

N0x0n,

Maybe something worthwhile looking at (was roaming the web to find something that could actually fit your request!) Mediacms it looks promising, but never tested it so you have to give it a try yourself :).

But seeing from the github repo, it looks like a selfhosted youtube CMS :) Just keep in mind to backup your data before giving it a try. I have no idea how stable it is.

Hope it helps !

N0x0n,

It’s true, it’s not a silverbullet, but it’s probably the next step to piracy and illegal content, IF someday they find a working solution to break torrent over the clearnet.

They already found a simple elegant working solution for the common user: Block at the DNS level in the router. While this works for most non techy user, most of us already use a VPN or know how to change the default DNS server.

N0x0n,

Was just kidding 😁 Keep that feeling, it’s a great one ! I love to see other people enjoying such simple but powerful brain flooding dopamine ! That awwwwww moment is really enjoayble, for others and yourself !

Hope you will have fun with openSUSE ! I’m also thinking to switch from Debian to OpenSUSE for my daily drive. Debian as server is fantastic, but got some quirks running it with backports and testing.

Maybe a skill issue? Probably, but trying something different will give me the necessary boost to find out 😄

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