irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

Could not upload files iRODS 4.3 + metalnx 2.6 #323

Closed hanytran closed 2 years ago

hanytran commented 2 years ago

Hi, thanks for your time checking my previous issues due to old versions.

I decided to run iRODS 4.3 outside docker-compose with Metalnx 2.6.0 but no file can be uploaded (even with 2.5 or 2.4 no luck). However, folders can be created.

iCommand is working fine.

Do I need to adjust anything in the metalnx settings?

Screenshot from 2022-09-09 10-51-04

korydraughn commented 2 years ago

Please check the log files for Metalnx and the iRODS server (/var/log/irods/irods.log). The logs should provide hints as to what is happening.

hanytran commented 2 years ago

Just wonder why there is nothing in it.

Screenshot from 2022-09-09 17-02-07

hanytran commented 2 years ago

In Metalnx, only one WARN, the rest is INFO Screenshot from 2022-09-09 17-08-51

korydraughn commented 2 years ago

That is surprising. I'll give it a try.

In the meantime, how did you deploy iRODS 4.3 and Metalnx?

hanytran commented 2 years ago

In a VM ubuntu 20.04,

hanytran commented 2 years ago

P/S: same behavior with iRODS 4.2.11 + Metalnx 2.6 (or 2.5 or 2.4), however this setup I used iRODS docker image and all of them are in docker compose

korydraughn commented 2 years ago

And the icommands work for the ubuntu 20 VM?

hanytran commented 2 years ago

Yes, iCommands is working fine.

korydraughn commented 2 years ago

When you attempt to upload a file, what messages appear in the Metalnx log output?

Feel free to post the log output here.

hanytran commented 2 years ago

I'll be back on Monday and let you know.

korydraughn commented 2 years ago

I just tried uploading a file using Metalnx 2.6.0 to an iRODS 4.3.0 server and it worked.

There may be some external factor that is causing the behavior you're seeing.

Seeing the log output should help track down what is happening.

hanytran commented 2 years ago

You're using the same deployment? It's just so weird to my installations.

hanytran commented 2 years ago

Or which OS/setup you're using? I will ask my organization for that and try.

korydraughn commented 2 years ago

I've been running iRODS 4.3.0 using the testing environment (docker/ubuntu 20.04/postgresql).

I've been running metalnx 2.6.0 in a separate docker container (via the docker-compose project that ships with it).

My host OS is Ubuntu 20.04.

hanytran commented 2 years ago

I've been running iRODS 4.3.0 using the testing environment (docker/ubuntu 20.04/postgresql).

I've been running metalnx 2.6.0 in a separate docker container (via the docker-compose project that ships with it).

My host OS is Ubuntu 20.04.

I picked up another VM and installed like this. Unfortunately I didn't notice that was ubuntu 22.04 and it just failed at the very first step of installing iRODS server. Will give it another try tomorrow in ubuntu 20.04. The one installed last week was removed, so I could not send you the error log.

Screenshot from 2022-09-12 11-03-02

hanytran commented 2 years ago

@korydraughn thanks for your support until now. We decided not to use metalnx in the long run, instead will build up new UI using API iRODS client. I'm closing this ticket here.

korydraughn commented 2 years ago

Sorry we couldn't make it work for you.

Let us know how your new UI turns out. Perhaps we'll see it at a future UGM.

Good luck.