Something strange with the new script


#1

hi ime not sure but i do have the right os installed but getting error

[QuickBox] QuickBox Seedbox Installation

             Heads Up!
 QuickBox works with the following
 Ubuntu - 14.04 | 15.10 | 16.04
 Debian - 7 | 8

Checking distribution …
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty

Oh drats! You do not appear to be running a supported Ubuntu release.
Release: 14.04
Codename: trusty
Exiting…
[email protected]:~/quickbox_setup#

any ideas


#2

after digging it seems i have something missing

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty

does this mean a faulty os install and will i need to re install


#3

update i ran sudo apt-get install lsb-core tried running setup again and now i get this

[QuickBox] QuickBox Seedbox Installation

             Heads Up!
 QuickBox works with the following
 Ubuntu - 14.04 | 15.10 | 16.04
 Debian - 7 | 8

Checking distribution …
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty

Oh drats! You do not appear to be running a supported Ubuntu release.
Release: 14.04
Codename: trusty
Exiting…
[email protected]:~/quickbox_setup#


#4

After the tests the development branch of the successful 14.04 build didn’t get merged to the master. Do this.

cd ~/quickbox_setup
git pull

Then run bash quickbox-setup again. This will update the installer and you will be able to install on 14.04.


#5

Thanks for the help i did as you said still got some errors listed below

Building ffmpeg from source for screenshots … [|] mkdir: cannot create directory ‘/root/tmp’: File exists [ DONE ]
quickbox-setup: line 466: /etc/apache2/master.txt: No such file or directory

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

Installing autodl-irssi … [/] cp: cannot stat ‘autodl-irssi.pl’: No such file or directory


#6

Are you trying to install this over a version already installed.

Also, what happens when you run this:

apt-get -y --force-yes --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 \
                     libfontconfig1 rar unrar mediainfo ifstat libapache2-mod-php7.0 \
                     ttf-mscorefonts-installer checkinstall dtach cfv libarchive-zip-perl \
                     libnet-ssleay-perl openjdk-7-jre-headless openjdk-7-jre openjdk-7-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

well no not really i have tried to install the script after the first failed attempt then i done the patch and run it again it goes through the motions and the same error

quickbox-setup: line 466: /etc/apache2/master.txt: No such file or directory

reply to your other question

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
E: Couldn’t find any package by regex 'php7.0’
E: Unable to locate package php7.0-fpm
E: Couldn’t find any package by regex 'php7.0-fpm’
E: Unable to locate package php7.0-mbstring
E: Couldn’t find any package by regex 'php7.0-mbstring’
E: Unable to locate package php7.0-mysql
E: Couldn’t find any package by regex 'php7.0-mysql’
E: Unable to locate package php7.0-curl
E: Couldn’t find any package by regex 'php7.0-curl’
E: Unable to locate package php-memcached
E: Unable to locate package php7.0-gd
E: Couldn’t find any package by regex 'php7.0-gd’
E: Unable to locate package php7.0-json
E: Couldn’t find any package by regex 'php7.0-json’
E: Unable to locate package php7.0-mcrypt
E: Couldn’t find any package by regex 'php7.0-mcrypt’
E: Unable to locate package php7.0-opcache
E: Couldn’t find any package by regex 'php7.0-opcache’
E: Unable to locate package php7.0-xml
E: Couldn’t find any package by regex 'php7.0-xml’
E: Unable to locate package php7.0-zip
E: Couldn’t find any package by regex 'php7.0-zip’
E: Unable to locate package libapache2-mod-php7.0
E: Couldn’t find any package by regex ‘libapache2-mod-php7.0’


#8

Can you paste your sources.list for me.

/etc/apt/sources.list

It’s curious as we ran the test several times on Ubuntu 14.04 and it passed every time… after we fixed the dependencies issue. I am wondering if the ubuntu.sources.template isn’t copied over properly.


#9

sure

deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

Ubuntu Partner Repo

deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

Ubuntu Multimedia

#deb http://www.deb-multimedia.org jessie main non-free
#deb-src http://www.deb-multimedia.org jessie main non-free


#10

Ok… there is the issue. Could you try running it once more… but comment out the multimedia sources… they can cause 14.04 to fail so we have left them out of Ubuntu installs entirely.

