No disks status


#1

Hello,

I can’t see my disks status from dashboard and from rutorrent.


Trying to disable/enable diskspace plugins but problem still the same.
In some other topics I’ve seens that there is a diskspaceh plugin, but I do not have this one.

I tried to change $topDirectory in /srv/rutorrent/conf/config.php and /srv/rutorrent/conf/users/myonlyuser/config.php and it still doesn’t work …

In complement :

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 100G 57G 44G 57% /
devtmpfs 64M 0 64M 0% /dev
tmpfs 64M 0 64M 0% /dev/shm
tmpfs 64M 14M 51M 21% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 64M 0 64M 0% /sys/fs/cgroup
none 64M 0 64M 0% /run/shm
x.x.x.x:/ /opt/plex 7.2T 5.5T 1.3T 82% /opt/plex

Thanks for your help


#2

Try this:

apt-get install -y linux-image-extra-virtual
service quota stop
quotaoff -a
quotacheck -auMF vfsv1
quotaon -uv /
service quota start

As per the disk plugins. I am trying to go as fast as my free time allows to push the update for the double diskspace plugin issue… which is fixed on the development branch.

Go into ruTorrent > Plugins tab > unload or disable diskspaceh plugin.


#3

I think that I will wait for a new quickbox release =)

dpkg: dependency problems prevent configuration of linux-image-extra-4.2.0-36-generic:
linux-image-extra-4.2.0-36-generic depends on linux-image-4.2.0-36-generic; however:
Package linux-image-4.2.0-36-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.2.0-36-generic (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.2.0-36-generic; however:
Package linux-image-4.2.0-36-generic is not configured yet.
linux-image-generic depends on linux-image-extra-4.2.0-36-generic; however:
Package linux-image-extra-4.2.0-36-generic is not configured yet.

dpkg: error processing package linux-image-generic (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-virtual:
linux-image-extra-virtual depends on linux-image-generic (= 4.2.0.36.39); however:
Package linux-image-generic is not configured yet.

dpkg: error processing package linux-image-extra-virtual (–configure):
dependency problems - leaving unconfigured
Setting up os-prober (1.63ubuntu2) …
Setting up thermald (1.4.3-5ubuntu2) …
Setting up grub-pc (2.02~beta2-29ubuntu0.3) …

Creating config file /etc/default/grub with new version
Setting up grub-gfxpayload-lists (0.7) …
Processing triggers for libc-bin (2.21-0ubuntu4.3) …
Processing triggers for systemd (225-1ubuntu9.1) …
Processing triggers for dbus (1.10.0-1ubuntu1) …
Errors were encountered while processing:
linux-image-4.2.0-36-generic
linux-image-extra-4.2.0-36-generic
linux-image-generic
linux-image-extra-virtual
E: Sub-process /usr/bin/dpkg returned an error code (1)


#4

Who is your provider for this server and what Distro/Rel?

What does dpkg --configure -a return?


#5

liteserver.nl, It’s a VPS.

uname -a
Linux box 2.6.32-042stab113.21 #1 SMP Wed Mar 23 11:05:25 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux

dpkg --configure -a
Setting up linux-image-4.2.0-36-generic (4.2.0-36.42) …
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.2.0-36-generic
vmlinuz(/boot/vmlinuz-4.2.0-36-generic
) points to /boot/vmlinuz-4.2.0-36-generic
(/boot/vmlinuz-4.2.0-36-generic) – doing nothing at /var/lib/dpkg/info/linux-image-4.2.0-36-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.2.0-36-generic /boot/vmlinuz-4.2.0-36-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.2.0-36-generic /boot/vmlinuz-4.2.0-36-generic
update-initramfs: Generating /boot/initrd.img-4.2.0-36-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.2.0-36-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.2.0-36-generic.postinst line 1025.
dpkg: error processing package linux-image-4.2.0-36-generic (–configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.2.0-36-generic; however:
Package linux-image-4.2.0-36-generic is not configured yet.

dpkg: error processing package linux-image-generic (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-4.2.0-36-generic:
linux-image-extra-4.2.0-36-generic depends on linux-image-4.2.0-36-generic; however:
Package linux-image-4.2.0-36-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.2.0-36-generic (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-virtual:
linux-image-extra-virtual depends on linux-image-generic (= 4.2.0.36.39); however:
Package linux-image-generic is not configured yet.

dpkg: error processing package linux-image-extra-virtual (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-4.2.0-36-generic
linux-image-generic
linux-image-extra-4.2.0-36-generic
linux-image-extra-virtual


#6

Based on Unbuntu 15.10


#7

Is it KVM provisioned as well?

If you are unsure… just do apt-get install virt-what then run it with virt-what


#8

Nop, a OpenVZ.
Must I try anyway ?


#9

Unfortunately, support for OpenVZ is incredibly limited and this may be why your bandwidth meters etc will not properly work. It’s kernel is handled by the machine hosting your node, thus quotas will only fail to install.


#10

Arf ok … Fortunately, this not a essential functionnality =)

For your information :

cat /etc/fstab
proc /proc proc defaults 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /run/shm tmpfs defaults 0 0


#11

Hey ! I created a new seedbox user and this one can see disk usage ! (but can’t connect to rtorrent)


#12

What QuickBox version and Distro/Release (I assume Ubuntu 15.10) are you on?

In ssh do the following:

su _username_
screen -fa -dmS rtorrent rtorrent

This will login you into the users shell and then restart their session. Now type exit to leave their shell and see if the error still appears.


#13

Ubuntu 15.10 and Quickbox 2.2.1

Already tried but problem still the same, I think that I do not have enough memory to run 2 screen ? I only have 128Mb of memory

[[email protected]]:(755.6kb)~# su Matt
== Seedbox Shell ==
Welcome To Your QuickBox Seedbox Shell
Type ‘?’ to get the list of allowed commands
Matt:~$ screen -fa -dmS rtorrent rtorrent
Matt:~$ exit


#14

Ah, yes… if you are on 2.2.1 I think the script defaulted memory to 128M.

Try to run ps aux| grep rtorrent then do pkill _processid_ to kill the screen. If there was no error thrown when you did the screen command then it is running… perhaps it just needs a hard stop. Although, I would certainly update the memory. 768M is what the new versions are issued with and it seems to be the perfect amount for heavy usage without it being overkill.

I will have an update script launched today that complies with the new architecture of the QuickBox EcoSystem.

You can view more on that in the Readme:


Disk Status does not display after installing 2.4
#15

It sill not work, I will take a new machine.
What’s the memory need for only rutorrent usage with 3 users ?

[[email protected]]:(755.6kb)~# ps aux| grep rtorrent
admin 821 0.0 0.4 24188 648 ? Ss 12:57 0:00 SCREEN -dmS rtorrent rtorrent
admin 823 0.2 3.7 716400 4920 pts/3 Ssl+ 12:57 0:31 rtorrent
root 7591 0.0 0.6 6560 788 pts/4 S+ 17:14 0:00 grep --color=auto rtorrent
Matt 12985 0.0 0.4 24188 628 ? Ss 13:05 0:00 SCREEN -dmS rtorrent rtorrent
Matt 12986 0.0 1.9 273204 2504 pts/5 Ssl+ 13:05 0:01 rtorrent
[[email protected]]:(755.6kb)~# kill 12985
[[email protected]]:(755.6kb)~# ps aux| grep rtorrent
admin 821 0.0 0.4 24188 648 ? Ss 12:57 0:00 SCREEN -dmS rtorrent rtorrent
admin 823 0.2 4.2 716400 5528 pts/3 Ssl+ 12:57 0:31 rtorrent
root 8165 0.0 0.6 6560 788 pts/4 S+ 17:14 0:00 grep --color=auto rtorrent


#16

The user count isn’t what matters, in most cases it’s the volume of torrents and overall activity. I would recommend 768M.


#17

Hi JMSolo,

Sorry but I took a new dedicated server with 4Gb ram and I still have this issue …
When I create a new user it still show that torrent list is not available, the only user which work is admin (created from qbox install)

Already tried command you give me previously :

Ubuntu LTS 16.04

[[email protected]]:(435.5kb)~# uname -a
Linux qbox 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Any idea ?


#18

Are you now on version 2.3.0?


#19

Yes sorry.
I note that when I kill all rtorrent process + I delete .sessions/rtorrent.lock on each users home + I try to launch screen with only one user = every users launch the screen + rtorrent


#20

Users sessions will start automatically by way of a cronjob if their .startup file recognizes that the process has been killed. This way there is no need to try an manually start a users session.

Could you show me the contents of a users .startup file?

An example of what this file will look like for an additional user is as follows:

#!/bin/bash
export USER=$(id -un)
IRSSI_CLIENT=yes
RTORRENT_CLIENT=yes
WIPEDEAD=yes

# NO NEED TO EDIT PAST HERE!
if [ "$WIPEDEAD" == "yes" ]; then
  screen -wipe >/dev/null 2>&1;
fi

if [ "$IRSSI_CLIENT" == "yes" ]; then
  (screen -ls|grep irssi >/dev/null || (screen -fa -dmS irssi irssi && false))
fi

if [ "$RTORRENT_CLIENT" == "yes" ]; then
  (screen -ls|grep rtorrent >/dev/null || (screen -dmS rtorrent rtorrent && false))
fi