GithubHelp home page GithubHelp logo

Comments (4)

stnguyen90 avatar stnguyen90 commented on June 17, 2024

@MaddPenguin thanks for raising this issue! 🙏 Some questions:

  1. Is this from a clean install or did you upgrade from a previous version?
  2. What are the logs for the appwrite-usage container?

from console.

MaddPenguin avatar MaddPenguin commented on June 17, 2024
  1. Clean install
  2. 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.

MaddPenguin avatar MaddPenguin commented on June 17, 2024

@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.

stnguyen90 avatar stnguyen90 commented on June 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.