Errors during install after update

Clean install, on both Debian 8 and ubuntu 14.04

root@:/home/toor/quickbox_setup# bash quickbox-setup
cp: cannot stat ‘/root/quickbox_setup/templates/bashrc.template’: No such file or directory
Pulling QuickBox Ecosystem … [ DONE ]
Updating system … cp: cannot stat ‘/root/quickbox_setup/templates/apt.sources/ubuntu.template’: No such file or directory
[ DONE ]
Installing all needed dependencies … [ DONE ]
Setting up system executables … [ DONE ]
Building required user directories … cp: cannot stat ‘/root/quickbox_setup/templates/skel/.’: No such file or directory
tar (child): /root/quickbox_setup/sources/rarlinux-x64-5.3.0.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cp: cannot stat ‘./rar/*rar’: No such file or directory
[|] cp: cannot stat ‘./rar/*rar’: No such file or directory [ DONE ]
Setting up quotas for /(root) mount … [ DONE ]
Setting up Limited Shell environment … [-] cp: cannot stat ‘/root/quickbox_setup/templates/lshell.conf.template’: No such file or directory [ DONE ]
cp: cannot stat ‘/root/quickbox_setup/templates/sudoers.template’: No such file or directory
awk: cannot open /etc/sudoers (No such file or directory)
quickbox-setup: line 468: /etc/apache2/master.txt: No such file or directory
Installing xmlrpc-c-1.33.12 … cp: cannot stat ‘/root/quickbox_setup/sources/xmlrpc-c_1-33-12/’: No such file or directory
quickbox-setup: line 479: cd: xmlrpc-c_1-33-12: No such file or directory
chmod: cannot access ‘configure’: No such file or directory
chmod: cannot access ‘install-sh’: No such file or directory
[ DONE ]
Installing libtorrent-0.13.6 … quickbox-setup: line 491: bc: command not found
cp: cannot stat ‘/root/quickbox_setup/sources/libtorrent-0.13.6.tar.gz’: No such file or directory
[|] quickbox-setup: line 496: cd: libtorrent-0.13.6: No such file or dir[ DONE ]
Installing rtorrent-0.9.6 … quickbox-setup: line 507: bc: command not found
cp: cannot stat ‘/root/quickbox_setup/sources/rtorrent-0.9.6.tar.gz’: No such file or directory
quickbox-setup: line 512: cd: rtorrent-0.9.6: No such file or directory
[ DONE ]
Installing rutorrent into /srv … [ DONE ]
Installing rutorrent plugins … [ DONE ]
Installing quickbox dashboard … [ DONE ]
Setting up seedbox.conf for apache … cp: cannot stat ‘/root/quickbox_setup/templates/aliases-seedbox.conf.template’: No such file or directory
sed: can’t read /etc/apache2/sites-enabled/aliases-seedbox.conf: No such file or directory
cp: cannot stat ‘/root/quickbox_setup/templates/default-ssl.conf.template’: No such file or directory
sed: can’t read /etc/apache2/sites-enabled/default-ssl.conf: No such file or directory
[|] sed: can’t read /etc/apache2/sites-enabled/default-ssl.conf: No such file or directory
sed: can’t read /etc/apache2/sites-enabled/default-ssl.conf: No such file or directory
sed: can’t read /etc/apache2/sites-enabled/default-ssl.conf: No such file or directory
cp: cannot stat ‘/root/quickbox_setup/templates/fileshare.conf.template’: No such file or directory
sed: can’t read /etc/php/7.0/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/7.0/apache2/php.ini: No such file or directory [ DONE ]
Installing .rtorrent.rc for … cp: cannot stat ‘/root/quickbox_setup/templates/rtorrent.rc.template’: No such file or directory
sed: can’t read /home//.rtorrent.rc: No such file or directory
sed: can’t read /home//.rtorrent.rc: No such file or directory
sed: can’t read /home//.rtorrent.rc: No such file or directory
[ DONE ]
Adjusting fileupload & filemanager plugins … cp: cannot stat ‘/root/quickbox_setup/templates/rutorrent/plugins/fileshare/conf.php.template’: No such file or directory
[ DONE ]
Installing autodl-irssi … [-] cp: cannot stat ‘autodl-irssi.pl’: No such file or directory [ DONE ]
Making directory structure … [ DONE ]
Writing system crontab script … cp: cannot stat ‘/root/quickbox_setup/templates/startup.template’: No such file or directory
[ DONE ]
Writing rutorrent config.php file … cp: cannot stat ‘/root/quickbox_setup/templates/rutorrent.users.config.template’: No such file or directory
sed: can’t read /srv/rutorrent/conf/users//config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users//config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users//config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users//config.php: No such file or directory
[|] sed: can’t read /srv/rutorrent/conf/users//config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users//config.php: No such file or dir[ DONE ]
Installing vsftpd … [ DONE ]
Setting up vsftpd … cp: cannot stat ‘/root/quickbox_setup/templates/openssl.cnf.template’: No such file or directory
[|] cp: cannot stat ‘/root/quickbox_setup/templates/vsftpd.conf.template’: No such file or directory [ DONE ]
sed: can’t read /home//.console/index.php: No such file or directory
Setting irssi/rtorrent to start on boot … sudo: unknown user: crontab
sudo: unable to initialize policy plugin
[ DONE ]
Setting permissions on … [|] chown: cannot access ‘/home//.startup’: No such file or directory [ DONE ]
quickbox-setup: line 957: bc: command not found
quickbox-setup: line 958: bc: command not found

What can I do to fix this?

Can you show me your root directory structure? Just an ls -l will do

This should be ran in the /root directory… it looks like you tried to run this from a users /home directory.

root@:/home/toor/quickbox_setup# bash quickbox-setup

Should be

root@:~/quickbox_setup# bash quickbox-setup

root@:/# ls -1
aquota.user
bin
boot
dev
etc
home
initrd.img
install
lib
lib64
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
vmlinuz

That is not your /root directory… however, please see my reply up top for what happened.

Wow do I feel dumb, you can delete this if you want too. Thank’s again.

What fun would that be @Stellaris :stuck_out_tongue_winking_eye:

You are actually not the first and certainly not the last… I’ll be honest, I spotted it so quickly b/c I have done the very same thing myself on testing runs… then bashed my head against the wall trying to figure out why it failed so hard but installed just fine 15 times previous.

Post Script

Maybe this would be a good time for a feature request! Ensuring that the script is installing in the proper locations or (exit)

1 Like