Current SqueHub versionv2.0.0
Operations and deployment · v2.x

Troubleshooting

Use php squehub doctor first. It returns safe checks for runtime, environment, database, selected drivers, and optional services. php squehub infrastructure reports configured and selected backends. Neither command prints application…

Use php squehub doctor first. It returns safe checks for runtime, environment, database, selected drivers, and optional services. php squehub infrastructure reports configured and selected backends. Neither command prints application credentials.

SymptomCheckNext step
SqueHub setup required page.env missing or parsed values unchanged from .example.envCopy the template, run php squehub key:generate, paste the full printed value into APP_KEY, review settings, and reload. Installation
Crypt unavailableBlank/malformed APP_KEY, or missing sodium/OpenSSLSet a private base64: key and install one supported cryptographic extension. Cryptography
Development server cannot bind port 8000Port is occupied or access is deniedRun php squehub start without a fixed port to try 8000–8099, or choose an allowed host/port explicitly. CLI
Source or .env appears as plain text in the browserWeb server document root points at the repository rootPoint it to public/ and verify static access to private files is blocked. Deployment
Blank/broken browser session or 500 at startupPHP session path or selected backend is unavailableMake session.save_path writable/protected, or fix the chosen Redis backend. Sessions
Debug bar stays off/on after .env editShell APP_DEBUG may override .env; browser may reuse old pageCheck effective environment and make a fresh request; .env changes load per request under php squehub start. Configuration
403 on POST or JSON requestGlobal CSRF runs before routesInclude @csrf in browser forms or send the session token with the configured header. Do not disable CSRF for ordinary forms. CSRF
View not foundTemplate path or extension is wrongUse Project/Views/Name.squehub.php and View::render('Name'); root views/ is no longer searched. Views
View compilation or cache preparation failsInvalid template source, unsafe source path, or unwritable Storage/ViewsFix the logical View/source diagnostic; make the protected compiled-View runtime directory writable. php squehub view:cache checks current source without rendering; view:clear removes only owned derived artifacts when maintenance is needed. Compiled Views
Model create() rejects fieldsModern Model is guarded by defaultDeclare $fillable or another deliberate mass-assignment policy. Models
Queue dispatch appears synchronousQUEUE_CONNECTION=syncSelect/configure Database or Redis Queue, install required tables, and run a worker. Queue
Scheduler lists tasks but nothing runsNo due schedule, missing persistent tables, or no host cronCheck schedule:list, install selected tables, and invoke schedule:run once per minute. Scheduler
Redis warning in DoctorOptional Redis is not reachable/configuredIgnore only when no selected service requires it; explicit Redis drivers must have a reachable server. Redis
A make:* command refuses a name or targetInvalid name, existing file or case variant, unsafe path, or missing/mis-cased PackageRun the same command with --preview, check the reported path and Package casing, then choose a safe unused name. Generation does not overwrite. Generators

Production HTTP errors intentionally omit stack traces and secrets. Use safe request IDs, protected logs, and controlled development mode to investigate failures. Do not paste .env, full authentication tokens, password-reset tokens, Queue payloads, or Mail bodies into public issue reports. See Logging, Diagnostics, and Health.