Hello,
I upgraded Baserow from 1.16 to 1.25.1 and Baserow keeps crashing every few hours. I don’t know what causes it.
Upgrade was done using the intermediate image to upgrade postgres to the latest version and then upgrading to Baserow latest.
it’s running inside docker. it’s the default all in one baserow image .
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,928: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/redbeat/schedulers.py", line 466, in tick
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,928: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,928: WARNING/MainProcess] self.lock.extend(int(self.lock_timeout))
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,928: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/redis/lock.py", line 276, in extend
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,928: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,928: WARNING/MainProcess] return self.do_extend(additional_time, replace_ttl)
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/redis/lock.py", line 287, in do_extend
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] raise LockNotOwnedError("Cannot extend a lock that's no longer owned")
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] redis.exceptions
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] .
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] LockNotOwnedError
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] :
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] Cannot extend a lock that's no longer owned
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] During handling of the above exception, another exception occurred:
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] Traceback (most recent call last):
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,932: WARNING/MainProcess] File "/baserow/venv/bin/celery", line 8, in <module>
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,933: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,933: WARNING/MainProcess] sys.exit(main())
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,958: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/celery/apps/beat.py", line 77, in run
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess] self.start_scheduler()
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/celery/apps/beat.py", line 105, in start_scheduler
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess] service.start()
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/celery/beat.py", line 655, in start
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess] self.sync()
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,959: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/celery/beat.py", line 658, in sync
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess] self.scheduler.close()
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/redbeat/schedulers.py", line 482, in close
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess] self.lock.release()
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/redis/lock.py", line 253, in release
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess] self.do_release(expected_token)
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,960: WARNING/MainProcess] File "/baserow/venv/lib/python3.11/site-packages/redis/lock.py", line 259, in do_release
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,961: WARNING/MainProcess]
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,961: WARNING/MainProcess] raise LockNotOwnedError("Cannot release a lock that's no longer owned")
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,961: WARNING/MainProcess] redis.exceptions
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,961: WARNING/MainProcess] .
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,961: WARNING/MainProcess] LockNotOwnedError
[BEAT_WORKER][2024-06-25 06:47:44] [2024-06-25 06:47:44,961: WARNING/MainProcess] :
[BEAT_WORKER][2024-06-25 06:47:45] [2024-06-25 06:47:44,961: WARNING/MainProcess] Cannot release a lock that's no longer owned
2024-06-25 06:47:45,482 WARN exited: beatworker (exit status 1; not expected)
2024-06-25 06:47:45,482 WARN exited: beatworker (exit status 1; not expected)
2024-06-25 06:47:45,484 INFO spawned: 'beatworker' with pid 4230
2024-06-25 06:47:45,484 INFO spawned: 'beatworker' with pid 4230
2024-06-25 06:47:45,484 INFO reaped unknown pid 242 (exit status 0)
2024-06-25 06:47:45,484 INFO reaped unknown pid 242 (exit status 0)
Baserow was stopped or one of it's services crashed, see the logs above for more details.
[BEAT_WORKER][2024-06-25 06:47:45] OTEL_RESOURCE_ATTRIBUTES=service.namespace=Baserow,service.version=1.25.1,deployment.environment=unknown
Please help.
Thanks