Back

[SOLVED] Upgrade issue: influxDB data loss and 'schedule' from functions: Attribute already exists

  • 0
  • Self Hosted
D5
3 Jan, 2024, 19:22

After migrating everything successfully in a machine to test, some data from influx seems to have been lost. While running the migration command everything went fine but this error/warning came: 'schedule' from functions: Attribute already exists

Images:

  1. Production server (how it should look after upgrade)
  2. Test server after upgrade

Upgrade from 1.3.8 to 1.4.13. Both machines in ubuntu server

TL;DR
Title: [SOLVED] Upgrade issue: influxDB data loss and 'schedule' from functions: Attribute already exists There was an upgrade from 1.3.8 to 1.4.13 on Ubuntu server. After the migration, some data from influxDB was lost and an error/warning "schedule from functions: Attribute already exists" appeared. The root cause is not fully identified, but it seems to be related to issues with the Ubuntu server. No solution provided in the thread.
D5
3 Jan, 2024, 19:23

I think there was some time ago some similar issue with influx on cloud, where stats stoped working?

D5
3 Jan, 2024, 19:28

Influxdb container logs:

Drake
3 Jan, 2024, 20:13

usage stats are all over the place though...

Drake
3 Jan, 2024, 20:14

cloud has a fix for the stats

D5
3 Jan, 2024, 20:15

But why did a part just disappear after migration?

Drake
3 Jan, 2024, 20:53

usage data was sort of broken for a while on cloud..i wonder if that's related...i can't remember what the fix was

D5
3 Jan, 2024, 20:58

No idea then, It's like the data just disappeared. Probably some part of my magic ability of crashing things involuntarily <:appwritemagic:946072213465993256>

D5
3 Jan, 2024, 20:59

In fact for a moment it appeared right after console update but disappeared

D5
3 Jan, 2024, 21:00

No idea. Anyways they're not very useful. This error/warn: 'schedule' from functions: Attribute already exists is something important or that I should fear?

Drake
3 Jan, 2024, 21:00

this is related to function scheduling for cron. It's probably fine

D5
3 Jan, 2024, 21:01

Hope yes 🤞

Drake
3 Jan, 2024, 21:01

how old is this instance?

Drake
3 Jan, 2024, 21:02

what's in your telegraf logs?

D5
3 Jan, 2024, 21:02

Created today and imported from backup

D5
3 Jan, 2024, 21:02

If you mean the production instance, like 4 months

D5
3 Jan, 2024, 21:02

Basically short prior to 1.3.8 release

D5
4 Jan, 2024, 10:36

I don't see any errors there. Everything looks fine

Drake
4 Jan, 2024, 19:49

ok not the same as the cloud problem then..

Drake
4 Jan, 2024, 19:50

any errors in the usage worker?

D5
4 Jan, 2024, 19:51

Nope, only aggregation success

D5
4 Jan, 2024, 19:58

I'm closing this since It's not important at all.

D5
8 Jan, 2024, 16:31

Seems the Ubuntu server wasn't working correctly and caused the issue. Marking this as closed since the root cause isn't 100% identified

D5
8 Jan, 2024, 16:31

[SOLVED] Upgrade issue: influxDB data loss and 'schedule' from functions: Attribute already exists

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