8000 🐛 Bug Report: · Issue #3920 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

🐛 Bug Report: #3920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
mzungudev opened this issue Sep 24, 2022 · 1 comment
Closed
2 tasks done

🐛 Bug Report: #3920

mzungudev opened this issue Sep 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@mzungudev
Copy link

👟 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?

@mzungudev mzungudev added the bug Something isn't working label Sep 24, 2022
@mzungudev
Copy link
Author

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.

@appwrite appwrite locked and limited conversation to collaborators Sep 24, 2022
@stnguyen90 stnguyen90 converted this issue into discussion #3923 Sep 24, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0