Ubuntu - Apache / Php -> Fehler bei Aufruf von contao/install
Hallo,
folgendes habe ich getan:
Ubuntu Server mit Apache und PHP + MYSQL
Contao Manager zeigt keine Probleme
Verzeichnis verwerweise auf mapneu/public
Installation via composer create
composer create-project --no-dev contao/managed-edition:4.13 /var/www/mapneu
Aufruf von domain.de/contao/install zeigt
Code:
Not Found
The requested URL was not found on this server.
Apache/2.4.52 (Ubuntu) Server at domain.de Port 443
Aufruf via https://domain.de/app.php/contao/install -> Weiße Seite
Error-Log sagt:
Code:
[Fri Aug 02 08:14:51.360468 2024] [php:error] [pid 32289] [client 130.1.116.33:54970] PHP Fatal error: Uncaught Symfony\\Component\\Filesystem\\Exception\\IOException: Cannot rename "/tmp/jwt_secretH4jZ6j" to "/var/www/html/mapneu/var/jwt_secret": rename(/tmp/jwt_secretH4jZ6j,/var/www/html/mapneu/var/jwt_secret): Permission denied in /var/www/html/mapneu/vendor/symfony/filesystem/Filesystem.php:308\nStack trace:\n#0 /var/www/html/mapneu/vendor/symfony/filesystem/Filesystem.php(696): Symfony\\Component\\Filesystem\\Filesystem->rename()\n#1 /var/www/html/mapneu/vendor/contao/manager-bundle/src/HttpKernel/JwtManager.php(46): Symfony\\Component\\Filesystem\\Filesystem->dumpFile()\n#2 /var/www/html/mapneu/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(252): Contao\\ManagerBundle\\HttpKernel\\JwtManager->__construct()\n#3 /var/www/html/mapneu/public/index.php(42): Contao\\ManagerBundle\\HttpKernel\\ContaoKernel::fromRequest()\n#4 /var/www/html/mapneu/public/app.php(13): require('...')\n#5 {main}\n thrown in /var/www/html/mapneu/vendor/symfony/filesystem/Filesystem.php on line 308
[Fri Aug 02 08:14:52.140271 2024] [php:error] [pid 32290] [client 130.1.116.33:54972] PHP Fatal error: Uncaught Symfony\\Component\\Filesystem\\Exception\\IOException: Cannot rename "/tmp/jwt_secretD9yPDc" to "/var/www/html/mapneu/var/jwt_secret": rename(/tmp/jwt_secretD9yPDc,/var/www/html/mapneu/var/jwt_secret): Permission denied in /var/www/html/mapneu/vendor/symfony/filesystem/Filesystem.php:308\nStack trace:\n#0 /var/www/html/mapneu/vendor/symfony/filesystem/Filesystem.php(696): Symfony\\Component\\Filesystem\\Filesystem->rename()\n#1 /var/www/html/mapneu/vendor/contao/manager-bundle/src/HttpKernel/JwtManager.php(46): Symfony\\Component\\Filesystem\\Filesystem->dumpFile()\n#2 /var/www/html/mapneu/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(252): Contao\\ManagerBundle\\HttpKernel\\JwtManager->__construct()\n#3 /var/www/html/mapneu/public/index.php(42): Contao\\ManagerBundle\\HttpKernel\\ContaoKernel::fromRequest()\n#4 /var/www/html/mapneu/public/app.php(13): require('...')\n#5 {main}\n thrown in /var/www/html/mapneu/vendor/symfony/filesystem/Filesystem.php on line 308
Jemand ne Idee warum Permission Denied für den Apache?