[vz-dev] VZ Aufräumarbeiten und neue Features

Andreas Goetz cpuidle at gmail.com
Mon Mar 18 13:12:56 CET 2019


Alles klar:

PHP Fatal error:  Uncaught Exception: Could not find config file. in /home/pi/volkszaehler.org/lib/Server/PPMBootstrapAdapter.php:33 <http://volkszaehler.org/lib/Server/PPMBootstrapAdapter.php:33>

und: 

if (!file_exists(VZ_DIR . '/etc/volkszaehler.conf.php')) {
    throw new \Exception('Could not find config file.');
}

da wird noch die alte Konfig gezogen und die existiert bei mir :O

Behebe ich asap…

Viele Grüße, 
Andreas

> On 18. Mar 2019, at 13:10, Daniel Lauckner <vz at jahp.de> wrote:
> 
> Hallo,
> 
> 
> am Montag, 18. März 2019 um 13:00 hat Andreas Goetz geschrieben:
>> kein Problem- aber ein wenig Kontext braucht es schon.
> 
> pi at volkszaehler:~/volkszaehler.org $ vendor/bin/ppm start -c etc/middleware.json --cgi-path=/usr/bin/php7.3
> Read configuration /home/pi/volkszaehler.org/etc/middleware.json, modified by command arguments.
> /home/pi/volkszaehler.org
> +---------------------+-----------------------------------------+
> | host                | 0.0.0.0                                 |
> | port                | 8080                                    |
> | workers             | 8                                       |
> | static              |                                         |
> | logging             | 0                                       |
> | max-requests        | 1000                                    |
> | bridge              | HttpKernel                              |
> | bootstrap           | Volkszaehler\Server\PPMBootstrapAdapter |
> | app-env             | dev                                     |
> | debug               | 0                                       |
> | static-directory    |                                         |
> | max-execution-time  | 30                                      |
> | memory-limit        | -1                                      |
> | ttl                 | 0                                       |
> | populate-server-var | 1                                       |
> | socket-path         | .ppm/run/                               |
> | pidfile             | .ppm/ppm.pid                            |
> | reload-timeout      | 30                                      |
> | cgi-path            | /usr/bin/php7.3                         |
> +---------------------+-----------------------------------------+
> Starting PHP-PM with 8 workers, using StreamSelectLoop ...
> --- Worker 5501 stderr ---
> PHP Fatal error:  Uncaught Exception: Could not find config file. in /home/pi/volkszaehler.org/lib/Server/PPMBootstrapAdapter.php:33
> Stack trace:
> #0 /home/pi/volkszaehler.org/vendor/composer/ClassLoader.php(444): include()
> #1 /home/pi/volkszaehler.org/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/pi/volksz...')
> #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Volkszaehler\\Se...')
> #3 [internal function]: spl_autoload_call('Volkszaehler\\Se...')
> #4 /home/pi/volkszaehler.org/vendor/php-pm/httpkernel-adapter/Bridges/HttpKernel.php(324): class_exists('Volkszaehler\\Se...')
> #5 /home/pi/volkszaehler.org/vendor/php-pm/httpkernel-adapter/Bridges/HttpKernel.php(55): PHPPM\Bridges\HttpKernel->normalizeAppBootstrap('Volkszaehler\\Se...')
> #6 /home/pi/volkszaehler.org/vendor/php-pm/php-pm/src/ProcessSlave.php(251): PHPPM\Bridges\HttpKernel->bootstrap('Volkszaehler\\Se...', 'dev', false)
> #7 /home/pi/volkszaehler.org/vendor/php-pm/php-pm/src/ProcessSlave.php(357): PHPPM\ProcessSlave->bootstrap('V in /home/pi/volkszaehler.org/lib/Server/PPMBootstrapAdapter.php on line 33
> Uncaught Exception: Could not find config file.
> Application bootstrap failed. Restarting worker #5501 ...
> --- Worker 5502 stderr ---
> 
> ab da wiederholen sich die Meldungen.
> 
> 
> mfg Daniel
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-dev/attachments/20190318/fc97c730/attachment-0001.html>


More information about the volkszaehler-dev mailing list