No Access to gui / Symfony parse error

Since two days I get this error:
[2019-01-07 08:17:24] production.ERROR: Symfony\Component\Yaml\Exception\ParseException: Unable to parse at line 18 (near “<<<<<<< HEAD”). in /opt/librenms/vendor/symfony/yaml/Parser.php:288
Stack trace:

Access to the webgui is not possible

Is there a knowen code problem or does anybody have an idea for the root cause:
./validate.php is OK:
[root@fh-vm-noc05 librenms]$ ./validate.php

Component Version
LibreNMS 1.47-702-gdfb9e64
DB Schema 278
PHP 7.2.13
MySQL 5.5.62
RRDTool 1.4.7
SNMP NET-SNMP 5.5

====================================

[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

You somehow managed your dependencies in the vendor folder. Delete it and ./composer_wrapper.php install --no-dev

I did it. But the error is not gone:
Also I run ./daily.php

[2019-01-07 13:53:02] production.ERROR: Symfony\Component\Yaml\Exception\ParseException: Unable to parse at line 18 (near “<<<<<<< HEAD”). in /opt/librenms/vendor/symfony/yaml/Parser.php:288
Stack trace:
#0 /opt/librenms/vendor/symfony/yaml/Parser.php(78): Symfony\Component\Yaml\Parser->doParse(Array, false, false, false)
#1 /opt/librenms/vendor/symfony/yaml/Yaml.php(65): Symfony\Component\Yaml\Parser->parse(‘os: zynos\ntext:…’, false, false, false)
#2 /opt/librenms/includes/common.php(1623): Symfony\Component\Yaml\Yaml::parse(‘os: zynos\ntext:…’)
#3 /opt/librenms/includes/init.php(137): load_all_os(true)
#4 /opt/librenms/html/legacy_index.php(29): require(‘/opt/librenms/i…’)

[root@fh-vm-noc05 librenms]$ ./validate.php

Component Version
LibreNMS 1.47-702-gdfb9e64
DB Schema 278
PHP 7.2.13
MySQL 5.5.62
RRDTool 1.4.7
SNMP NET-SNMP 5.5
====================================

[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.
[FIX]:
Check your poll log and see: Performance - LibreNMS Docs
Devices:

and 82 more…
[FAIL] Discovery has not completed in the last 24 hours.
[FIX]:
Check the cron job to make sure it is running and using discovery-wrapper.py

I deleted ./symfony
and installed it again as you described:

librenms@fh-vm-noc05 vendor]$ …/scripts/composer_wrapper.php install --no-dev

LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 16 installs, 0 updates, 0 removals

  • Installing symfony/polyfill-mbstring (v1.9.0): Loading from cache
  • Installing symfony/debug (v3.4.15): Loading from cache
  • Installing symfony/console (v3.4.15): Loading from cache
  • Installing symfony/css-selector (v3.4.15): Loading from cache
  • Installing symfony/dotenv (v3.4.15): Loading from cache
  • Installing symfony/finder (v3.4.15): Loading from cache
  • Installing symfony/polyfill-ctype (v1.9.0): Loading from cache
  • Installing symfony/polyfill-php70 (v1.9.0): Loading from cache
  • Installing symfony/http-foundation (v3.4.15): Loading from cache
  • Installing symfony/event-dispatcher (v3.4.15): Loading from cache
  • Installing symfony/http-kernel (v3.4.15): Loading from cache
  • Installing symfony/process (v3.4.15): Loading from cache
  • Installing symfony/routing (v3.2.14): Downloading (100%)
  • Installing symfony/translation (v3.2.14): Downloading (100%)
  • Installing symfony/var-dumper (v3.4.15): Loading from cache
  • Installing symfony/yaml (v2.8.45): Loading from cache
    Generating autoload files

LibreNMS\ComposerHelper::postInstall
Illuminate\Foundation\ComposerScripts::postInstall
php artisan optimize
Generating optimized class loader
The compiled services file has been removed.

Working now?

No It doesnt work.
Also I get:
[librenms@fh-vm-noc05 ~]$ ./poller.php
LibreNMS Poller
In poller.php line 24:
Undefined index: h

The problem exists since last saturday. But there were no system changes, even daily.sh
The system didn’T collect any data since two days.

You need to specify -h on ./poller.php

OK, thanks but the main problem still exists:
no access to GUI and symfony error

I run the poller with the -h option.
It started fine but than stopped with:

Load poller module ntp

Runtime for poller module ‘ntp’: 0.0000 seconds with 0 bytes
SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [1/0.00s]

Unload poller module ntp

Module [ loadbalancers ] disabled globally.
Module [ mef ] disabled globally.
Enabling graphs: uptime netstat_snmp netstat_snmp_pkt
Polled in 33.357 seconds

Start Alerts

Rule #1 (Devices up/down): Status: NOCHG
Rule #2 (Device rebooted): Status: NOCHG
Rule #17 (cr01 Traffic-In Po6 Notification - ME): Status: NOCHG

End Alerts

In Parser.php line 288:

Unable to parse at line 18 (near “<<<<<<< HEAD”).

This seams to be the same error message as in symfony parse error

Oh, I stopped to read your error. your vendor dir is fine.

It says you have invalid yaml format in the file includes/definitions/zynos.yaml

I’m guessing you merged something into your local git master.

git reset --hard origin/master can remove those commits if you want.

Ok, that solved my problem.
But what did this exactly. I would like to understand what happend.
Thx a lot for you helping hand and time!

I’m not sure, did you test a PR from github and somehow merge it? Or perhaps made local changes and merged them?