Skip to content
Back

URL Shortener Template does not work

  • 0
  • Self Hosted
  • Databases
  • Web
Calax
1 Nov, 2024, 19:08

I am self hosting Appwrite and wanted to get the URL Shortener to work. Aside from some general errors (Wrong Scopes in the Template, Build Script needs to be manually adjusted to also include npm run setup), the template cannot establish a connection to the Database.

Does anyone have an idea what's missing? I am kinda expecting this to work without so much manual intervention.

TL;DR
Title: URL Shortener Template issues with Appwrite self-hosting Developers are facing issues with the URL Shortener Template on a self-hosted Appwrite setup. The problem involves incorrect scopes in the function creation options and a missing "npm run setup" call in the build script. Additionally, the template fails to connect to the database. To resolve this, developers should review and correct the scopes in the function creation options, include "collection"-scopes, update the build script to include "npm run setup," and troubleshoot the database connection issue.
Calax
1 Nov, 2024, 19:08

URL Shortener Template does not work

Calax
1 Nov, 2024, 19:16

These are the only options to set in the Function creation. The scopes are missing the "collection"-scopes, and the build script is missing a "&& npm run setup" call.

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