Update Failed - Version 1.6.1 > 1.7.3

What is the problem?

After a long period (around 18 months) if inactivity. I fired up my printer & tried to update octoprint to the latest version but it keeps failing.
FYI Connection to printer seems ok

What did you already try to solve it?

Checked logs but I cant decipher where the problem lies.

Have you tried running in safe mode?

Tried to update in safe mode but didnt work either

Did running in safe mode solve the problem?

No

Systeminfo Bundle

browser.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
connectivity.connection_check: 1.1.1.1:53
connectivity.connection_ok: true
connectivity.enabled: true
connectivity.online: true
connectivity.resolution_check: octoprint.org
connectivity.resolution_ok: true
env.hardware.cores: 4
env.hardware.freq: 1200
env.hardware.ram: 917016576
env.os.bits: 32
env.os.id: linux
env.os.platform: linux2
env.plugins.pi_support.model: Raspberry Pi 3 Model B Rev 1.2
env.plugins.pi_support.octopi_version: 0.17.0
env.plugins.pi_support.throttle_state: 0x50000
env.python.pip: 19.3.1
env.python.version: 2.7.16
env.python.virtualenv: true
octoprint.safe_mode: false
octoprint.version: 1.6.1
printer.firmware: Marlin Ver 1.0.2
systeminfo.generator: systemapi

Additional information about your setup

OctoPrint version 1.6.1, OctoPi version Version 0.17.0, running on Raspberry Pi 3 Model B Rev 1.2, printer Ender 3 V2, firmware 1.0.2, browser Chrome, operating system W10
plugin_softwareupdate_console (3).log (301.6 KB)
octoprint (3).log (136.7 KB)
plugin_pluginmanager_console (2).log (1.0 KB)

You'd probably be better off creating a backup, download backup, reflash SD card with latest version of OctoPi and restore backup during initial setup wizard. The version you're running is extremely old and the python version doesn't support the latest version of OctoPrint.

2 Likes

Thanks! your solution worked perfectly!!!! :grinning:

Seems like Marlin always change the names of variables in Config.h and Config_adv.h
This may crash any compile

Yeah I would recommend to always use the example configs from the same version.
The easiest way to see all your changes in your old config is to diff the unchanged config with your modified config.
There are free online diff websites which makes it even easier :slight_smile: