sudo: unable to resolve host machinex: Name or service not known sudo: unable to resolve host machinex: Name or service not known sudo: unable to resolve host machinex: Name or service not known sudo: unable to resolve host machinex: Name or service not known sudo: unable to resolve host machinex: Name or service not known sudo: unable to resolve host machinex: Name or service not known
Note: I’m user root on this server!
(Of course the application is not reachable via web browser.)
I’ve done further investigations and solved two “sub problems”:
the unable to resolve host was due missing entry in /etc/hosts file
setfilepermissions itself does not set users and acls due to missing linux package “acl”
But the major problem with “… is not autoloadable …” persists.
May be this is the initial failure:
- Installing neos/composer-plugin (2.1.3): Extracting archive
Class Neos\Flow\Composer\InstallerScripts is not autoloadable, can not call post-package-install script
- Installing behat/gherkin (v4.16.1): Extracting archive
- Installing symfony/process (v8.0.5): Extracting archiv
[...]
- Installing phpunit/phpunit (9.6.34): Extracting archive
Class Neos\Flow\Composer\InstallerScripts is not autoloadable, can not call post-package-install script
Does this really cause errors in your installed Flow-Application? Or just the message while installation?
We’ve got these errors in our build-pipelines about 200-300 times. Composer tries to hit the InstallerScripts of Flow-Framework for every package it installs and this “Error” (more like a warning) occurs for every Package which is installed before the InstallerScripts are installed and callable.
In our case, composer also throws these messages. Nevertheless everything is installed well and works perfectly.