Environment Builder

http://es.staging.aviagen.com/

dev → build

Building database aviagen_com using MySQLDatabase 10.3.35-MariaDB

Creating database tables

Creating database records

Database build completed!

[INFO]: --- Building schema "admin" ---
[INFO]: Creating new schema
[INFO]: Migrating new schema
[INFO]: Deleting temp schema
[INFO]: Total types: 72
[INFO]: Types built: 72
[INFO]: *CopyToStageInputType
[INFO]: *VersionedInputType
[INFO]: *FileUsage
[INFO]: *FileInput
[INFO]: *FolderInput
[INFO]: *File
[INFO]: *PublicationNotice
[INFO]: *DescendantFileCount
[INFO]: *Folder
[INFO]: *FileFilterInput
[INFO]: (... and 62 more)
[INFO]: Types deleted: 0
GET /dev/build/?flush=1

[Emergency] Uncaught Symfony\Component\Filesystem\Exception\IOException: Cannot rename "/tmp/admin.types.graphql4PwqN1" to "/var/www/aviagen.com/public/_graphql/admin.types.graphql": rename(/tmp/admin.types.graphql4PwqN1,/var/www/aviagen.com/public/_graphql/admin.types.graphql): Permission denied

GET /dev/build/?flush=1

Line 305 in /var/www/aviagen.com/vendor/symfony/filesystem/Filesystem.php

Source

296 
297         if (!self::box('rename', $origin, $target)) {
298             if (is_dir($origin)) {
299                 // See https://bugs.php.net/54097 & https://php.net/rename#113943
300                 $this->mirror($origin, $target, null, ['override' => $overwrite, 'delete' => $overwrite]);
301                 $this->remove($origin);
302 
303                 return;
304             }
305             throw new IOException(sprintf('Cannot rename "%s" to "%s": ', $origin, $target).self::$lastError, 0, null, $target);
306         }
307     }
308 
309     /**
310      * Tells whether a file exists and is readable.
311      *

Trace