wallabag: Cannot install wallbag on debian VPS
Issue details
I try to install wallbag on my VPS debian 9 server. First I install deps:
sudo apt-get install apache2 libapache2-mod-php php composer git-core php-bcmath php-gd php-dompdf php-json php-mbstring php-xml php-tidy php-symfony-polyfill-iconv php-curl php-gettext php-bcmath php-mysql make zip unzip
Next:
cd /var/www/
/var/www# git clone https://github.com/wallabag/wallabag.git
/var/www# cd wallabag/
/var/www/wallabag# make install
and that error occur:
/var/www/wallabag$ sudo make install
[sudo] password for xxxx:
Do not run this script as root!
Use --ignore-root-warning to ignore this error.
GNUmakefile:14: recipe for target 'install' failed
make: *** [install] Error 1
or without sudo
/var/www/wallabag$ make install
composer.phar not found, we'll see if composer is installed globally.
fatal: Unable to create '/var/www/wallabag/.git/index.lock': Permission denied
Loading composer repositories with package information
Installing dependencies from lock file
[RuntimeException]
/var/www/wallabag/vendor does not exist and could not be created.
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
PHP Warning: require(/var/www/wallabag/bin/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/wallabag/bin/console on line 15
PHP Fatal error: require(): Failed opening required '/var/www/wallabag/bin/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/wallabag/bin/console on line 15
GNUmakefile:14: recipe for target 'install' failed
make: *** [install] Error 255
Environment
- wallabag version (or git revision) that exhibits the issue: last
- How did you install wallabag? Via
git cloneor by downloading the package? git clone - Last wallabag version that did not exhibit the issue (if applicable):
- php version: PHP Version => 7.0.33-0+deb9u3
- OS: Debian 9,
uname -a Linux ArubaVPN 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64 GNU/Linux - type of hosting (shared or dedicated): VPS
I block login as root on my server, just login as normal user and use sudo. I’m not experienced in servers just install openvpn on that server first time.
Regards, Przemek
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (7 by maintainers)
This is a spammer don’t click on links