wallabag: ErrorException upon installation
Issue details
i’m getting this error upon installation:
`www-data@raspberrypi:~/wallabag$ make install composer.phar not found, we’ll see if composer is installed globally. HEAD is now at 9796a3aa… Release wallabag 2.3.7 Cannot create cache directory /var/www/.composer/cache/repo/https—packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache Loading composer repositories with package information Installing dependencies from lock file
[ErrorException]
“continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?
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(/nas/data/wallabag/app/…/vendor/autoload.php): failed to open stream: No such file or directory in /nas/data/wallabag/app/autoload.php on line 9 PHP Fatal error: require(): Failed opening required ‘/nas/data/wallabag/app/…/vendor/autoload.php’ (include_path=‘.:/usr/share/php’) in /nas/data/wallabag/app/autoload.php on line 9 GNUmakefile:14: recipe for target ‘install’ failed make: *** [install] Error 255 `
Environment
- wallabag version (or git revision) that exhibits the issue: newest
- download via git-clone
- php version: 7.3 AND 5.6
- OS: raspian stretch-lite
- type of hosting (shared or dedicated): dedicated
- which storage system mysql / mariadb
- apache2 webserver
Steps to reproduce/test case
since i’ve had installed php7.3 and i was aware of the fact that this is not running with wallabag i tried to set up in parallel php5.6 using libapache2-mod-fcgid. i found a useful tutorial for doing so here: https://tecadmin.net/install-multiple-php-version-with-apache-on-debian/
i ran the installation as user www-data. during the installation the issue occured.
since var/www/wallabag is only a symbolic link pointing to /nas/data/wallabag, i checked the permissions of the file. however var/www/wallabag has the permission 777. i changed the ownership of the directory from root to www-data and ran the installation process again.
same error message.
i understand that the issue has to do with conflicting php7…3. wondering whether this can be avoided.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 32 (14 by maintainers)
jup, wallabag works now fine with updated composer…