Symfony panter: getting error unknown error: failed to write prefs file from facebook/webdriver

  google-chrome, php, symfony, symfony-panther

I have build a webcrawler for a client in Laravel. To accomplish this i use the symfony panter package. symfony panter
I finished developing it and have been asked to put it on the server of the client, which is where the errors occur.
It was working perfectly fine on my homestead vagrant box. Ofcourse to accomplish this I installed chrome78 on the vagrant box and used the chromedriver-bin/ from the panter package so it supports chrome78. This worked like a charm.

So as mentioned, I have to install the package on a client’s server, which is running on CentOS 7. I installed chrome on it using this tutorial:
Ofcourse, i again ran the ./ from the panter package. I now expected it to work. But I am getting the following error.

   FacebookWebDriverExceptionUnknownServerException  : unknown error: failed to write prefs file
  (Driver info: chromedriver=78.0.3904.105 (60e2d8774a8151efa6a00b1f358371b1e0e07ee2-refs/branch-heads/[email protected]{#877}),platform=Linux 2.6.32-042stab136.1 x86_64)

  at /home/tsm/domains/
    110|                 throw new ElementNotVisibleException($message, $results);
    111|             case 12:
    112|                 throw new InvalidElementStateException($message, $results);
    113|             case 13:
  > 114|                 throw new UnknownServerException($message, $results);
    115|             case 14:
    116|                 throw new ExpectedException($message, $results);
    117|             case 15:
    118|                 throw new ElementNotSelectableException($message, $results);

  Exception trace:

  1   FacebookWebDriverExceptionWebDriverException::throwException("unknown error: failed to write prefs file
  (Driver info: chromedriver=78.0.3904.105 (60e2d8774a8151efa6a00b1f358371b1e0e07ee2-refs/branch-heads/[email protected]{#877}),platform=Linux 2.6.32-042stab136.1 x86_64)", ["5c7df90c615886c0b1406dd58935e9f4"])

  2   FacebookWebDriverRemoteHttpCommandExecutor::execute(Object(FacebookWebDriverRemoteWebDriverCommand))

  Please use the argument -v to see more details.

I have seen similar posts regarding different applications. But they do not provide me with the how-to or information to fix this particular issue. If someone has an idea, could they please help me out? I will be checking on this post regularly, so if any follow-up questions need answering I will try to respond quick!

With kind regards

Source: Symfony Questions