Skip to content

Unsigned Repository stops script[Bug] #64

Open
@travisedson

Description

@travisedson

Describe the bug
The script trys to draw from an unsigned repository which causes an error.

Script output
pi@octoPi:~ $ python3 upgrade.py
OctoPrint Upgrade to Py 3 (v2.2.2)

This script will move your existing OctoPrint configuration from Python 2 to Python 3
This script requires an internet connection and it will disrupt any ongoing print jobs.

It will install the latest version of OctoPrint and all plugins.
No configuration or other files will be overwritten

Press [enter] to continue or ctrl-c to quit

Checking system info...
Please provide the path to your virtual environment and the config directory of OctoPrint
On OctoPi, this would be /home/pi/oprint (for the venv), /home/pi/.octoprint (for config)
and service commands commands sudo service octoprint stop/start
Virtual environment path: /home/pi/OctoPrint
Found version: Python 2.7.16
Path valid
Config directory path: /home/pi/.octoprint
Config directory valid

To do the install, we need the service stop and start commands. (Leave blank if you don't have a service set up)
Stop command: sudo service octoprint stop
Start command: sudo service octoprint start
Checking OctoPrint version...
OctoPrint version: 1.4.2
Reading installed plugins...
No plugins found
If you think this is an error, please ask for help. Note this doesn't include bundled plugins.
Press [enter] to continue or ctrl-c to quit

Updating package list...
W: GPG error: https://www.linux-projects.org/listing/uv4l_repo/raspbian wheezy InRelease: The following signatures were invalid: 88E8F32F724468BA39585D4099DA5D2AFCE635A4
E: The repository 'http://www.linux-projects.org/listing/uv4l_repo/raspbian wheezy InRelease' is not signed.
ERROR: failed to update package list
Please try manually

Cleaning up...
Fatal error: Exiting

Script version
SCRIPT_VERSION = '2.2.2'

OctoPrint Version
Version 1.7.2

Relevant plugins that may have caused errors
I don't think plugins have anything to do with this.

Additional information
There's really nothing more to add.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions