How to report issues

From postmarketOS Wiki

This guide will walk you through the process of reporting an issue.

Before reporting an issue

  • Check if there isn't already an open issue ticket similar to yours; see all issues in postmarketOS repositories.
  • Check the Troubleshooting page and the subpages linked there.
  • Ask in Matrix/IRC; see Category:Community for a list of help channels. Someone might be able to resolve your issue there; otherwise, the helpful folks there can also help you decide where to file the bug report if you're not sure.
  • If you're using postmarketOS edge, check postmarketos.org/edge, which has a list of known issues on the edge branch.
  • Try updating your system to make sure the issue hasn't been fixed in a recent update.

Where to report the issue

Depending on the exact scope and nature of the issue, it may be reported in various places.

When in doubt, ask in Matrix/IRC or open an issue in the pmaports repository.

Device-specific issues

Devices not booting, graphical glitches, crashes and general instability, driver bugs and non-working components (apart from those explicitly mentioned as "not working" on your device's wiki page) should be reported in the pmaports repository.

Issues with apps or interfaces/shells

If it's likely that the issue you're having isn't exclusive to postmarketOS and you're running the latest upstream version - in this case, it should be reported to the upstream repositories.

  • Phosh: See Phosh repositories; use the issue trackers in the appropriate repository.
    • GNOME/GNOME apps: Click the "Report an Issue" button in the About menu - this should take you to the app's repository.
      • If there is no such button, find the repository for your app on gitlab.gnome.org (most apps are in the GNOME and World groups; note that using the regular GitLab search will also show forks!).
  • Plasma Mobile/KDE apps: See Plasma Mobile Issue Tracking.
  • Sxmo: sxmo-tickets.
  • Other projects: find the project website (apk info <package-name> can point you in the right direction).
    • Searching on GitHub or GitLab might help you find the project's repository and its bug tracker.

Issues during installation

This depends on the exact way you're installing postmarketOS, and which step you're having trouble with:

Packages, distro-specific issues

Note This section refers specifically to the app packages, not the apps themselves; for apps, see the #Issues with apps or interfaces/shells section.

If an app has missing dependencies, or you can't install it due to conflicts, or seems to be missing some files, you might be dealing with a package issue.

postmarketOS is based on Alpine Linux; as such, before you report a bug, you should first know where the package for the app you're having trouble with is located:

  • All device-specific packages (device-<name>-<codename>; and kernels other than linux-lts and linux-rpi) are in postmarketOS repositories (pmaports).
  • For other packages, search pkgs.postmarketos.org, then pkgs.alpinelinux.org.

Problems with packages that are in Alpine Linux repositories should be reported to the Alpine Linux aports repository. Otherwise, they should be reported in the pmaports repository.

If you encounter a package-related issue in pmbootstrap, report it to the pmbootstrap issue tracker.

Writing a good bug report

The pmaports repository has a template for issues; in general, no matter the project, you should mention the following information:

  • The version of postmarketOS you're using (i.e. v24.06, edge, etc.);
  • The device you're using and its architecture (you can find this information on the device's wiki page);
  • The UI you're using (Phosh, Plasma Mobile, Sxmo, etc. - if in doubt, check Interfaces, which has some screenshots that should help you identify your UI);
  • If your report is related to an application, provide the application's version (for GUI apps - find an About dialog, for CLI apps - run <command> -v or command --version; for packages in general - check apk info --installed <package-name>);
  • Detailed instructions on how to reproduce the bug, as well as any relevant logs (for apps - try running the affected app from the terminal and see if there's any output there).

Getting logs

  • If you're debugging an issue with an application, try running it from the terminal and copy the output.
    • On Xorg-based UIs, you may find some logs for launched apps in ~/.xsession-errors.
  • If the program closes with a "Segmentation fault" or similar, provide a backtrace; see Troubleshooting/Capturing a backtrace with GDB.
  • If you're debugging an issue related to Phosh or GNOME (for instance, the session crashing or not starting up), see Debugging the GNOME stack.

The project you're submitting a bug report to might have an issue template that can contain other useful tips on how to get relevant log output to provide with your issue.