accountsplus documentation
Choose a version
Version 1.x
Troubleshooting #
Desktop application #
Application won’t start #
Symptom: Double-clicking the app does nothing, or an error dialog appears.
Solutions:
-
Check Python version:
python --versionRequires Python 3.10 or later.
-
Verify installation:
pip install -e '.[gui]' -
Check for display server (Linux):
export QT_QPA_PLATFORM=offscreen accountsplus-gui
Database is locked #
Symptom: “database is locked” error when saving.
Solutions:
- Close other instances of AccountsPlus
- Wait a moment and try again
- Restart the application
- If persistent, check file permissions on the database
PDF generation fails #
Symptom: Error when generating invoice PDFs.
Solutions:
-
Verify reportlab is installed:
pip install reportlab -
Check write permissions for output directory
-
Try a different output location:
accountsplus invoice pdf <uuid> --output /tmp/invoice.pdf
CLI #
Command not found #
Symptom: accountsplus: command not found
Solutions:
-
Ensure virtual environment is activated:
source .venv/bin/activate -
Or run with Python:
python -m accountsplus.cli --help -
Reinstall with entry points:
pip install -e '.[cli]'
Permission denied #
Symptom: “Permission denied” when running commands.
Solutions:
-
Check file permissions:
ls -la ~/.local/share/accountsplus/ -
Fix permissions:
chmod -R 755 ~/.local/share/accountsplus/ -
Don’t run as root/sudo
Sync #
Connection refused #
Symptom: Cannot connect to sync server.
Solutions:
-
Verify server URL:
accountsplus sync status -
Check internet connection:
ping sync.accountsplus.app -
Ensure server is running (self-hosted)
-
Check firewall settings
Authentication failed #
Symptom: Login fails with correct credentials.
Solutions:
-
Reset password on the server
-
Check for account lockout:
- Wait 15 minutes if locked out
- Verify email address
-
Generate new token:
accountsplus sync disconnect accountsplus sync connect --server <url> --business <uuid>
Conflicts detected #
Symptom: Yellow warning in sync status.
Solutions:
-
View conflicts:
accountsplus sync conflicts -
Resolve each conflict:
accountsplus sync resolve <id> --resolution local -
Sync again after resolution
Sync stuck / not progressing #
Symptom: Sync indicator keeps spinning.
Solutions:
-
Check internet connection
-
Disconnect and reconnect:
accountsplus sync disconnect accountsplus sync connect --server <url> --business <uuid> -
Restart application
-
Check server status (if self-hosted)
Android app #
Cannot connect to server #
Solutions:
-
Verify server URL in Settings
-
Check internet connection on device
-
Ensure credentials are correct
-
Try opening the server URL in a browser
No data showing #
Solutions:
-
Pull data manually: Settings > Sync Now
-
Verify you’re logged in with the correct account
-
Check server connection status
App crashes on startup #
Solutions:
-
Clear app data in Android settings
-
Uninstall and reinstall
-
Check Android version (requires 8.0+)
Data recovery #
Accidentally deleted data #
Important: If you have a backup, restore it immediately.
Without a backup:
- Check if sync server has the data
- Pull from server:
accountsplus sync pull - If not in sync, data may be unrecoverable
Corrupted database #
Solutions:
-
Check for backup files:
ls ~/.local/share/accountsplus/backups/ -
Restore from backup:
accountsplus restore <backup-file> -
If no backup, try SQLite recovery:
sqlite3 accountsplus.db ".recover" | sqlite3 recovered.db
Getting help #
If you encounter issues not covered here:
- Check the GitHub issues
- Search existing issues for similar problems
- Create a new issue with:
- Operating system and version
- AccountsPlus version
- Steps to reproduce
- Error messages