-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Octoprint ignores folder locations #5013
Comments
That plus your logs sounds like you have not actually configured your network share as a drive but expect OctoPrint to just know how to access whatever kind of network share you have there (there are various ways to do something like that, most of which aren't understood natively by Windows even). You need to mount your NAS as a network share and assign it a drive letter, then use that in the settings and then things hopefully will work (if there are no permission issues with your NAS). Just typing in a hostname or IP there won't, and will possibly just create sub folders on your disk named the same (which seems to be what happened, based on your logs). Try the suggested solution. If that doesn't work, please seek support on the community forums (https://community.octoprint.org) or discord (https://discord.octoprint.org). |
In fact, I have 'mounted' the drive. The NAS is "mapped as a network drive", MS speak for mounting the drive, as "V:". I originally documented that using "V:" as the path for the documents doesn't work. It was suggested that I use the IP address instead of "V:", and this appeared to work. Pressing the "test" lights everything up green (which it didn't when I used "V:'), and Octoprint says this is a 'valid' path, as documented in my attached screen captures. |
The "download system package" function in Octoprint, downloads to the mapped network drive (V:) just fine. The "download system package" functions also opens the standard file browser, so that the selected destination doesn't have to be 'tested'. |
As you used my windows installer, I would look at this comment I made on another NAS based question. |
When you have tried to put an IP address in the space for a path to the drive, it has simply been interpreted as the name of a folder, because it doesn't understand that this is an IP address that it is supposed to connect to. This is why Gina thought it was not mounted on your server, because you tried to provide it an IP address not a path. Your uploads folder looks like it has been configured to be When you try and validate the path, OctoPrint tests the permissions of the path you have specified, and if it does not exist then the folder is created, if permissions allow this to occur. OctoPrint cannot function without these folders existing or being writeable, so they are created if they don't exist and reset to the default if permission change and prevent access when it starts up - you get a message stating that this has happened. OctoPrint cannot implement a Windows-native file browser to select the path that you want to configure. You are viewing it's UI through your network on a web UI, on a client device that is often not the same as the server. You could not browse to a location on the server filesystem from your client browser, which is what you are asking for. Implementing a web-based file browser is an entire project in itself, and not something that OctoPrint has scope to incorporate. Similarly, when you try to download the "systeminfo bundle" from the UI, this is handled by your browser. OctoPrint doesn't find the location to save it to from the server, your browser downloads to the file to your client. On my PC, all downloads go automatically to Please seek help on the community forums rather than opening issues on GitHub for support. It is far easier, and there are more people reading posts there that can help you better and get this working. Open a topic on the forums, or if you would rather a more real-time chat join the discord server where you can talk through your setup and we can get it running smoothly. Just not here unless you have a bug or feature request. |
Thank you for your explanation, cp2004. I understand better. I did go out of my way to obfuscate the network segment, the details of which were not necessary for the explanation, ;-*. Now I have to change it. |
It is an internal IP address. It is of no use to anyone except you, as it is only accessible internally. Don't worry about it. My internal IP addresses look exactly the same.
Please, open a topic on the forums if you would like help. |
mmhmmm. |
You are still completely misunderstanding the situation. This link you have sent is for accessing files on the same system as the browser. OctoPrint is accessed over the network, which is not the same system. You can access OctoPrint from your PC, laptop, phone, watch, TV, anything connected to your network. Your file explorer window that pops up when you click "download" on any file on any website shows locations locally on your client. If it was a location on the server, it would not be doing a particularly good job of "downloading" it. |
The problem
1)Configure Octoprint to use folders on an NAS. Although this doesn't work with the name of the NAS, it does 'appear' to work with the IP address of the NAS.
2)Upoad to SD card doesn't work, full stop.
3) Upload to "uploads" directory doesn't put the file in the uploads directory on the NAS.
4) "test" the uploads directory path with success.
5) Delete the Uploads directory on the NAS. Test uploads directory path with success.
6) Delete the Uploads directory on the computer hosting the octoprint server. Test uploads directory path with success.
Did the issue persist even in safe mode?
Yes, it did persist
If you could not test in safe mode, please state why ("currently printing" is NOT an excuse!)
No response
Version of OctoPrint
Operating system running OctoPrint
Windows 10 Home 64b WinPE
Printer model & used firmware incl. version
Elegoo Neptune 3 Pro
Browser and version of browser, operating system running browser
Firefox 125.0.3 (64-bit)
Checklist of files to include below
Additional information & file uploads
octoprint-systeminfo-20240508092540.zip
The text was updated successfully, but these errors were encountered: