i’ve just upgraded our sentry to 8.15.0 and while i checked the config i noticed it still had /tmp/sentry-files configured as file storage.
as tmp get wiped on reboots this results in these errors:
IOError: [Errno 2] No such file or directory: u’/tmp/sentry-files/16997/42277/c38da9cac6e44e1fa318bc9928a991d3’
so i changed the storage to a permanent path and let the user reupload his avatar, which resulted in this error:
IntegrityError(‘duplicate key value violates unique constraint “sentry_fileblob_checksum_key”\nDETAIL: Key (checksum)=(4f94421ced6fb5ed2203dd78eb4607d6deb2f97b) already exists.\n’,) SQL: INSERT INTO “sentry_fileblob” (“path”, “size”, “checksum”, “timestamp”) VALUES (%s, %s, %s, %s) RETURNING “sentry_fileblob”.“id”
while this has no impact on working with sentry, i like to keep my error log clean
any ideas how to fix this?