No SD -Card on website

What is the problem?
Octoprint dont show Files on the Printer SD-Card and Upload to SD-Card is not active.
Octoprint V 1.3.9/octopi 0.15.1.
Firmware : Marlin 1.1.8

What did you already try to solve it?
M20 shows all File's in Therminal
SD-Card is selected.
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

Send: M20
Recv: Begin file list
Recv: /ENDER-3/TEST-D~1.GCO 16902701
Recv: /ENDER-3/47ACB~1.MOD/TEST/TEST-D~1.GCO 16902701
Recv: /TRASHE~1/501/CCR10_~1.GCO 2814031
Recv: /TRASHE~1/501/CCR10_~2.GCO 2542570
Recv: /TRASHE~1/501/CCR10_~3.GCO 1773076
Recv: HOUSIN~1.GCO 3676934
Recv: /DRUCKA~1/ENDER_~1.GCO 2583557
Recv: /DRUCKA~1/ENDER-~1.GCO 1421749
Recv: DIAL_I~1.GCO 4701906
Recv: VENTRI~1.GCO 2482277
Recv: TOOL_H~1.GCO 5539180
Recv: ZERO_D~1.GCO 6062417
Recv: LI~1.GCO 930320
Recv: EINLAG~1.GCO 898596
Recv: 608ZZP~1.GCO 2066765
Recv: CABLEC~1.GCO 433879
Recv: E3-COV~1.GCO 4409977
Recv: FILAME~1.GCO 684949
Recv: ENDER_~1.GCO 945825
Recv: PIZERO~1.GCO 1921842
Recv: TRAMMI~1.GCO 17631135
Recv: DECKEL~1.GCO 1440948
Recv: End file list
Recv: ok

So for a better understanding:
You have a SD card in your printer with some GCODE files on it.
In the OctoPrint terminal you call the file list of the SD card with M20.
With SD card upload support off, you do not get the file list.
With SD card upload support on you get the list as you provided in your post.

I tried here and I actually get the file list also with SD card upload support off.
The terminal is a direct connection to the printer and should only filter few of the commands you type in, so M20 should be executed by the printers firmware.

Hi Ewald
Thanks for answer
The SD-Card upload service is ON.
I press the Button "initiale SD-card "i Sd card service
The Teminal shows:
send: M21
recv: echo :SD card ok
recv: ok
and the sam when i type in command line. M21
But the upload Button is without function.
upload per drag and drop
shows local ok
sd card not initialized.

Browser is Safari

So I activated the SD card support here and it took a restart of OctoPrint to show up the SD card upload button with function.
When you click the the button, a file browser should appear.

Btw: Most users do not use the possibility to uplad a file to the SD card via Octoprint. The reason is: the file is sent to the SD card line by line with a checksum. And takes a very long time.

When you really are in need to print from SD card, it's much faster to copy the gcode file directly to the card.

Hi Ewald
i restart Octoprint many Times bu dosn works.
i make on short Video and still upload to my Dropbox.
can I upload also here?

"https://www.dropbox.com/s/p61bjd6pz0fw4zj/Octoprint.mov?dl=0"

That's wired.

So two things you can try:
A) There is an additional menu point at:
Settings -> Serial Connection -> Firmware & Protocol -> Firmware specific Settings -> More Settings -> SD-Status-Autoreporting
(Einstellungen -> Serielle Verbindung -> FIrmware & Protokoll -> Firmwarespezifische Einstellungen -> Erweiterte Einstellungen -> SD-Status-Autoreporting)
Have a look if it is checked.

B) You may provide a serial log where it can be seen if OctoPrint checks for the SD card.

You also can try to clear the cache (Strg F5)

is active

and the Log

