-
Notifications
You must be signed in to change notification settings - Fork 4
[IMP] getting started deb installation and move the other section #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary of Changes
Hello @emjay0921, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request significantly improves the organization and clarity of the OpenSPP Debian installation documentation. By extracting comprehensive sections on administration, security, performance, and troubleshooting into their own dedicated pages, the main installation guide becomes more focused and easier to navigate. This refactoring enhances the overall user experience for both new installations and ongoing system management. Additionally, several core submodules have been updated to ensure compatibility and leverage the latest features.
Highlights
- Documentation Restructuring: Key administrative and operational sections have been moved from the main Debian installation guide into new, dedicated documentation files for better organization.
- New Documentation Pages: Dedicated markdown files for Database Management, Monitoring & Maintenance, Security & Performance Tuning, Troubleshooting, and Uninstallation have been added under the
user_guide/administrationdirectory. - Simplified Installation Guide: The
installation_deb.mdfile has been streamlined, with module installation instructions updated to focus on demo modules rather than a comprehensive list of core modules. - Submodule Updates: The
odoo,openg2p-program, andopeng2p-registrysubmodules have been updated to their latest respective commits.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request effectively reorganizes the documentation by moving detailed sections like security, maintenance, and troubleshooting out of the main installation guide and into their own pages under the administration section. This improves the structure and makes the installation guide more focused. I've left a few comments to correct some minor errors and inconsistencies in the documentation content.
| sudo tar -czf /var/backups/openspp-backup-$(date +%Y%m%d).tar.gz /opt/openspp /etc/openspp | ||
|
|
||
| # Upgrade OpenSPP | ||
| sudo apt-get upgrade openspp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The package name in the apt-get upgrade command is incorrect. The installation guide uses openspp-17-daily as the package name, but this command uses openspp. This will cause the upgrade to fail. Please use the correct package name for consistency.
| sudo apt-get upgrade openspp | |
| sudo apt-get upgrade openspp-17-daily |
| 6. Restart the OpenSPP Service by running `sudo systemctl restart openspp` on your terminal. | ||
|
|
||
| **Note**: The `queue_job` module is automatically loaded as a server-wide module but must be installed in the database AND the service restarted for OpenSPP async operations to function properly. | ||
| **Note**: The `queue_job` module is automatically loaded as a server-wide module but must be installed in the database AND the service restarted for OpenSPP async operations to function properly. In this case, the `queue_job` module are already installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a minor grammatical error in this note. The subject 'module' is singular, so the verb should be 'is' instead of 'are'.
| **Note**: The `queue_job` module is automatically loaded as a server-wide module but must be installed in the database AND the service restarted for OpenSPP async operations to function properly. In this case, the `queue_job` module are already installed. | |
| **Note**: The `queue_job` module is automatically loaded as a server-wide module but must be installed in the database AND the service restarted for OpenSPP async operations to function properly. In this case, the `queue_job` module is already installed. |
| 3. Click the "Delete" from the right side of the Database you wanted to Delete. | ||
| 4. Enter the Master Password then Click the "Delete". | ||
| 5. Create a new database with the same name or different name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The numbered list for resetting the database via the web interface is incorrect. It jumps from step 1 to step 3, which could confuse the user. Please renumber the steps sequentially.
| 3. Click the "Delete" from the right side of the Database you wanted to Delete. | |
| 4. Enter the Master Password then Click the "Delete". | |
| 5. Create a new database with the same name or different name | |
| 2. Click the "Delete" from the right side of the Database you wanted to Delete. | |
| 3. Enter the Master Password then Click the "Delete". | |
| 4. Create a new database with the same name or different name |
| sudo -u postgres pg_dump openspp_prod | gzip > /var/backups/openspp/db_backup_$(date +%Y%m%d_%H%M%S).sql.gz | ||
|
|
||
| # Backup filestore | ||
| sudo tar -czf /var/backups/openspp/filestore_backup_$(date +%Y%m%d_%H%M%S).tar.gz /var/lib/openspp/filestore/openspp_prod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command for backing up the filestore specifies a path for a single database's filestore (/var/lib/openspp/filestore/openspp_prod). This is inconsistent with the regular backup script (in security_tuning.md) which backs up the entire /var/lib/openspp/ directory. To ensure all data is backed up and to maintain consistency, it's better to use the more general path.
| sudo tar -czf /var/backups/openspp/filestore_backup_$(date +%Y%m%d_%H%M%S).tar.gz /var/lib/openspp/filestore/openspp_prod | |
| sudo tar -czf /var/backups/openspp/filestore_backup_$(date +%Y%m%d_%H%M%S).tar.gz /var/lib/openspp/ |
|
|
||
| ```bash | ||
| # Download new package from Nexus | ||
| wget https://builds.acn.fr/repository/apt-openspp/pool/main/o/openspp/openspp_X.X.X_amd64.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The placeholder openspp_X.X.X_amd64.deb for the manual update is a bit vague. To improve clarity for the user, consider using a more descriptive placeholder like <VERSION> or providing a realistic example version, similar to the manual download section in the installation guide.
| wget https://builds.acn.fr/repository/apt-openspp/pool/main/o/openspp/openspp_X.X.X_amd64.deb | |
| wget https://builds.acn.fr/repository/apt-openspp/pool/main/o/openspp/openspp_<VERSION>_amd64.deb |
| sudo tar -czf /var/backups/openspp-backup-$(date +%Y%m%d).tar.gz /opt/openspp /etc/openspp | ||
|
|
||
| # Install new version | ||
| sudo dpkg -i openspp_X.X.X_amd64.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|



No description provided.