Update From 1.8.7 to 1.9.3 Windows Server

What is the problem?

Update Failed

ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\OctoPrint\WPy64-31050\python-3.10.5.amd64\Lib\site-packages\~-apt\_wrappers.cp310-win_amd64.pyd'
Consider using the --user option or check the permissions.
The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details.

What did you already try to solve it?

Update all plugin prior

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

No

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

browser.user_agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.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 : 2
env.hardware.freq : 1666
env.hardware.ram : 2109181952
env.os.bits : 64
env.os.id : windows
env.os.platform : win32
env.python.pip : 22.1.2
env.python.version : 3.10.5
env.python.virtualenv : false
octoprint.last_safe_mode.date : unknown
octoprint.last_safe_mode.reason : unknown
octoprint.safe_mode : false
octoprint.version : 1.8.7
systeminfo.generated : 2024-03-23T18:40:47Z
systeminfo.generator : systemapi

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

Please attach the systeminfo bundle to your next post.

octoprint-systeminfo-20240323183016.zip (34.4 KB)

Yeah, you can't upgrade the windows version while it's running. Check this for solution.

https://github.com/jneilliii/OctoPrint-WindowsInstaller/issues/11#issuecomment-1610553069

Depending on when you originally installed there may be an upgrade OctoPrint option in windows' start menu under the OctoPrint folder.

Good , Update done ,

1
Close service

2
Need to run In Admin
C:\OctoPrint\WPy64-31050
WinPython Powershell Prompt

3
Type : pip.exe install --upgrade octoprint

4
After the install , we can run
[notice] A new release of pip available: 22.1.2 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.