new build
Some checks failed
Build and Publish Docker Images / build-and-push (push) Failing after 11m20s
Test Docker Compose Setup / test-compose (push) Failing after 54s
Test Docker Compose Setup / lint-dockerfiles (push) Failing after 30s
Test Docker Compose Setup / validate-compose (push) Failing after 16s
Build and Publish Docker Images / security-scan (push) Has been skipped
Build and Publish Docker Images / notify (push) Failing after 15s
Some checks failed
Build and Publish Docker Images / build-and-push (push) Failing after 11m20s
Test Docker Compose Setup / test-compose (push) Failing after 54s
Test Docker Compose Setup / lint-dockerfiles (push) Failing after 30s
Test Docker Compose Setup / validate-compose (push) Failing after 16s
Build and Publish Docker Images / security-scan (push) Has been skipped
Build and Publish Docker Images / notify (push) Failing after 15s
This commit is contained in:
@@ -125,21 +125,27 @@ docker stats
|
||||
|
||||
### Common Issues
|
||||
|
||||
1. **Bot not connecting to Discord**
|
||||
1. **Docker build fails with npm ci error**
|
||||
```
|
||||
npm error The `npm ci` command can only install with an existing package-lock.json
|
||||
```
|
||||
**Solution:** The Dockerfile uses `npm install` instead of `npm ci` to work without a lock file.
|
||||
|
||||
2. **Bot not connecting to Discord**
|
||||
- Verify `DISCORD_TOKEN` is correct
|
||||
- Check Discord bot permissions
|
||||
- Ensure bot is invited to the server
|
||||
|
||||
2. **Backend not responding**
|
||||
3. **Backend not responding**
|
||||
- Verify `UPTIME_KUMA_URL` and `UPTIME_KUMA_API_KEY`
|
||||
- Check Uptime Kuma instance accessibility
|
||||
- Test API endpoint manually: `curl http://localhost:8080/back-end.php`
|
||||
|
||||
3. **Permission errors**
|
||||
4. **Permission errors**
|
||||
- Ensure Docker has proper permissions
|
||||
- Check file ownership in mounted volumes
|
||||
|
||||
4. **Container health checks failing**
|
||||
5. **Container health checks failing**
|
||||
- Check logs: `docker-compose logs`
|
||||
- Verify all environment variables are set
|
||||
- Test individual services
|
||||
|
||||
Reference in New Issue
Block a user