Skip to content

OnionShare stays open in the background and fails to reopen

Steps to reproduce in feature/bookworm:

  • Share a file
  • Close OnionShare

The process /usr/bin/python3 /usr/bin/onionshare is still running in the background. As a consequence, starting OnionShare again fails.

I couldn't reproduce this in 5.21.

I could reproduce this in Debian Bookworm with slightly different symptoms when trying to reopen OnionShare in a terminal:

  • In Debian, I get:

    Opening tab in existing OnionShare window (pid 543647)

  • In Tails, I get:

    PermissionError: [Errno 13] Permission denied: b'/proc'

After a quick search, I couldn't find an issue about this bug neither on bugs.debian.org nor on https://github.com/onionshare/onionshare/issues.

Killing the process and starting OnionShare again works.

Also, in feature/bookworm sometimes the first attempt at sharing takes forever and seems to never succeed. It worked for me to close the GUI of the first attempt and restart OnionShare. Then I face this bug.

Edited by sajolida
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information