Recv: start
Changing monitoring state from "Detecting baudrate" to "Operational"
Send: N1 M115*39
Send: N2 M21*18
Recv: echo:Marlin 1.1.8
Recv: 
Recv: echo: Last Updated: 2017-12-25 12:00 | Author: (none, default config)
Recv: echo:Compiled: Aug  5 2018
Recv: echo: Free Memory: 11699  PlannerBufferBytes: 1232
Recv: echo:V47 stored settings retrieved (614 bytes; crc 62900)
Recv: echo:  G21    ; Units in mm
Recv: echo:  M149 C ; Units in Celsius
Recv: 
Recv: echo:Filament settings: Disabled
Recv: echo:  M200 D1.75
Recv: echo:  M200 D0
Recv: echo:Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00
Recv: echo:Maximum feedrates (units/s):
Recv: echo:  M203 X500.00 Y500.00 Z5.00 E25.00
Recv: echo:Maximum Acceleration (units/s2):
Recv: echo:  M201 X3000 Y3000 Z100 E10000
Recv: echo:Acceleration (units/s2): P<print_accel> R<retract_accel> T<travel_accel>
Recv: echo:  M204 P500.00 R5000.00 T500.00
Recv: echo:Advanced: S<min_feedrate> T<min_travel_feedrate> B<min_segment_time_us> X<max_xy_jerk> Z<max_z_jerk> E<max_e_jerk>
Recv: echo:  M205 S0.00 T0.00 B20000 X20.00 Y20.00 Z0.40 E5.00
Recv: echo:Home offset:
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:Material heatup parameters:
Recv: echo:  M145 S0 H200 B62 F0
Recv: echo:  M145 S1 H240 B110 F0
Recv: echo:PID settings:
Recv: echo:  M301 P22.20 I1.08 D114.00
Recv: FIRMWARE_NAME:Marlin 1.1.8 (Github) SOURCE_CODE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Olafs Ender3 EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Recv: Cap:SERIAL_XON_XOFF:0
Recv: Cap:EEPROM:1
Recv: Cap:VOLUMETRIC:1
Recv: Cap:AUTOREPORT_TEMP:1
Recv: Cap:PROGRESS:0
Recv: Cap:PRINT_JOB:1
Recv: Cap:AUTOLEVEL:0
Recv: Cap:Z_PROBE:0
Recv: Cap:LEVELING_DATA:0
Recv: Cap:BUILD_PERCENT:0
Recv: Cap:SOFTWARE_POWER:0
Recv: Cap:TOGGLE_LIGHTS:0
Recv: Cap:CASE_LIGHT_BRIGHTNESS:0
Recv: Cap:EMERGENCY_PARSER:0
Recv: ok
Send: M115
Recv: echo:SD card ok
Send: M155 S2
Recv: ok
Send: M504
Recv: FIRMWARE_NAME:Marlin 1.1.8 (Github) SOURCE_CODE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Olafs Ender3 EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
Recv: Cap:SERIAL_XON_XOFF:0
Recv: Cap:EEPROM:1
Recv: Cap:VOLUMETRIC:1
Recv: Cap:AUTOREPORT_TEMP:1
Recv: Cap:PROGRESS:0
Recv: Cap:PRINT_JOB:1
Recv: Cap:AUTOLEVEL:0
Recv: Cap:Z_PROBE:0
Recv: Cap:LEVELING_DATA:0
Recv: Cap:BUILD_PERCENT:0
Recv: Cap:SOFTWARE_POWER:0
Recv: Cap:TOGGLE_LIGHTS:0
Recv: Cap:CASE_LIGHT_BRIGHTNESS:0
Recv: Cap:EMERGENCY_PARSER:0
Recv: ok
Send: M155 S2
Recv: ok
Recv: ok
Recv: ok
Send: M501
Recv: echo:V47 stored settings retrieved (614 bytes; crc 62900)
Recv: echo:  G21    ; Units in mm
Recv: echo:  M149 C ; Units in Celsius
Recv: 
Recv: echo:Filament settings: Disabled
Recv: echo:  M200 D1.75
Recv: echo:  M200 D0
Recv: echo:Steps per unit:
Recv: echo:  M92 X80.00 Y80.00 Z400.00 E93.00
Recv: echo:Maximum feedrates (units/s):
Recv: echo:  M203 X500.00 Y500.00 Z5.00 E25.00
Recv: echo:Maximum Acceleration (units/s2):
Recv: echo:  M201 X3000 Y3000 Z100 E10000
Recv: echo:Acceleration (units/s2): P<print_accel> R<retract_accel> T<travel_accel>
Recv: echo:  M204 P500.00 R5000.00 T500.00
Recv: echo:Advanced: S<min_feedrate> T<min_travel_feedrate> B<min_segment_time_us> X<max_xy_jerk> Z<max_z_jerk> E<max_e_jerk>
Recv: echo:  M205 S0.00 T0.00 B20000 X20.00 Y20.00 Z0.40 E5.00
Recv: echo:Home offset:
Recv: echo:  M206 X0.00 Y0.00 Z0.00
Recv: echo:Material heatup parameters:
Recv: echo:  M145 S0 H200 B62 F0
Recv: echo:  M145 S1 H240 B110 F0
Recv: echo:PID settings:
Recv: echo:  M301 P22.20 I1.08 D114.00
Recv: ok

