Ubuntu Server
-
Great resource imo. Not affiliated with them but very satisfied.
Hi folks,
I'm having some linux related problems (but not ubuntu server related so I don't post them here) and linux.org has helped me tremendously in the past so if you have issues, that don't seem to get fixed here, I highly recommend checking them out.
Have a good one.
-
How did you find ubuntu server (the OS)?
Hi there! I found ubuntu server when I was starting to work in tech fulltime (I had done admin work and dev stuff before but not exclusively). A lot of folks had some linux experience and I learned about VMs at the time.
So I spun up a ubuntu server vm to check out linux. It took me a bit to get accustomed to the command line but it worked pretty well. Knowing some programming languages definitely helped to grasp the syntax.
I worked with the VM for some time and then started searching for ways to use my knowledge and hone it further. So I grabbed an old server that was in my basement and put ubuntu server on it.
This server now sits in my other room and has 8 TB of data on it, movies, tv shows (all backups of course...), my home automation system, dashboards, vaults, cloud data. The data is mirrored and backed up off site.
I also then came across it again at work when I took care of some servers we had there.
It has been quite a ride so far but also a lot of fun. currently trying to phase out my windows laptop for a ubuntu desktop tower. Wish me luck. :)
Thanks for reading. I'm curious to hear your stories.
-
Unattended upgrades doesn’t work for me
I recently activated „unattended upgrades“ so that I might not have to update my system every 2-3 days by hand.
But nothing has really changed. From the logs I see that unattended upgrades does updates regularly but it never does all of them. So I still have updated pending every couple days.
I know, there are updates that can break your stuff but that can happen anyway. Maybe I‘m just missing a config entry or something. Btw. the same goes for autoreastart if needed. That I should activate as well.
Does anyone have experience with it?
-
Newest docker update wrecked my sytem for an hour
Hi folks!
System
I‘m running ubuntu 22.04.2 on an old terra miniserver g2 with a xeon 4 core without mt, 16 gb ram and a redneck engineered usb-stick/ssd/hdd config which was supposed to be temporary. I have a 3-2-1 Backup solution though.
What happened
Today I opened my grafana panel and found it not working. Portainer told me that my influxdb container is down. So I ssh‘d in and the system told me it needed a restart. So I ran an update (including docker) and restarted. Nothing worked. Turns out, my dns (pihole) was offline. I found that docker was down completely. Grep syslog told me that docker couldn’t start since the docker config was defective.
An old mistake coming to haunt me
Turns out I had made a „weird“ docker config, using the /erc/docker/daemon.json. Instead of { „asset“:“value“, „asset“:“value“} I had done {„asset“:“value“}{„asset“:“value“}.
This led to the error but didn’t bother me for over a year and worked well. Something in this new update must have enforced the syntax or soenthing.
TL;DR
I made a janky docker daemon.json conf and got fucked by the update today. If your docker stops working, check the logs/daemon.json
-
Just for reference: Kernel flaw allows local attackers elevated permissions
www.bleepingcomputer.com Almost 40% of Ubuntu users vulnerable to new privilege elevation flawsTwo Linux vulnerabilities introduced recently into the Ubuntu kernel create the potential for unprivileged local users to gain elevated privileges on a massive number of devices.
-
New PWM Fan installed, turns out PWM not available.
Hi there,
I'm running ubuntu server on my Wortmann Terra G2 with (now upgraded) 16G DDR3 Ram, Xeon E3 1220v3 4 Core, with now 6 Drives (2x8 TB HDD Raid1, 2x 1 TB HDD Raid 1, 2x 250 GB SSD - soon raid 1)
While I generaly know my way around ubuntu, the sensors lm is giving me a hard time. The G2 runs on an Asus P9D-i itx Motherboard with kvm module which I have not touched yet.
I bought a fancy noctua 120mm casefan since my harddrives run too hot in the case (which is tiny, google wortmann G2). The new fan runs well but I cant detect the fans for either the cpu or the case.
I tried sensors detect and installed fancontrol, just to find out the fans are somehow not discoverable.
Any ideas how to proceed? I'd really like to give the casefan a specific speed to run at. Pretty sure I could gain knowledge in the bios but i really dont want to bring a monitor to the server just for that.
TL;DR: my ASUS P9D-i board wont show me fanspeeds with sensors-detect. What to do next?
In any case, thanks for reading. Have a good one.
Edit: I put a picture of the tower in the post if you're curious. :) !
Edit 2: I forgot I have the manual for the server mainboard on my pc. the mainboard can see the fanspeeds and you can change the behavior there. How would I change that?
-
Change current ssd to raid1
Hi there, I just ordered a second (similar) ssd to the one I have. Not a boot drive. Once it arrives, I'd like to put it in raid 1 with my current drive. The current drive is not empty (but I could back it up if necessary).
I have used mdadm in the past but never with a drive that is actually in production use. Which steps would you suggest?
Have a good one!
-
Welcome to ubuntuserver
I made this place to have a mirror of the niche subreddit. Rules and Other stuff will follow soon. Use common sense. No NSFW, No Self Promotion, Stay on topic, etc.