Back

Unable to create new projects

  • 0
  • Self Hosted
xmaniaxz
4 Jan, 2025, 12:12

I can't seem to be able to make a new project. Gives me the error in image:

I did update recently. Could that be the cause of this?

TL;DR
Developers are having trouble creating new projects after updating. They are encountering errors related to the document structure and logging provider. The solution involves migrating from version 1.5.1 to 1.5.11, running migration commands, then moving to version 1.6.0 to run further migration commands. The issue might be related to the recent update causing the errors.
xmaniaxz
4 Jan, 2025, 12:14

Joined with this error in docker log:

Failed to initialize logging provider: Unable to parse DSN: scheme is required [Error] Timestamp: 2025-01-04T12:12:19+00:00 [Error] Method: POST [Error] URL: /v1/projects [Error] Type: Utopia\Database\Exception\Structure [Error] Message: Invalid document structure: Unknown attribute: "accessedAt" [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php [Error] Line: 3216

D5
4 Jan, 2025, 12:21

Yes, probably due to the update

D5
4 Jan, 2025, 12:21

From what version to what version do you have updated?

xmaniaxz
4 Jan, 2025, 12:26

0.5.1

xmaniaxz
4 Jan, 2025, 12:26

to latest

xmaniaxz
4 Jan, 2025, 12:27

considering it was on 0.5.1 i though it would work but apparently not. Fortunately I have made a backup

D5
4 Jan, 2025, 12:32

You mean 1.5.1, right?

D5
4 Jan, 2025, 12:33

You need to go to 1.5.11 previously, run the migration command and then go to 1.6.0 and run the migration command

xmaniaxz
4 Jan, 2025, 12:34

i mean 1.5.1 yeah. Gotcha though. I will do that then.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more