onyxia icon indicating copy to clipboard operation
onyxia copied to clipboard

S3 bucket synchronization

Open nashugame opened this issue 1 year ago • 12 comments

Facing an issue with synchronisation of uploaded data done via CLI/application with S3 interface of the Onyxia. Data is uploaded on S3, is accessible through CLI/application but is not viewable from my-files interface of the Onyxia.

nashugame avatar May 26 '23 08:05 nashugame

can you send us the error message when you browse file from onyxia-web ? There is no synchronisation.. Onyxia-web just send S3 request to data storage so you should be able to see what's going wrong in network exchange

fcomte avatar May 26 '23 08:05 fcomte

There is no error as such. It's just that If I upload something on S3 bucket via program/CLI, the same content is not reflected on my-files UI interface of Onyxia. Though the content is there in S3 if I try to access it using program/CLI. Screenshot from 2023-05-26 15-05-54 Screenshot from 2023-05-26 15-06-26

nashugame avatar May 26 '23 09:05 nashugame

Hi @nashugame,

The web UI dosen't suscribe to S3 events yet.
Right now you have to hit the refresh button to see the changes.

garronej avatar May 26 '23 12:05 garronej

Hello @garronej , I had already tried the refresh button to see the changes, but it's not working. It's working only for the data uploaded via Onyxia UI not for the one done via CLI/program.

nashugame avatar May 26 '23 13:05 nashugame

Is that so? And is you refresh the page?

garronej avatar May 26 '23 13:05 garronej

Yup, tried both refresh button as well as refreshing the webpage

nashugame avatar May 26 '23 13:05 nashugame

maybe a problem related to the other bug... maybe we doesn't not use region information in the web browser

fcomte avatar May 26 '23 13:05 fcomte

can you send us the S3 response to the OnyxiaWeb call to Amazon S3 service ? (the request who list the bucket)

fcomte avatar May 26 '23 13:05 fcomte

Screenshot from 2023-05-26 19-09-59

nashugame avatar May 26 '23 13:05 nashugame

how did you upload this file ? with UI ... do you see it inside a jupyter or vscode ?

fcomte avatar May 26 '23 13:05 fcomte

Yup, uploaded using UI. Able to access the uploaded stuff inside jupyter/vscode using CLI but not the vice-versa.

nashugame avatar May 26 '23 13:05 nashugame

this is so strange .. I have no idea at the moment

fcomte avatar May 26 '23 13:05 fcomte