Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] and proposed fix for "PermissionError: [Errno 1] Operation not permitted" due to libseccomp2 #264

Open
bkakilli opened this issue Dec 7, 2023 · 2 comments
Labels

Comments

@bkakilli
Copy link

bkakilli commented Dec 7, 2023

Here is what I've encountered and how to fix:

Describe the bug
Clean clone of the repo does not work. Docker logs show PermissionError: [Errno 1] Operation not permitted error. See the screenshot below for full trace.

~~Fix~~
Upgrade libseccomp2 on your host device to newest version from buster backports.

  1. Install gpg keys:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
    
    If you need to enter different key IDs, you will know them after running step 3. In such case, just copy them and repeat this step using those IDs (I am talking about 0E98404D386FA1D9 and 6ED0E7B82643E131), and proceed to step 3 again.
  2. Add buster backports repo
    echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list
    
  3. Update apt index and upgrade libseccomp2 from buster backports
    sudo apt update
    sudo apt install -t buster-backports libseccomp2
    

Container Details

Don't have the host up right now, but it was a clean clone of version bbe57839.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Run docker compose up -d

Expected behavior
Octoprint runs.

Screenshots
image

Desktop (please complete the following information):

  • OS: Raspbian Buster
  • Browser: Chrome
@bkakilli bkakilli added the bug label Dec 7, 2023
@GitIssueBot
Copy link

This issue has been mentioned on OctoPrint Community Forum. There might be relevant details there:

https://community.octoprint.org/t/octoprint-stuck-in-starting-up-mode-from-new-docker-install/55431/2

@Chocorean
Copy link

Chocorean commented Aug 17, 2024

The added repository caused errors when updating, and I had to edit /etc/apt/sources.list.d/buster-backports.list and replace deb.debian.org by archive.debian.org to make the proposed solution work. Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants