Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to create folders in OctoPrint Web Console #1671
What were you doing?
I was attempting to create a new folder under the 'Files' section of the OctoPrint web application. I have tried multiple names for the folder including 'toys', 'Toys', 'toys2', 'Animals', 'animals'.
I have also tried deleting folders that I have had successfully created in the past and re-creating folders without success.
What did you expect to happen?
I expected the folders to be created as they have successfully been in the past.
What happened instead?
There was no confirmation of the folder being created and the folder does not appear in the list.
Branch & Commit or Version of OctoPrint
Printer model & used firmware incl. version
Monoprice Maker Select v2.1
Browser and Version of Browser, Operating System running Browser
Browser: Chrome Version 55.0.2883.87 m (64-bit)
Operating System: Windows 10 Enterprise 64-bit Anniversary Edition
Link to octoprint.log
octoprint.log Pastebin link:
Link to contents of terminal tab or serial.log
Terminal Log pastebin link:
Screenshot(s) showing the problem:
Screenshot showing my steps to reproduce:
Step 1 - Click to create folder: https://i.imgur.com/TJzdSJW.png
[If applicable. Always include if unsure or reporting UI issues.]
I have read the FAQ.
I was about to comment and say creating the folders works fine here using those steps (using the maintenance branch) then saw this. Why is that even an option? I mean I get it, you don't want empty folders cluttering up the UI but as soon as you create a folder it's going to be empty and thus invisible. Hiding successful prints I get, upload a bunch of stuff to print and as it gets finished it automatically gets hidden but why hide folders? Maybe there needs to be a notice of like "15 files (9 hidden), 3 folders (2 hidden)" somewhere in that file list just to let people know that stuff IS there, it's just hidden.
@ntoff I think you're right about the notice this would be helpful, and yes the hide empty folders filter is basically to not clutter the small files list section with empty folders.
Uhm. It isn't, for this reason actually. From a fresh upgrade to 1.3.0:
But I like the idea of a "n files (m hidden), x folders (y hidden)" display. I'm a bit at a loss though were to stuff that...
I was bitten by this as well, I had changed it to hide the folders but forgot about the setting.
Not knowing all the space restrictions/usage but above the Free/Total maybe? Could be as simple as "N hidden" if you don't want to be verbose.
Edit: Is there anyway to not hide newly created folders? That may be another option.
Too many people bitten by this combined with this sudden "uh, what value does this actually add" feeling equals removed filter.
Also I think my above comment claiming it was disabled by default was wrong (and probably falsified by some left over bits in my browser profile). Anyhow - it's gone now on
referenced this issue
Dec 3, 2017
What's interesting about this from a UI standpoint is that if—upon toggling the ShowEmptyFolders feature ON when creating a new folder—the user may suddenly see many (surprising) new (previously-empty) folders as a result of this programming.
With respect to usability, upon creating a new folder it may be worth instead just sending a notice/alert to the screen to remind them that the option is currently toggled OFF and where they may find it.
Honestly, I personally adjusted my /etc/samba/smb.conf file and then I'm able to push files to my Octoprint via Finder (OSX) using...
Cmd-K then smb://email@example.com/sharename
This seems to work quite well. It requires you to press the Refresh button within the OctoPrint -> Files area to see the update.
Should work for Windows users as well with:
net use O: charming-pascal.local /user: pi