Thank you for the log file.
So the log lists the SD card to be present.
I assume, you also cleared the cache.
It gets somehow odd to me...

Hi Ewald
Thanks for your efforts
Yes i cleared the cache and check all setups before i'm writing the help.
but the same status. the webgui dosn show the SD card-files.
the Teminal inside the webgui show the files .
probably an error in the Web surface.
I tested 3 browsers.
Safari
Firefox
Opera
all the same

I will note that in your video at 1:40 you attempt to drag-and-drop a JPG file which wouldn't be allowed, hence the grayed-out status. Try a GCODE, GCO or STL instead.

Can we assume that this is a Creality Ender 3? This wasn't otherwise mentioned. If so, it appears on the list of supported printers.

Note that the files in /TRASHE~1 would be the deleted files, for what it's worth and should probably be ignored in interfaces like this. Oddly, the firmware doesn't support long filenames which is kind of ugly.

Here is a typical response expected from an M20:

It's possible that the extra filesize attribute returned is what's causing OctoPrint grief. In theory, the serial log should indicate that it can't see any files or it had difficulty with the printer's odd interface.

Yes this is one Creality Ender 3
in the video i grab one File from my desktop to show the error message.
the same happens with one G-code file.

The terminal shows me correct sd card files over M20

Send: M20
Recv: Begin file list
Recv: /ENDER-3/TEST-D~1.GCO 16902701
Recv: /ENDER-3/47ACB~1.MOD/TEST/TEST-D~1.GCO 16902701
Recv: /TRASHE~1/501/CCR10_~1.GCO 2814031
Recv: /TRASHE~1/501/CCR10_~2.GCO 2542570
Recv: /TRASHE~1/501/CCR10_~3.GCO 1773076
Recv: HOUSIN~1.GCO 3676934
Recv: /DRUCKA~1/ENDER_~1.GCO 2583557
Recv: /DRUCKA~1/ENDER-~1.GCO 1421749
Recv: DIAL_I~1.GCO 4701906
Recv: VENTRI~1.GCO 2482277
Recv: TOOL_H~1.GCO 5539180
Recv: ZERO_D~1.GCO 6062417
Recv: LI~1.GCO 930320
Recv: EINLAG~1.GCO 898596
Recv: 608ZZP~1.GCO 2066765
Recv: CABLEC~1.GCO 433879
Recv: E3-COV~1.GCO 4409977
Recv: FILAME~1.GCO 684949
Recv: ENDER_~1.GCO 945825
Recv: PIZERO~1.GCO 1921842
Recv: TRAMMI~1.GCO 17631135
Recv: DECKEL~1.GCO 1440948
Recv: CR-10_~1.GCO 3392283
Recv: End file list

Yes, your printer is showing you a list of files... only it's also including a filesize variable which is likely not expected by OctoPrint.

If your printer can handle it, try printing from the microSD card that's on the Raspberry Pi.

Hmm
I write the SD card on mac. is there a formatting to consider there? the Ender can read and print it

The problem isn't the SD card or its format.

The problem is the firmware running on your printer. When asked for a list of files with that M20 command, it returns more than just the filename.

Yes, it gives the Dos filename (8 letters for the name and the extension shortened to 3 letters) and the file size in bytes.
Marlin firmware on Prusa MK2S does the same

OK.

I made and of the firmware modifications yesterday. SD card in the half speed mode. same problem I will then look at myself times storage on the SD-card.

But the firmware is a Marlin 1.1.8 which on many types of printer runs.

There appears to be an outstanding issue regarding M20 being broken on the Prusa and another as well. Maybe this suggests that updating the Prusa's firmware could work and that having the filesize there is okay.