Troubleshooting
Solutions to common issues when using Rebuttr.
Installation Issues
SQLite compilation errors on install
Cause: Missing build tools required for native module compilation.
Solution: Install platform-specific build tools:
Permission denied errors
Cause: npm global packages require elevated permissions.
Solution: Fix npm permissions or use a node version manager:
Runtime Issues
Port 3001 already in use
Cause: Another process is using port 3001, or a previous Rebuttr instance didn't shut down properly.
Solution:
Browser doesn't open automatically
Cause: The open command isn't available or the browser can't be detected.
Solution: Manually navigate to http://localhost:3001 in your browser.
Changes not saved between sessions
Cause: Database connection issue or file permissions problem.
Solution:
- Check that the data directory exists and is writable:
Terminal$ ls -la ~/Rebuttr/data/
- Check the server logs for database errors:
Terminal$ cat /tmp/server.log
- Try resetting the database (backup first!):
Terminal$ rm ~/Rebuttr/data/review_platform.db
Warning
Deleting the database file will remove all your saved papers and responses. Export your data first!
AI features Issues
"OpenCode not ready" error
Cause: OpenCode CLI isn't installed or configured properly.
Solution:
- Install OpenCode:
npm i -g opencode-ai - Configure API key: Run
opencodeand follow the setup prompts - Restart Rebuttr
Expert discussions not generating
Cause: AI skills not installed or context not loaded.
Solution:
- Verify skills are installed:
Terminal$ ls ~/.config/opencode/skill/
- Reinstall skills:
Terminal$ npm i -g github:genomewalker/rebuttr
- Click "Update Context" in the AI Knowledge panel
"No draft responses found" when exporting
Cause: Comments don't have responses saved yet.
Solution: You need to either:
- Write manual responses in the Response Builder
- Generate expert discussions and use their recommended responses
- Mark at least some comments as "Completed"
File Processing Issues
PDF not parsing correctly
Cause: PDF has complex formatting, images, or is a scanned document.
Solution:
- Try exporting the PDF as text first
- Use a DOCX file instead if available
- Copy/paste the text directly into Rebuttr
Getting Help
Need More Help?
If you can't find a solution here, try the resources below.
- GitHub Issues: Report a bug
- Debug logs: Run with
DEBUG=rebuttr:* rebuttr - Server logs: Check
/tmp/server.log
Reset Everything
If all else fails, you can completely reset Rebuttr:
Warning
This will delete all your data. Make sure to export and backup your papers first!
Still Having Issues?
Open an issue on GitHub with details about your system and the error messages you're seeing.