ericswpark
After restarting Appwrite on Docker Compose, I'm now getting 404 errors on the console. The logs have a repeat of this:
TypeScript
appwrite-usage | Failed: Query has failed: database not found: telegraf
appwrite-usage | #0 /usr/src/code/vendor/influxdb/influxdb-php/src/InfluxDB/Database.php(78): InfluxDB\Client->query('telegraf', 'SELECT sum(valu...', Array)
appwrite-usage | #1 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(499): InfluxDB\Database->query('SELECT sum(valu...')
appwrite-usage | #2 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(549): Appwrite\Usage\Calculators\TimeSeries->syncFromInfluxDB('project.$all.co...', Array, Array)
appwrite-usage | #3 /usr/src/code/src/Appwrite/Platform/Tasks/Usage.php(53): Appwrite\Usage\Calculators\TimeSeries->collect()
appwrite-usage | #4 /usr/src/code/vendor/utopia-php/cli/src/CLI/Console.php(219): Appwrite\Platform\Tasks\Usage->Appwrite\Platform\Tasks\{closure}()
appwrite-usage | #5 /usr/src/code/src/Appwrite/Platform/Tasks/Usage.php(58): Utopia\CLI\Console::loop(Object(Closure), 30)
appwrite-usage | #6 /usr/src/code/src/Appwrite/Platform/Tasks/Usage.php(30): Appwrite\Platform\Tasks\Usage->action(Object(Utopia\Database\Database), Object(InfluxDB\Database), Object(Utopia\Registry\Registry), Object(Closure), Object(Closure))
appwrite-usage | #7 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(320): Appwrite\Platform\Tasks\Usage->Appwrite\Platform\Tasks\{closure}(Object(Utopia\Database\Database), Object(InfluxDB\Database), Object(Utopia\Registry\Registry), Object(Closure), Object(Closure))
appwrite-usage | #8 /usr/src/code/app/cli.php(211): Utopia\CLI\CLI->run()
appwrite-usage | #9 {main}
Where is it going wrong?
TL;DR
After restarting Appwrite on Docker Compose, developers are encountering 404 errors with a "database not found: telegraf" message in the logs. The issue seems to be originating in the TimeSeries calculations. To resolve this, developers should check the database configuration and ensure that the database 'telegraf' is properly set up and accessible. Recommended threads
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...