Install failure on VPS with v2.3 on Ubuntu 15.10

v2.3.0
install

#1

Thanks for all the hard work and fast updates. I’m eager to try this as a replacement for https://github.com/arakasi72/rtinst

I tried running from the home directory of my main account (as root) in /home/smbox:
(Also tried Ubuntu 16 with similar results. I’m using an Azure Virtual Machine with a plain Ubuntu install)

Also the script removed sudo root access to my main linux account! Lost root had to rebuild…

Run the following command to grab our latest stable release …

apt-get -yqq update; apt-get -yqq upgrade; apt-get -yqq install git lsb-release;
git clone https://github.com/QuickBox/quickbox_setup quickbox_setup
cd quickbox_setup
bash quickbox-setup

Install didn’t work and I didn’t see anything in /usr/local/bin/quickbox

Output:

Would you like to install ffmpeg? (Used for screenshots) [y]es or [n]o: n

Block Public Trackers?: [y]es or [n]o:
[ - Blocking public trackers - ]
cp: cannot stat ‘/root/quickbox_setup/templates/trackers.template’: No such file or directory
cp: cannot stat ‘/root/quickbox_setup/templates/denypublic.template’: No such file or directory
chmod: cannot access ‘/etc/cron.daily/denypublic’: No such file or directory
cat: /root/quickbox_setup/templates/hostsTrackers.template: No such file or directory

