Forum archive
Unable to browse File Manager - Only displays formatting styles and tables
2 Problems: I installed Turnkey Torrentserver on a 4tb Raid1 set - HDD controller is an enterprise LSI MEGARAID P something somehting, with 4TB WD SE Drives.
Turnkey linux runs inside a VM, standard setup in every way except 4 virt cores and 8gb ram assigned (probably overkill buyt have 64GB to play with).
Problem 1: Torrent server ran out of HDD space. I have deleted torrents through the Transmission interface but diskspace is not released - still full of Liux Distro's. I have deleted files from within samba shares that I mapped a network drive to, no joy
Problem 2:
When I visit the IP of the Turnkey server and goto file manager, I see this: No funtionality, just looks like a guide on css/html/php formating
Point: I'm a Windows guy, trying to make the move to Linux where possible - I run Pihole, Plex, Turnkey Torrent Server and Ubuntu server hosting bmsworld.nz on my home server. I am not that great with linux, so help with some of the basics and maybe some direction to go in would be hugely appreciated :)
My guess is that the harddrive has filled up, which means that the web based services are failing to run properly... You noted that you deleted some torrents, but torrent files themselves are really small. So unless you actually deleted the downloaded files themselves, it may not have made any difference (and may be what has lead to your confusion?).
Whilst TurnKey does come with WebUI tools, I highly recommend ensuring that you can access it via commandline too (and even if you have access via a VM window, personally, I prefer having an SSH client which can use native copy/paste etc but YMMV).
So if you can log in to a shell (either via SSH or via VM window), try running this:
Hopefully you should be able to get the gist of what is going on from the output. In case it's not so clear; to assist you to decode what that means, here's the output from a server I have handy:
If you look for the line that is "Mount on" "/" that is known as your root volume. It's were everything (other than any other mounts) is stored). So you can see on mine, I have 6.1G available, 52% or 3.0G used, leaving 2.8G available.
Assuming that yours looks somewhat similar, you have a few options. You can just clear up some free space and reboot and hopefully all the web services should "just work" again. Alternatively, if you wish to increase the storage size, assuming that you are using LVM (as I am; e.g. your root volume should be a similar "Filesystem" to mine; i.e. /dev/mapper/turnkey-root or similar) then that's another option.
If you want to clean up, you can move through the filesystem using 'cd DIR_NAME' (where DIR_NAME is a directory name) and 'ls' to check the files and directories. When you find an candidate to remove, you can use 'rm FILENAME' to delete it (i.e. delete FILENAME; or 'rm -r DIR_NAME' to delete a directory and all it's contents). Be careful though, as rm doesn't ask for confirmation and files are not easily recovered!
I'm not 100% sure, but I think that by default, the torrents are saved somewhere within /srv/storage. So change to that dir; with 'cd /srv/storage', then run 'ls' the check what is in there.
If you have plenty of space disk space, then increasing the disk size is possibly a good idea anyway. If you are using LVM then in the earlier 'df' output, you would have something similar to what I have in mine; i.e. the "Filesystem" should be '/dev/mapper/turnkey-root' or similar. To double check, run 'lvs'. Here's my output:
So mine has a VG (volume group) of 'turnkey' and 2 LVs (logical volumes) of 'root' and 'swap_1'. Note that the turnkey/root LV is available via /dev/turnkey/root or /dev/mapper/turnkey-root (they're the same thing and are actually both just symlinks to the real device, which is probably named something like /dev/dm-0).
If you can confirm that you are using LVM, it'll make increasing the root volume size pretty easy. Have a look at this old blog post. It's really dated (almost 10 years old!), but I double checked it recently and it should still work 100%.
Hopefully that helps head you in the right direction?! If not and you need me to explain anything, please feel free to ask. If I've overlooked anything or you get significantly different results to me, please share as much info as possible and I'll try again! :)