Reference
Install and upgrade errors
Resolve Composer, PHP, package discovery, database migration, and uninstall errors.
Composer and PHP
| Message | What to check |
|---|---|
| Package cannot be found | Verify the name teamkrope/inner-threads, the requested version, and which Composer repositories the host uses. Check whether a private mirror contains the release. |
| Package is locked and an update was not requested | Use composer why package/name and composer prohibits package/name version to inspect the blocking dependency. Include only necessary packages in a targeted update and review --dry-run before applying. |
| PHP version does not satisfy a requirement | Compare the CLI PHP version Composer reports with the PHP version used by your web server. Run composer check-platform-reqs to check the actual runtime and extensions. |
| Missing ZIP, cURL, DOM, or a PDO driver | Enable the extension for the relevant PHP runtime. PHP cURL and DOM are used by live link previews. The database engine needs its corresponding PDO driver. |
| Security policy blocks a version | Review composer audit and update to compatible patched versions. Failed download, authentication and network errors can be diagnosed with composer diagnose. |
Laravel 10 with locked Nette dependencies on PHP 8.5
A Laravel 10 app may have nette/schema v1.3.2 and nette/utils v4.0.7 locked through league/commonmark and league/config. Those releases require PHP 8.4 or earlier. On PHP 8.5, a targeted update can resolve this conflict if your host constraints permit newer Nette releases.
Terminal
composer require "teamkrope/inner-threads:^1.3" --no-update
composer update teamkrope/inner-threads nette/schema nette/utils --minimal-changes --dry-run
The first command stages the dependency in composer.json. The dry run previews the lockfile changes. Review the proposed versions, then rerun the update without --dry-run to install. The dry run does not test whether the host application itself is fully compatible with PHP 8.5.
Discovery and database migrations
| Symptom | What to check |
|---|---|
Artisan reports Nothing to migrate after composer require --no-update |
Check composer show teamkrope/inner-threads. Complete the Composer update so the package exists in vendor and Laravel can discover its migrations. |
| Command or route is missing | Check the installed package version and run php artisan package:discover. Review auto-discovery exclusions and clear cached routes and configuration. Older releases lack the doctor and purge commands. |
| Missing table, connection refused, or access denied | Check the intended Laravel database connection, credentials, and the relevant PDO driver. Clear cached configuration after changing connection settings. Check migration status and then apply pending migrations. |
| Table already exists or a prefix migration stopped | Compare the live schema with the migration ledger on a backed-up copy. Legacy and current tables can require an upgrade-specific repair. See Upgrading. |
| Encrypted chats fail after repair or upgrade | Restore the previous key or configure it as an Inner Threads previous key. See Encryption and storage. |
| Widget styles or module requests fail after upgrade | Verify the current package asset URLs, or republish all static assets if you serve a published bundle. See Repair an installation. |
Uninstall and purge
| Symptom | What to check |
|---|---|
| The purge requires messaging to be disabled | Disable the package on every host instance, check published config overrides, clear stale routes and config, and stop work that writes package data. |
| A host table references a package table | Review that foreign key with the host app’s owner. Remove or migrate the relationship before the purge. |
| An attachment disk or path fails during purge | Restore the original private disk configuration and access rights. Resolve any invalid recorded path. Run the purge again while the package remains installed. |
| A migration record is missing for existing package tables | Verify table ownership against a database backup. Repair migration history on an isolated copy before deleting data. |
| Package removal reports class or component errors | Remove host-side bindings, widget mounts and manual provider entries. Clear caches and run the host’s package discovery after removal. |
See Uninstalling for the full procedures.