QuickBox will now install, this may take between
10 and 45 minutes depending on your systems specs

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 … cp: cannot stat ‘/root/quickbox_packages//.’: No such file or directory
[|] cp: cannot stat ‘/usr/local/bin/quickbox/system/reload’: No such file or directory
[ 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: fatal: cannot open file /etc/sudoers' for reading (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 ... rm: cannot remove ‘tmp’: No such file or directory mkdir: cannot create directory ‘/root/tmp’: File exists [|] 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 directory [ DONE ] Installing rtorrent-0.9.6 ... rm: cannot remove ‘tmp’: No such file or directory mkdir: cannot create directory ‘/root/tmp’: File exists [|] 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 ... cp: cannot stat ‘/root/quickbox_rutorrent//.’: No such file or directory [ DONE ] Installing rutorrent plugins ... cp: cannot stat ‘/root/quickbox_rutorrent-plugins//.’: No such file or directory [ DONE ] Installing quickbox dashboard ... cp: cannot stat ‘/root/quickbox_dashboard//.’: No such file or directory [ 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 [ DONE ] Installing .rtorrent.rc for smbox ... cp: cannot stat ‘/root/quickbox_setup/templates/rtorrent.rc.template’: No such file or directory sed: can't read /home/smbox/.rtorrent.rc: No such file or directory [|] sed: can't read /home/smbox/.rtorrent.rc: No such file or directory sed: can't read /home/smbox/.rtorrent.rc: No such file or directory [ DONE ] Adjusting fileupload & filemanager plugins ... rm: cannot remove ‘/srv/rutorrent/plugins/diskspaceh’: No such file or directory cp: cannot stat ‘/srv/rutorrent/home/fileshare/.htaccess’: No such file or directory quickbox-setup: line 618: cd: /srv/rutorrent/home/fileshare/: No such file or directory cp: cannot stat ‘/root/quickbox_setup/templates/rutorrent/plugins/fileshare/conf.php.template’: No such file or directory [|] sed: can't read /srv/rutorrent/plugins/filemanager/flm.class.php: No such file or directory sed: can't read /srv/rutorrent/plugins/filemanager/settings.js.php: No such file or directory sed: can't read /srv/rutorrent/plugins/filemanager/init.js: No such file or directory quickbox-setup: line 627: cd: /srv/rutorrent/plugins/theme/themes/: No such file or directory [|] Can't open /srv/rutorrent/plugins/theme/conf.php: No such file or directory. [\] chmod: cannot access ‘/srv/rutorrent/plugins/fileupload/scripts/upload’: No such file or directory cp: cannot stat ‘/srv/rutorrent/plugins/fileupload/conf.php’: No such file or directory find:/srv/rutorrent/plugins/filemanager/scripts’: No such file or directory
[ DONE ]
Installing autodl-irssi … [ DONE ]
Making smbox directory structure … [ DONE ]
Writing smbox system crontab script … cp: cannot stat ‘/root/quickbox_setup/templates/startup.template’: No such file or directory
[ DONE ]
Writing smbox 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/smbox/config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users/smbox/config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users/smbox/config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users/smbox/config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users/smbox/config.php: No such file or directory
sed: can’t read /srv/rutorrent/conf/users/smbox/config.php: No such file or directory
[ DONE ]
Installing vsftpd … [|]
.
.


#2

When you say:

This is the cause of why your install is failing. The script needs to be installed from root (~/) as this is where it securely stashes the repos for upgrading, collaborating etc etc. There is going to be a function added in here within the next couple of days that will exit the script if it is not being installed from the root directory.

Additionally, the script does not remove sudo access, so I am not entirely sure on your meaning. If you could elaborate further on this I would appreciate it.


#3

I started again with a clean ubuntu 16 and did a sudo bash; cd /root; and then ran install steps.

still had some error and nothing in /usr/local/bin/quickbox. But I realized the problem is that I was doing a sudo bash from my main user account. I realized I have to do a:

  1. sudo bash
  2. su root
  3. cd (should now take me to /root)
  4. then run the install commands

Everything worked fine after that, thanks!

PS I didn’t understand that master user for sudoer and used my existing account (had sudo root perms), but after the script lost that ability. I know know that should be a new user…


#4

Ok, I see now. Thank you for that… I will rephrase that better, or at the very least add a note that it should be a new user. Glad you got this all sorted!


#5

Hi. Thanks alot but am stuck and still trying to get it up. Please advise and hanks again

QuickBox will now install, this may take between
10 and 45 minutes depending on your systems specs

Pulling QuickBox Ecosystem … [ DONE ]
Updating system … [ DONE ]
Installing all needed dependencies … [ DONE ]
Setting up system executables … [ DONE ]
Building required user directories … [ DONE ]
Setting up quotas for /(root) mount … [ DONE ]
Setting up Limited Shell environment … [ DONE ]
Building ffmpeg from source for screenshots … [ DONE ]
/root/QuickBox/setup/quickbox-setup: line 463: /etc/apache2/master.txt: No such file or directory
Installing xmlrpc-c-1.33.12 … [ DONE ]
Installing libtorrent-0.13.6 … [ DONE ]
Installing rtorrent-0.9.6 … [ DONE ]
Installing rutorrent into /srv … [ DONE ]
Installing rutorrent plugins … [ DONE ]
Installing quickbox dashboard … [ DONE ]
Setting up seedbox.conf for apache … cp: cannot create regular file ‘/etc/apache2/sites-enabled/aliases-seedbox.conf’: No such file or directory
sed: can’t read /etc/apache2/sites-enabled/aliases-seedbox.conf: No such file or directory
cp: cannot create regular file ‘/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
sed: can’t read /etc/apache2/sites-enabled/default-ssl.conf: No such file or directory
cp: cannot create regular file ‘/etc/apache2/sites-enabled/fileshare.conf’: 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 tomyam555 … [ DONE ]
Adjusting fileupload & filemanager plugins … [ DONE ]
Installing autodl-irssi … [ DONE ]
Making tomyam555 directory structure … [ DONE ]
Writing tomyam555 system crontab script … [ DONE ]
Writing tomyam555 rutorrent config.php file … [ DONE ]
Installing vsftpd … [ DONE ]
Setting up vsftpd … [ DONE ]
Setting irssi/rtorrent to start on boot … [ DONE ]


#6

Judging by what processes failed within your output, it looks as if php failed to enter the dependencies.

Are you using Ubuntu 15.10 and which provider is your machine from? I have noticed this as a hit & miss event happening with Online.net for some reason.

Please let me know the output when you try the following (Just the error message, if any):

apt-get -y -f --allow-unauthenticated install build-essential debian-archive-keyring fail2ban bc sudo \
                     screen zip irssi unzip nano bwm-ng htop iotop git \
                     dos2unix subversion dstat automake make mktorrent libtool libcppunit-dev libssl-dev \
                     pkg-config libxml2-dev libcurl3 libcurl4-openssl-dev libsigc++-2.0-dev \
                     apache2-utils autoconf cron curl libapache2-mod-fastcgi libapache2-mod-geoip \
                     libxslt-dev libncurses5-dev yasm pcregrep apache2 php-net-socket \
                     libdbd-mysql-perl libdbi-perl php7.0 php7.0-fpm php7.0-mbstring php7.0-mysql \
                     php7.0-curl php-memcached memcached php7.0-gd php7.0-json php7.0-mcrypt php7.0-opcache \
                     php7.0-xml php7.0-zip fontconfig comerr-dev ca-certificates libfontconfig1-dev \
                     php7.0-geoip libfontconfig1 rar unrar mediainfo ifstat libapache2-mod-php7.0 \
                     ttf-mscorefonts-installer checkinstall dtach cfv libarchive-zip-perl \
                     libnet-ssleay-perl openjdk-8-jre-headless openjdk-8-jre openjdk-8-jdk libxslt1-dev \
                     libxslt1.1 libxml2 libffi-dev python-pip python-dev libhtml-parser-perl libxml-libxml-perl \
                     libjson-perl libjson-xs-perl libxml-libxslt-perl libapache2-mod-scgi \
                     vnstat vnstati openvpn

#7

HI J

Thanks again. I am on Ubuntu 16.04 with Leaseweb. This is what i get:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘libxslt1-dev’ instead of 'libxslt-dev’
E: Unable to locate package php7.0-geoip
E: Couldn’t find any package by glob 'php7.0-geoip’
E: Couldn’t find any package by regex ‘php7.0-geoip’


#8

If you like, you can send me your server details via PM and I will login and take a look/patch the issue. I should be able to give you a solid reason as to why this happened and have you up and running within the hour.

Let me know if you’re game and we’ll get started. :slight_smile:

PS: no fees are going to be solicited in this case.


#9

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.