No SD -Card on website

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.

Hmm
I made the modification in the firmware, and the file size removes.

nonow I get this display

Send: M20Recv: Begin file listRecv: /ENDER-3/TEST-D~1.GCO /ENDER-3/47ACB~1.MOD/TEST/TEST-D~1.GCO /TRASHE~1/501/CCR10_~1.GCO /TRASHE~1/501/CCR10_~2.GCO /TRASHE~1/501/CCR10_~3.GCO HOUSIN~1.GCO /DRUCKA~1/ENDER_~1.GCO /DRUCKA~1/ENDER-~1.GCO DIAL_I~1.GCO VENTRI~1.GCO TOOL_H~1.GCO ZERO_D~1.GCO LI~1.GCO EINLAG~1.GCO 608ZZP~1.GCO CABLEC~1.GCO E3-COV~1.GCO FILAME~1.GCO ENDER_~1.GCO PIZERO~1.GCO TRAMMI~1.GCO DECKEL~1.GCO CR-10_~1.GCO VRAIL2~1.GCO End file listRecv: ok[...]Send: M21Recv: echo:SD card okRecv: ok

But no SD card files and Error in WEBgui sdcard not initialisiert.

The old Code:

        case LS_SerialPrint:
    /*      createFilename(filename, p);  
          SERIAL_PROTOCOL(prepend);
          SERIAL_PROTOCOL(filename);
          SERIAL_PROTOCOLCHAR(' ');  
          SERIAL_PROTOCOLLN(p.fileSize);    
          break;
    */      

Is swapped to

createFilename(filename, p);
        SERIAL_PROTOCOL(prepend);
        SERIAL_PROTOCOL(filename);
        MYSERIAL.write(' ');
        //SERIAL_PROTOCOLLN(p.fileSize);  // raus für octoprint
        break;

I'm not seeing any hard returns there. I expect each Recv: to be on its own line.

You might try a version in which instead of:

MYSERIAL.write(' ');

...it's instead:

MYSERIAL.write('\n');

I can't say that I really know Marlin but I'm looking at this code and searching throughout for LS_SerialPrint. I wish I knew what prepend is expected to be. Ah, it's the path on the card.

I'm noting that there's a preprocessor macro SERIAL_ECHOLN() which probably includes a hard return at the end of what's sent (assuming that this indicates the end of a command).

Take note of line 131: #if ENABLED(LONG_FILENAME_HOST_SUPPORT). If it were me, I'd make sure that this is enabled wherever you send in compiler flags. (Long filenames are not supported.)

Ah, wait... here's a SERIAL_EOL; macro which is likely end-of-line.

I Try this Tomorrow
Now the Printer is printing. :slight_smile: