horilla
horilla copied to clipboard
Not able to connect with Remote DB
Bug Report
Stuck in infinite loop while running migrations command
I'm trying to use MySQL over AWS RDS. So I removed the DATABASE_URL and added the NAME, HOST, USERNAME, PASSWORD and PORT in horilla/settings.py
file. Then while running migration command python3 manage.py migrations
I get following
Steps to Reproduce
- In docker-compose.yml file, comment out the pgsql part and dependency of server in pgsql
- Add mysqlclient as given in database setup docs - https://www.horilla.com/docs/database-setup/
- run the
docker compose up
command
Expected Behavior
It should run without any problem
Actual Behavior
Getting Execution of job "block_unblock_disciplinary (trigger: interval[0:00:10], next run at: 2024-08-25 17:35:45 IST)" skipped: maximum number of running instances reached (1)
Screenshots
[If applicable, provide screenshots illustrating the issue.]
Environment
- Django Version: [Django version you're using, e.g., 3.2.1]
- Python Version: [Python version, e.g., 3.9]
- Operating System: [Your OS, e.g., Windows 10, Ubuntu 20.04]
- Browser: [If applicable, specify the browser and version you're using.]
Additional Information
[Any other relevant information, logs, error messages, or context that might help in understanding and fixing the issue.]
Possible Solution
[If you have any ideas or suggestions on how to fix the issue, feel free to provide them here. This is optional.]
Labels
[If your project uses labels, suggest any labels that might apply to this issue, such as 'bug', 'needs investigation', etc.]
Priority
[Specify the priority level for this issue, such as 'high', 'medium', 'low', etc.]
Assignees
[If you want to suggest an assignee or tag a specific person to look into this issue, mention their GitHub username here.]
Related Issues
[If there are any related issues or pull requests, mention them here. This is optional.]
Note: Remember to search through existing issues before submitting a new one to ensure that the issue hasn't been reported already. Provide as much information as possible to help the maintainers understand and address the problem effectively.