Closed ObadaS closed 5 months ago
For problem 1: You are 100% right Obadas: At some point in time, the file existed in the storage and an analytics snapshot run. but some time after this file was deleted from the storage and the database was not aware of that (meaning the file path remained in the db). To handle that I proposed a PR (#1454 ) that catches those type of error directly inside the save()
method of all objects that can be saved in the storage
For Problem 2: It was simply the wrong date that was sent from the backend to the frontend. Here is a PR that fixes it: #1461
Hello, I have 2 problems related to Storage Analytics to report.
Problem 1:
There seems to be a problem with the Storage Analytics function.
When the function is run, it fails immediately with the following error :
The function works well on the test server, but fails on the production server. My quick Google search makes me think the problem is related to an Object in the Bucket that does not exist anymore.
Problem 2:
There also seem to be a problem with the dates shown in the different tabs of the Storage Analytics window. The date shown on the Usage History tab is conflicting with the date shown on the Competitions Usage and the Users Usage tabs.
The same happens on the test server, at least when the function is run manually, the date is the same, but the time is different (the time for the Competitions Usage and the Users Usage tabs is shown to be before the function was run, which is impossible)
The correct time is shown on the Usage History tab.