Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Unable to upload files to asset directories
-
Hi,
I seem to be having problems uploading files to our asset directories in proget.
When uploading files, I can see them appear in our NFS storage, but on the web it gets stuck on processing and fails.I've checked the logs and enabled more detailed logging, but I can't see anything obvious. I tried setting permissions to 777 without success.
Any ideas on how to fix this? I'm running version 2024.26 (Build 5) with SQL Express.
Thanks
-
Forgot to add:
This is on ubuntu using docker compose.
I can upload to other feeds without problems
-
Hi @layfield_8963 ,
I would check under Admin > Diagnostic Center for errors, as well as your browser console.
I would also use
pgutil assets upload
to work directly with the API and see if you can get any clues on what the underlying error is:
https://docs.inedo.com/docs/proget/reference-api/proget-api-assets/file-endpoints/proget-api-assets-files-uploadMost commonly, it's a antivirus/indexing tool that is locking/blocking the file, but the error message you see will help identify it further.
Cheers,
Alana
-
Hi,
Using the cli tool worked without any problems
ProGet doesn't throw up any errors internally. The log shows the file was uploaded successfully and then nothing on the processing side.
Here is a snip of the console log when attempting to upload.
-
Hi @layfield_8963,
Based on your console output, it looks like there may be something manipulating the response back. I performed a few quick checks on ProGet 2024.26 and I was able to upload to an Asset Directory without issue. The CLI and the UI use a slightly different mechanism for uploading files. The biggest difference is that the UI uses a specific multi-part upload API specific to our upload control. Do you have a proxy or load balancer sitting between your computer and ProGet?
Thanks,
Dan
-
Hi,
I was going directly to the ProGet server.
I did some testing and I think it doesn't like the NFS storage. When I pointed it to the local storage on the machine the upload worked instantly.
I assume using a NFS storage back-end should work fine? I'll try do some more digging.
-
Hi @layfield_8963,
NFS storage is supported and used by many users. I'm surprised changing that would fix it, especially since the CLI worked and the backend storage would not be different between the two. I will do some testing in our labs on this as well.
Thanks,
Dan
-
Hi all!
We've managed to solve this problem amongst ourselves.
It looks like our setup for NFS was wrongly configured which unfortunately caused some weird issues with ProGet that have since been solved
.
Many thanks for all your help.
-
@layfield_8963 great news, that was a really strange error. The UI upload uses some kind of chunking and file appending, so it sounds like that was it.