Troubleshooting
Common issues and solutions for DeskHive.
Installation Issues
Admin Panel Not Loading
Problem: The admin panel does not load after installation.
Solutions:
- Clear application cache:bash
php artisan cache:clear php artisan config:clear - Check file permissions:bash
chmod -R 755 storage bootstrap/cache - Verify
.envdatabase configuration is correct - Check Laravel logs:
storage/logs/laravel.log
Migration Errors
Problem: Database migration fails during installation.
Solutions:
- Check database connection in
.env - Ensure the database user has
CREATE TABLEpermission - Run migrations manually:bash
php artisan migrate --path=platform/plugins/support-desk/database/migrations - Check for existing tables with conflicting names
Missing Tables
Problem: Tables do not exist after activation.
Solutions:
- Run migrations manually:bash
php artisan migrate - Check migration status:bash
php artisan migrate:status
Customer Portal Issues
Login Page Not Found (404)
Problem: Accessing /login or /support returns a 404.
Solutions:
- Clear the route cache:bash
php artisan route:clear php artisan cache:clear - Verify the theme is set to Support in Admin → Appearance → Themes
Customer Cannot Log In
Problem: Customer login fails with valid credentials.
Solutions:
- Verify the email exists in Admin → Support Desk → Customers
- Check if the customer is blocked (status shown in customer detail)
- Ask the customer to use Forgot Password to reset their password
- Clear browser cookies and try again
Registration Not Working
Problem: The registration form is not accessible or returns an error.
Solutions:
- Confirm Customer registration is enabled in Admin → Support Desk → Settings → Customer Portal
- Check that the mail configuration in
.envis valid if email verification is enabled - Check Laravel logs for validation or mail errors
Password Reset Email Not Received
Problem: Password reset email is not delivered.
Solutions:
- Check the spam/junk folder
- Verify mail configuration in
.env:iniMAIL_MAILER=smtp MAIL_HOST=your-smtp-host MAIL_PORT=587 MAIL_USERNAME=your-username MAIL_PASSWORD=your-password MAIL_FROM_ADDRESS[email protected] - Test email delivery:bash
php artisan tinker >>> Mail::raw('Test', fn($m) => $m->to('[email protected]'));
Ticket Issues
Ticket Submission Fails
Problem: Customer cannot submit a ticket; form returns an error.
Solutions:
- Check if the customer has reached the Max tickets per day limit in settings
- If Envato integration is enabled, verify the purchase code is valid and belongs to the selected product
- If License Manager integration is enabled, verify the license code is active
- Check that all required custom fields are filled
- Check Laravel logs for detailed validation errors
Tickets Not Appearing in Agent Portal
Problem: An agent logs in but sees no tickets.
Solutions:
- Confirm the agent is assigned to at least one department in Admin → Support Desk → Agents
- Confirm the tickets belong to that department
- Confirm tickets are assigned to the agent (the agent portal only shows tickets linked to the agent via
sd_ticket_agent) - Check that Auto-assign is enabled in settings if you expect automatic assignment
Email Notifications Not Sending
Problem: Agents or customers are not receiving notification emails.
Solutions:
- Verify mail configuration in
.env(see above) - Check notification toggles in Admin → Support Desk → Settings → Notifications
- Check agent-level notification preferences in Agent Portal → Settings → Notifications
- Check Laravel logs for mail errors:bash
tail -f storage/logs/laravel.log
Envato Integration Issues
Purchase Code Verification Fails
Problem: A valid purchase code is rejected.
Solutions:
- Confirm the Envato Personal Token is entered correctly in Settings → Envato
- Verify the token has the required permissions:
- View and search Envato sites
- View the user's items' purchase data
- Confirm the product's Envato ID matches the correct marketplace item ID
- Check if the Envato API is reachable from your server:bash
curl https://api.envato.com/v3/market/author/sales -H "Authorization: Bearer YOUR_TOKEN" - Check Laravel logs for API error responses
Import from Envato Returns No Items
Problem: The Envato import finds no products.
Solutions:
- Confirm the Envato Personal Token is valid and belongs to an author account
- Verify the account has items for sale on the Envato marketplace
- Check for API rate limiting — wait a minute and try again
Agent Portal Issues
Agent Cannot Log In
Problem: Agent login fails.
Solutions:
- Confirm the agent account exists in Admin → Support Desk → Agents
- Confirm the agent's Active status is enabled
- Use the admin panel to reset the agent's password by editing the agent record
Canned Responses Not Appearing
Problem: Canned responses do not show in the agent reply editor.
Solutions:
- Confirm at least one canned response has Active set to enabled in Admin → Support Desk → Canned Responses
- Clear the application cache:bash
php artisan cache:clear
Performance Issues
Admin Ticket List Is Slow
Solutions:
- Enable Redis for cache and session in
.env:iniCACHE_DRIVER=redis SESSION_DRIVER=redis - Add a database index on frequently filtered columns if running a high volume of tickets
- Reduce Tickets per page in Settings → General
Knowledge Base Search Is Slow
Solutions:
- Ensure the
sd_knowledge_articlestable has a full-text index ontitleandcontent - Consider enabling Redis cache to cache frequent search results
General Debugging
Enable detailed error output temporarily:
# .env
APP_DEBUG=true
APP_ENV=localCheck logs:
tail -f storage/logs/laravel.logWARNING
Disable APP_DEBUG in production. Debug mode exposes sensitive configuration details to browser visitors.
Getting Help
If an issue persists:
- Check Laravel logs:
storage/logs/laravel.log - Check Activity Logs: Admin → Support Desk → Activity Logs
- Enable
APP_DEBUG=truetemporarily to see detailed error messages - Contact support: [email protected]
Include in your support request:
- PHP version (
php -v) - DeskHive version
- Error message and steps to reproduce