Change them to this or just delete those entirely and then try the script once more. Not sure how you pulled an old source template… possibly didn’t overwrite from your first attempt.

Ubuntu Multimedia

#deb http://www.deb-multimedia.org jessie main non-free
#deb-src http://www.deb-multimedia.org jessie main non-free

#11

it didnt paste them here but they are commented out imagine # in front of those

Ubuntu Multimedia

#deb http://www.deb-multimedia.org jessie main non-free
#deb-src http://www.deb-multimedia.org jessie main non-free


#12

strange indeed i will request a fresh install

ive edited the repos and i have manually copied over master.txt to /etc/apache2

set permissions to 777

and run script again still getting this

quickbox-setup: line 466: /etc/apache2/master.txt: No such file or directory but it is there

hmmm could it be a faulty server


#13

Well, it’s failing on the dependencies for php7. In your /etc/apt/sources.list.d/ do you have the following source listed ondrej-php-trusty.list with these contents:

deb http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main

#14

Hi

well i had it re installed with ubuntu 16.04 lts 64 and the install failed even worse lol

i have attached the log

i used the latest install

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

quickbox.log (943.3 KB)


#15

Who is your provider? Also, I am going through your logs and your sources are showing as coming from Trusty, when they should be coming from xenial if you are on Ubuntu 16.04.


#16

oneprovider but i dont think it is them as i have installed the old script on another server there and it is working fine


#17

let me check version on server

  • Documentation: https://help.ubuntu.com/
    Last login: Thu Jun 2 17:23:40 2016 from 81.110.174.102
    /root/.du.sh: line 21: bc: command not found
    [[email protected]]:(kb)~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04 LTS
    Release: 16.04
    Codename: xenial
    /root/.du.sh: line 21: bc: command not found

#18

This is the function that writes to your sources template on install

# package and repo addition (13) _update and upgrade_
function _updates() {
...
    cp ${local_setup}templates/apt.sources/ubuntu.template /etc/apt/sources.list
    sed -i "s/RELEASE/${CODENAME}/g" /etc/apt/sources.list
    apt-get -y -f install build-essential debian-archive-keyring \
                             python-software-properties software-properties-common >>"${OUTTO}" 2>&1
    apt-get -y -f --allow-unauthenticated install deb-multimedia-keyring >>"${OUTTO}" 2>&1
...

Where ${CODENAME} is produced by lsb_release -cs

This is what the default Ubuntu Templates look like:

###### Ubuntu Main Repos
deb http://archive.ubuntu.com/ubuntu/ RELEASE main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ RELEASE main restricted universe multiverse

###### Ubuntu Update Repos
deb http://archive.ubuntu.com/ubuntu/ RELEASE-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ RELEASE-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ RELEASE-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ RELEASE-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ RELEASE-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ RELEASE-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu RELEASE partner
deb-src http://archive.canonical.com/ubuntu RELEASE partner

###### Ubuntu Multimedia
#deb http://www.deb-multimedia.org jessie main non-free
#deb-src http://www.deb-multimedia.org jessie main non-free

Thus, the word RELEASE gets overwritten by "${CODENAME}"

As to why your sources.list is producing trusty as the source list is hard to say. We cannot reproduce this unless we manually punch in trusty

Also, you are pulling from nl.archives… the new version does not do this:

Get:31 http://nl.archive.ubuntu.com trusty-updates/multiverse Sources [5,939 B]

It now pulls directly from archive.ubuntu as seen above. Either they botched the reinstall or something else is afoot here that has nothing to do with the script. Additional to this, it states the bc command is not found. This is an important factor for various functions of the script to perform a proper install.

I would request another reinstall, then you could PM me server info and I will install this first hand to see if any issues arise.


#19

thanks i am suspecting at this stage a faulty drive but i will request a re install of 16.04


#20

Yes, OP is notorious for passing out faulty hardware and similar support. The script comes with a built-in function to test your disk. You can run disktest and see if your in/out is matching… if not… there certainly could be an issue.

example result of disktest

[[email protected]]:(489.0kb)~# disktest
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 44.8701 s, 23.9 MB/s

It will not return sector info, as it is very basic… but it will give you an idea.

However, I am going to run some test with 16.04 and see if anything occurs that may had been missed.