Back

appwrite-worker-usage invalid character 'l' after object key:value pair error

  • 0
  • Self Hosted
xue
8 May, 2024, 16:14
TypeScript
root@appwrite:~# docker logs appwrite-worker-usage
...
...
[Job] Received Job (6639ff2e219529.60314462).
[2024-05-07 10:15:10.139] Aggregated 207 keys
[Job] (6639ff2e219529.60314462) successfully run.
[Job] Received Job (6639ff2ea72f19.99030829).
[Job] (6639ff2ea72f19.99030829) successfully run.
[Job] Received Job (6639ff2eaa4637.82599812).
[Job] (6639ff2eaa4637.82599812) successfully run.
[Job] Received Job (6639ff2ec9a0e5.80497407).
[Job] (6639ff2ec9a0e5.80497407) successfully run.
[Job] Received Job (6639ff2f61f8c2.45413870).
[Job] (6639ff2f61f8c2.45413870) successfully run.
[Job] Received Job (6639ff2f71ce11.13647512).
[Job] (6639ff2f71ce11.13647512) successfully run.
[Job] Received Job (6639ff2f9c66f2.04936374).
[Job] (6639ff2f9c66f2.04936374) successfully run.
[Job] Received Job (6639ff3474ae62.00767399).
[Job] (6639ff3474ae62.00767399) successfully run.
[Job] Received Job (6639ff349ac637.77227273).
[Job] (6639ff349ac637.77227273) successfully run.
[Job] Received Job (6639ff34a9ee74.95279117).
[Job] (6639ff34a9ee74.95279117) successfully run.
[Job] Received Job (6639ff34bc8461.49943745).
[Job] (6639ff34bc8461.49943745) successfully run.
[Job] Received Job (6639ff34e32498.36413117).
error from daemon in stream: Error grabbing logs: invalid character 'l' after object key:value pair
TL;DR
Developers are getting an 'invalid character' error in the appwrite-worker-usage, suspected log issue during restart. Deprecated float to int conversion error in Appwrite Doctor, mentions enough free disk space but facing issues. No solution provided yet, asking for ideas or insights from other developers. Restarted container manually, issue still persists. Server possibly restarted due to a DigitalOcean problem.
xue
8 May, 2024, 16:15

What is the possible reasons for this error ?

xue
8 May, 2024, 16:15

appwrite-worker-usage invalid character 'l' after object key:value pair error

D5
8 May, 2024, 17:08

Uh this started happening suddenly? šŸ¤”

D5
8 May, 2024, 17:09

I think the server was restarted due to a DO issue, right?

xue
8 May, 2024, 17:52

yes but after that i also manually restarted that container specifically but the same error happens

xue
8 May, 2024, 17:52
D5
8 May, 2024, 17:57

Interesting. No idea what's going on

D5
8 May, 2024, 18:57

@Steven Do you have some idea? šŸ¤”

Steven
8 May, 2024, 19:00

is your server out of disk space?

xue
8 May, 2024, 19:08

45% of disk space is available

xue
8 May, 2024, 19:08
TypeScript

root@appwrite:~/appwrite# docker compose exec appwrite doctor
  __   ____  ____  _  _  ____  __  ____  ____     __  __
 / _\ (  _ \(  _ \/ )( \(  _ \(  )(_  _)(  __)   (  )/  \
/    \ ) __/ ) __/\ /\ / )   / )(   )(   ) _)  _  )((  O )
\_/\_/(__)  (__)  (_/\_)(__\_)(__) (__) (____)(_)(__)\__/

šŸ‘©ā€āš•ļø Running Appwrite Doctor for version 1.5.5 ...

[Settings]
šŸŸ¢ Hostname has a public suffix (db.langx.io)
šŸŸ¢ CNAME target has a public suffix (db.langx.io)
šŸŸ¢ Using a unique secret key for encryption
šŸŸ¢ App environment is set for production
šŸ”“ Abuse protection is disabled
šŸŸ¢ Console access limits are enabled
šŸŸ¢ HTTPS force option is enabled
šŸŸ¢ HTTPS force option is enabled for function domains
šŸ”“ Logging adapter is disabled

Deprecated: Implicit conversion from float 0.2 to int loses precision in /usr/src/code/src/Appwrite/Platform/Tasks/Doctor.php on line 112

[Connectivity]
šŸŸ¢ Console.DB(console)...............................connected
šŸŸ¢ Projects.DB(database_db_main).....................connected
šŸŸ¢ Cache(cache_redis_main)...........................connected
šŸŸ¢ Queue(queue)......................................connected
šŸŸ¢ PubSub(pubsub)....................................connected
šŸŸ¢ SMTP..............................................connected

Deprecated: Implicit conversion from float 0.2 to int loses precision in /usr/src/code/src/Appwrite/Platform/Tasks/Doctor.php on line 197

[Volumes]
šŸŸ¢ Uploads Volume is readable
šŸŸ¢ Uploads Volume is writeable
šŸŸ¢ Cache Volume is readable
šŸŸ¢ Cache Volume is writeable
šŸŸ¢ Config Volume is readable
šŸŸ¢ Config Volume is writeable
šŸŸ¢ Certs Volume is readable
šŸŸ¢ Certs Volume is writeable

Deprecated: Implicit conversion from float 0.2 to int loses precision in /usr/src/code/src/Appwrite/Platform/Tasks/Doctor.php on line 225

[Disk Space]
šŸŸ¢ Uploads Volume has 23.23GB free space (55.19% used)
šŸŸ¢ Cache Volume has 23.23GB free space (55.19% used)
šŸŸ¢ Config Volume has 23.23GB free space (55.19% used)
šŸŸ¢ Certs Volume has 23.23GB free space (55.19% used)

Failed to check for a newer version

root@appwrite:~/appwrite#
xue
8 May, 2024, 19:10

Deprecated: Implicit conversion from float 0.2 to int loses precision in /usr/src/code/src/Appwrite/Platform/Tasks/Doctor.php on line 225 when i checked the free space by using Appwrite Doctor found new issue here lol

xue
8 May, 2024, 19:20

interesting šŸ§ but i have enough free spaces @Steven

Steven
8 May, 2024, 19:59

have you tried recreating that container? maybe something happened during the restart and a log entry was partially written making it malformed

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