Description
👟 Reproduction steps
Perform a fresh install of appwrite with following command found in documentation. with defaults for everything, port, hostname etc
docker run -it --rm
--volume /var/run/docker.sock:/var/run/docker.sock
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw
--entrypoint="install"
appwrite/appwrite:1.0.1
👍 Expected behavior
Console should be display at localhost
👎 Actual Behavior
404 not found. Docker logs on " appwrite/appwrite:1.0.1 "docker-php-entrypoi…" reveals:
Worker 17 started successfully
Worker 23 started successfully
[Setup] - Server database init started...
[Setup] - Creating metadata table: appwrite...
[Setup] - Creating collection: databases...
Fatal error: Uncaught PDOException: Unknown column '_createdAt' in 'field list' in @swoole-src/library/core/Database/PDOStatementProxy.php:64
Stack trace:
#0 /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php(518): Swoole\Database\PDOStatementProxy->__call('execute', Array)
#1 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(1337): Utopia\Database\Adapter\MariaDB->createDocument('_metadata', Object(Utopia\Database\Document))
#2 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(560): Utopia\Database\Database->createDocument(Object(Utopia\Database\Document), Object(Utopia\Database\Document))
#3 /usr/src/code/app/http.php(162): Utopia\Database\Database->createCollection('databases', Array, Array)
#4 {main}
thrown in @swoole-src/library/core/Database/PDOStatementProxy.php on line 64
[2022-09-24 14:08:48 #1.4] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Uncaught PDOException: Unknown column '_createdAt' in 'field list' in @swoole-src/library/core/Database/PDOStatementProxy.php:64
Stack trace:
#0 /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php(518): Swoole\Database\PDOStatementProxy->__call('execute', Array)
#1 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(1337): Utopia\Database\Adapter\MariaDB->createDocument('_metadata', Object(Utopia\Database\Document))
#2 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(560): Utopia\Database\Database->createDocument(Object(Utopia\Database\Document), Object(Utopia\Database\Document))
#3 /usr/src/code/app/http.php(162): Utopia\Database\Database->createCollection('databases', Array, Array)
#4 {main}
thrown in @swoole-src/library/core/Database/PDOStatementProxy.php on line 64
🎲 Appwrite version
Version 1.0.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct