radamar
radamar
CCConvex Community
Created by ian on 5/14/2024 in #open-source
wow that's so cool!
Hi Ian, another question: since HF Spaces are ephemeral containers unless you add external storage, I was thinking about adding a log in to HF button to sync the database to a dataset repo. Do I only need to back up convex_local_storage and convex_local_backend.sqlite3?
5 replies
CCConvex Community
Created by ian on 5/14/2024 in #open-source
wow that's so cool!
btw. this was my proxy rewrite to solve the backend.convex.cloud issue https://github.com/radames/ai-town-huggingface/blob/main/patches/vite.config.ts#L10-L14
5 replies
CCConvex Community
Created by radamar on 5/7/2024 in #support-community
Local Convex Backend on remote server?
thanks it's all resolved now!
8 replies
CCConvex Community
Created by radamar on 5/7/2024 in #support-community
Local Convex Backend on remote server?
Another potential issue is my Docker space user doesn't have root privileged access
8 replies
CCConvex Community
Created by radamar on 5/7/2024 in #support-community
Local Convex Backend on remote server?
but now I got another issue, not sure why, maybe i need to compile the backend on this remote machine?
2024-05-07T06:18:05.632469Z DEBUG common::errors: IndexWorker died

Caused by:
0: Data read or written in this mutation changed while it was being run. Consider reducing the amount of data read by using indexed queries with selective index range expressions (https://docs.convex.dev/database/indexes/).
1: Orig Error: Data read or written in this mutation changed while it was being run. Consider reducing the amount of data read by using indexed queries with selective index range expressions (https://docs.convex.dev/database/indexes/).: A call to "schema_worker_mark_valid" changed the document with ID "jg2enj9d2fa089dzg3k6s70tc56rm1tj".
(conflicts with read of system table _schemas.by_state). Use RUST_BACKTRACE=1 READ_SET_CAPTURE_BACKTRACES=true to find trace of relevant reads.

Stack backtrace:
0: anyhow::error::<impl anyhow::Error>::msg
2024-05-07T06:18:05.632494Z ERROR common::errors: Not reporting above error: Sentry is not configured
2024-05-07T06:18:05.632501Z ERROR database::index_worker: IndexWorker died, num_failures: 1. Backing off for 246ms
2024-05-07T06:18:05.632469Z DEBUG common::errors: IndexWorker died

Caused by:
0: Data read or written in this mutation changed while it was being run. Consider reducing the amount of data read by using indexed queries with selective index range expressions (https://docs.convex.dev/database/indexes/).
1: Orig Error: Data read or written in this mutation changed while it was being run. Consider reducing the amount of data read by using indexed queries with selective index range expressions (https://docs.convex.dev/database/indexes/).: A call to "schema_worker_mark_valid" changed the document with ID "jg2enj9d2fa089dzg3k6s70tc56rm1tj".
(conflicts with read of system table _schemas.by_state). Use RUST_BACKTRACE=1 READ_SET_CAPTURE_BACKTRACES=true to find trace of relevant reads.

Stack backtrace:
0: anyhow::error::<impl anyhow::Error>::msg
2024-05-07T06:18:05.632494Z ERROR common::errors: Not reporting above error: Sentry is not configured
2024-05-07T06:18:05.632501Z ERROR database::index_worker: IndexWorker died, num_failures: 1. Backing off for 246ms
8 replies
CCConvex Community
Created by radamar on 5/7/2024 in #support-community
Local Convex Backend on remote server?
amazing! smart workaround thanks! I didn't noticed it was only checking the end of the string! since I have control over the proxy, I could change that route! 👏
8 replies