Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

🐛 Bug Report: Server Error (500) and "Unknown attribute: 'owner'" when adding custom domain in self-hosted Appwrite #9935

Copy link
Copy link
Open
@MeghdadHadidi

Description

@MeghdadHadidi
Issue body actions

👟 Reproduction steps

  • Go to Appwrite Console.
  • Navigate to Project > Domains.
  • Attempt to add a custom domain (e.g., mydomain.com).
  • Sometimes get a 500 Server Error or 400 error ("This domain is not allowed...").
  • Observe error in Docker logs as above.

Here's the error detail:

Utopia\Database\Exception\Structure: Invalid document structure: Unknown attribute: "owner"
File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
Line: 3653

I also attached a screenshot from docker logs of the running appwrite service

Image

👍 Expected behavior

Custom domain should be added, or clear validation message if domain is not allowed, but should not throw an "Unknown attribute: 'owner'" error or cause a 500 internal server error.

👎 Actual Behavior

When I try to add a custom domain in my self-hosted Appwrite instance (via the Console UI), I sometimes receive a 500 Server Error for some domains, or a 400 error stating "This domain is not allowed..." for others.

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

  • Appwrite version: 1.7.4 (the same with 1.7.0)
  • Deployment: Self-hosted (Docker)
  • OS: Ubuntu 24.04

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.