Troubleshooting
Installation Issues
Error activating the module (External Environment)
When installing a Cloudlink module, you might encounter an error similar to:
subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', 'fs==2.4.16']' returned non-zero exit status 1
Cause: The module attempts to auto-install Python dependencies (fs, etc.) via pip, but your Python environment is “externally managed” (common in modern Linux distributions) or restricted.
Solution: The recommended solution is to run Odoo within a virtual environment.
- Create a virtual environment:
python3 -m venv venv - specific to your OS, activate it.
- Install Odoo requirements.
- Restart Odoo.
Upgrade Issues
Error upgrading a module
Symptom: Inconsistent behavior or errors after updating a Cloudlink extension.
Solution: Ensure version consistency.
- Always upgrade the base module (
cloud_link) when you upgrade any extension (e.g.,cloud_link_gdrive). - Ensure all installed Cloudlink modules are on the same version number.