Comments (4)
@MaddPenguin thanks for raising this issue! 🙏 Some questions:
- Is this from a clean install or did you upgrade from a previous version?
- What are the logs for the
appwrite-usage
container?
from console.
- Clean install
- No error in appwrite -usage
[26-11-2022 07:46:43] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:46:43] Aggregation took 0.18834495544434 seconds
[26-11-2022 07:47:13] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:47:13] Aggregation took 0.21986293792725 seconds
[26-11-2022 07:47:43] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:47:44] Aggregation took 0.20194101333618 seconds
[26-11-2022 07:48:14] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:48:14] Aggregation took 0.20684194564819 seconds
[26-11-2022 07:48:44] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:48:44] Aggregation took 0.19576692581177 seconds
[26-11-2022 07:49:14] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:49:14] Aggregation took 0.21519804000854 seconds
[26-11-2022 07:49:44] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:49:44] Aggregation took 0.19998693466187 seconds
[26-11-2022 07:50:14] Aggregating Timeseries Usage data every 30 seconds
[26-11-2022 07:50:15] Aggregation took 0.22066211700439 seconds
from console.
@stnguyen90 This is my appwrite-usage logs now. Issue still persist. docker-logs appwrite still the same as the old one. No logs in appwrite-worker-databases
[01-12-2022 11:03:33] Aggregating Timeseries Usage data every 30 seconds
[PDO] MySQL connection restarted
Failed: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'value' at row 1
#0 /usr/src/code/src/Appwrite/Extend/PDOStatement.php(88): PDOStatement->execute(NULL)
#1 /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php(722): Appwrite\Extend\PDOStatement->execute()
#2 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(1412): Utopia\Database\Adapter\MariaDB->updateDocument('stats', Object(Utopia\Database\Document))
#3 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(427): Utopia\Database\Database->updateDocument(Object(Utopia\Database\Document), '4b413054c0cfe4d...', Object(Utopia\Database\Document))
#4 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(503): Appwrite\Usage\Calculators\TimeSeries->createOrUpdateMetric('1', '2022-12-01T00:0...', '1d', 'files.$637efd79...', -85922, 0)
#5 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(528): Appwrite\Usage\Calculators\TimeSeries->syncFromInfluxDB('files.$bucketId...', Array, Array)
#6 /usr/src/code/app/tasks/usage.php(132): Appwrite\Usage\Calculators\TimeSeries->collect()
#7 /usr/src/code/vendor/utopia-php/cli/src/CLI/Console.php(208): {closure}()
#8 /usr/src/code/app/tasks/usage.php(137): Utopia\CLI\Console::loop(Object(Closure), 30)
#9 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(233): {closure}()
#10 /usr/src/code/app/cli.php(32): Utopia\CLI\CLI->run()
#11 {main}
[PDO] MySQL connection restarted
Failed: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'value' at row 1
#0 /usr/src/code/src/Appwrite/Extend/PDOStatement.php(88): PDOStatement->execute(NULL)
#1 /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php(722): Appwrite\Extend\PDOStatement->execute()
#2 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(1412): Utopia\Database\Adapter\MariaDB->updateDocument('stats', Object(Utopia\Database\Document))
#3 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(427): Utopia\Database\Database->updateDocument(Object(Utopia\Database\Document), 'a3dd0d087b20f3c...', Object(Utopia\Database\Document))
#4 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(503): Appwrite\Usage\Calculators\TimeSeries->createOrUpdateMetric('1', '2022-12-01T00:0...', '1d', 'files.637efd79b...', -85922, 0)
#5 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(528): Appwrite\Usage\Calculators\TimeSeries->syncFromInfluxDB('files.bucketId....', Array, Array)
#6 /usr/src/code/app/tasks/usage.php(132): Appwrite\Usage\Calculators\TimeSeries->collect()
#7 /usr/src/code/vendor/utopia-php/cli/src/CLI/Console.php(208): {closure}()
#8 /usr/src/code/app/tasks/usage.php(137): Utopia\CLI\Console::loop(Object(Closure), 30)
#9 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(233): {closure}()
#10 /usr/src/code/app/cli.php(32): Utopia\CLI\CLI->run()
#11 {main}
[01-12-2022 11:03:34] Aggregation took 0.49070191383362 seconds
[01-12-2022 11:04:04] Aggregating Timeseries Usage data every 30 seconds
[PDO] MySQL connection restarted
Failed: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'value' at row 1
#0 /usr/src/code/src/Appwrite/Extend/PDOStatement.php(88): PDOStatement->execute(NULL)
#1 /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php(722): Appwrite\Extend\PDOStatement->execute()
#2 /usr/src/code/vendor/utopia-php/database/src/Database/Database.php(1412): Utopia\Database\Adapter\MariaDB->updateDocument('stats', Object(Utopia\Database\Document))
#3 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(427): Utopia\Database\Database->updateDocument(Object(Utopia\Database\Document), '4b413054c0cfe4d...', Object(Utopia\Database\Document))
#4 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(503): Appwrite\Usage\Calculators\TimeSeries->createOrUpdateMetric('1', '2022-12-01T00:0...', '1d', 'files.$637efd79...', -85922, 0)
#5 /usr/src/code/src/Appwrite/Usage/Calculators/TimeSeries.php(528): Appwrite\Usage\Calculators\TimeSeries->syncFromInfluxDB('files.$bucketId...', Array, Array)
#6 /usr/src/code/app/tasks/usage.php(132): Appwrite\Usage\Calculators\TimeSeries->collect()
#7 /usr/src/code/vendor/utopia-php/cli/src/CLI/Console.php(208): {closure}()
#8 /usr/src/code/app/tasks/usage.php(137): Utopia\CLI\Console::loop(Object(Closure), 30)
#9 /usr/src/code/vendor/utopia-php/cli/src/CLI/CLI.php(233): {closure}()
#10 /usr/src/code/app/cli.php(32): Utopia\CLI\CLI->run()
#11 {main}
[PDO] MySQL connection restarted
Failed: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'value' at row 1
#0 /usr/src/code/src/Appwrite/Extend/PDOStatement.php(88): PDOStatement->execute(NULL)
#1 /usr/src/code/vendor/utopia-php/database/src/Database/Adapter/MariaDB.php(722): Appwrite\Extend\PDOStatement->execute()```
from console.
@MaddPenguin this looks like a duplicate of appwrite/appwrite#4751. If so, would you please close this and 👍🏼 the other issue?
from console.
Related Issues (20)
- 🐛 Bug Report: Can't select runtime (python, phd, node) in self-hosted appwrite function template HOT 6
- 🐛 Bug Report: Cloud Shows Underscores & Period are Allowed Characters for Project IDs HOT 6
- 🐛 Bug Report: Retry Option Shown For Verified Domains HOT 1
- 🐛 Bug Report: Placeholder Shown in the Allowed File Extensions Input HOT 4
- 🐛 Bug Report: null notification when creating a project
- 🐛 Bug Report: Can't close migration modal HOT 1
- 🐛 Bug Report: Cannot Delete Org.
- 🐛 Bug Report: Project creates two times HOT 3
- 🐛 Bug Report: Adding Invalid Domain to Function Doesn't Throw an Error HOT 7
- 🐛 Bug Report: Character count covers "Add item" button HOT 4
- 🐛 Bug Report: Some items in the search dialog don't work HOT 6
- 🐛 Bug Report: Bucket Ui Alignment issue
- 🐛 Bug Report: Organization deletion does not work HOT 2
- Remove support illustration HOT 6
- 🐛 Bug Report: Language indicator can cover wizard footer HOT 1
- 🐛 Bug Report: Scrollbar shows as white in dark mode HOT 8
- 🚀 Enhancement: [Upload] button for Storage File View to update content HOT 3
- 🐛 Bug Report: Tooltip is transparent
- 🐛 Bug Report: Not enough padding for danger cards HOT 3
- 🐛 Bug Report: Filters overlaying in console in database in large screen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from console.