[vz-dev] 'php-apc' has no installation candidate

Udo1 udo1 at gmx.net
Sun Oct 1 18:54:48 CEST 2017


Hallo Daniel,

Am 01.10.2017 um 15:26 schrieb Daniel Lauckner:
> Wenns so ok ist mach ich den Pull-Request ins VZ-Repo.

Leider noch nicht:

pi at volkszaehler:~ $ bash install.sh
volkszaehler.org installation script

checking prerequisites: php: /usr/bin/php
  mysql: /usr/bin/mysql
  awk: /usr/bin/awk
  sed: /bin/sed
  grep: /bin/grep
  wget: /usr/bin/wget
  mktemp: /bin/mktemp
  mkdir: /bin/mkdir
  git: /usr/bin/git

PHP:  syntax error, unexpected ')' in /etc/php/7.0/cli/php.ini on line 16
PHP:  syntax error, unexpected ')' in /etc/php/7.0/cli/php.ini on line 16
checking php version: 7.0.19-1 PHP:  syntax error, unexpected ')' in 
/etc/php/7.0/cli/php.ini on line 16
 >= 7.0, ok

volkszaehler setup...
volkszaehler path? [/home/pi/volkszaehler.org]
git clone volkszaehler.org into /home/pi/volkszaehler.org
Cloning into '/home/pi/volkszaehler.org'...
remote: Counting objects: 11087, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 11087 (delta 5), reused 9 (delta 3), pack-reused 11073
Receiving objects: 100% (11087/11087), 7.19 MiB | 2.85 MiB/s, done.
Resolving deltas: 100% (6085/6085), done.
link from webserver to volkszaehler directory? [/var/www/volkszaehler.org]
linking /var/www/volkszaehler.org to /home/pi/volkszaehler.org

checking composer...
~/volkszaehler.org ~
composer not found, downloading...
PHP:  syntax error, unexpected ')' in /etc/php/7.0/cli/php.ini on line 16
All settings correct for using Composer
Downloading...

Composer (version 1.5.2) successfully installed to: 
/home/pi/volkszaehler.org/composer.phar
Use it: php composer.phar

~
composer: /home/pi/volkszaehler.org/composer.phar

installing dependencies...
~/volkszaehler.org ~
PHP:  syntax error, unexpected ')' in /etc/php/7.0/cli/php.ini on line 16
Loading composer repositories with package information
Updating dependencies
Package operations: 40 installs, 0 updates, 0 removals
   - Installing psr/log (1.0.2): Downloading (100%)
   - Installing symfony/debug (v3.3.9): Downloading (100%)
   - Installing symfony/polyfill-mbstring (v1.5.0): Downloading (100%)
   - Installing symfony/console (v3.3.9): Downloading (100%)
   - Installing doctrine/lexer (v1.0.1): Downloading (100%)
   - Installing doctrine/inflector (v1.2.0): Downloading (100%)
   - Installing doctrine/collections (v1.4.0): Downloading (100%)
   - Installing doctrine/cache (v1.6.2): Downloading (100%)
   - Installing doctrine/annotations (v1.4.0): Downloading (100%)
   - Installing doctrine/common (v2.7.3): Downloading (100%)
   - Installing doctrine/dbal (v2.5.13): Downloading (100%)
   - Installing andig/dbcopy (dev-master 94a72ce): Cloning 94a72ce582 
from cache
   - Installing symfony/routing (v3.3.9): Downloading (100%)
   - Installing symfony/http-foundation (v3.3.9): Downloading (100%)
   - Installing react/promise (v2.5.1): Downloading (100%)
   - Installing evenement/evenement (v2.0.0): Downloading (100%)
   - Installing react/stream (v0.4.6): Downloading (100%)
   - Installing react/event-loop (v0.4.3): Downloading (100%)
   - Installing react/socket (v0.5.1): Downloading (100%)
   - Installing psr/http-message (1.0.1): Downloading (100%)
   - Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
   - Installing ratchet/rfc6455 (v0.2.3): Downloading (100%)
   - Installing cboden/ratchet (v0.4): Downloading (100%)
   - Installing react/promise-stream (v0.1.1): Downloading (100%)
   - Installing ringcentral/psr7 (1.2.1): Downloading (100%)
   - Installing react/http (dev-master cd15204): Cloning cd15204bd1 from 
cache
   - Installing paragonie/random_compat (v2.0.11): Downloading (100%)
   - Installing monolog/monolog (1.23.0): Downloading (100%)
   - Installing react/promise-timer (v1.2.0): Downloading (100%)
   - Installing react/cache (v0.4.1): Downloading (100%)
   - Installing react/dns (v0.4.11): Downloading (100%)
   - Installing react/socket-client (v0.5.3): Downloading (100%)
   - Installing symfony/process (v3.3.9): Downloading (100%)
   - Installing mkraemer/react-pcntl (v2.0.0): Downloading (100%)
   - Installing php-pm/php-pm (dev-master 5a883f4): Cloning 5a883f48f0 
from cache
   - Installing symfony/event-dispatcher (v3.3.9): Downloading (100%)
   - Installing symfony/http-kernel (v3.3.9): Downloading (100%)
   - Installing php-pm/httpkernel-adapter (dev-master b373b03): Cloning 
b373b0384f from cache
   - Installing doctrine/instantiator (1.0.5): Downloading (100%)
   - Installing doctrine/orm (v2.5.11): Downloading (100%)
Writing lock file
Generating autoload files

install server-side graph generation (jpgraph, not required for 
frontend)? [n]
~

volkszaehler.org is not configured yet. creating new config from sample 
config file.
mysql admin user? [root]
mysql admin password? [] raspberry
mysql database? [volkszaehler]
mysql user? [vz]
mysql password? [demo]

create volkszaehler.org database? [y]
creating database volkszaehler...
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
pi at volkszaehler:~ $

Gruß
Udo


More information about the volkszaehler-dev mailing list