I replaced the docker compose file I obtained from https://appwrite.io/install/compose and I ran a docker compose up -d --remove-orphans
and it updated the containers.
When I tried to login, I got a server error. The appwrite logs show the following: `
2024-03-08T18:01:23.700072369Z [Setup] - Server database init started... 2024-03-08T18:01:23.700107036Z [Setup] - Creating database: appwrite... 2024-03-08T18:01:23.743469536Z [Setup] - Server database init completed... 2024-03-08T18:01:23.743497962Z Server started successfully (max payload is 6,291,456 bytes) 2024-03-08T18:01:23.743501999Z Master pid 1, manager pid 7 2024-03-08T18:01:55.717961307Z Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /usr/src/code/src/Appwrite/Auth/Auth.php on line 393 2024-03-08T18:01:55.718006918Z 2024-03-08T18:01:55.718013161Z Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /usr/src/code/src/Appwrite/Auth/Auth.php on line 393 2024-03-08T18:01:55.721683506Z [Error] Timestamp: 2024-03-08T18:01:55+00:00 2024-03-08T18:01:55.721694973Z [Error] Method: POST 2024-03-08T18:01:55.721708108Z [Error] URL: /v1/account/sessions/email 2024-03-08T18:01:55.721711387Z [Error] Type: TypeError 2024-03-08T18:01:55.721714203Z [Error] Message: count(): Argument #1 ($value) must be of type Countable|array, null given 2024-03-08T18:01:55.721717223Z [Error] File: /usr/src/code/app/controllers/shared/api.php 2024-03-08T18:01:55.721720168Z [Error] Line: 292`
hm reading general it seems I forgot to run a migration... let me check
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...