You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found relatively similar errors, but all had solutions of upgrading mariadb to 10.7, which is already the version that gets picked up by fresh install.
I have also removed all containers and images from docker to have a clean slate and the error is still reproduced.
👟 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?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: