Skip to content

Commit dfb1cfe

Browse files
committed
Solution for migrations
1 parent 13715a5 commit dfb1cfe

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/en/self-host-troubleshooting.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@ If you're experiencing issues with your self-hosted Invoice Ninja instance, foll
1414
2. Consult the [Invoice Ninja forum](https://forum.invoiceninja.com/) for community support.
1515
3. Examine the logs for error messages. You can find the logs in the `storage/logs` directory.
1616

17+
## SQLSTATE[42S22]: Column not found:
18+
19+
If you see in your error logs a message such as "Column not found" this indicates that your migrations are not up to date and need to be run there are two ways to force the migrations to run:
20+
21+
1. http://yourdomain.com/update?secret=insert_your_UPDATE_SECRET_variable_here
22+
2. From the project root run the following command:
23+
24+
```bash
25+
26+
php artisan migrate
27+
28+
```
1729

1830
## Cron not running / Queue not running
1931

0 commit comments

Comments
 (0)