Clarify GeoIP update env setup for cached config deployments.
Deploy Ladill Link / deploy (push) Successful in 41s
Deploy Ladill Link / deploy (push) Successful in 41s
Point operators at shared/.env and config:clear when MaxMind credentials are missing. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -69,7 +69,11 @@ MAXMIND_LICENSE_KEY=
|
||||
3. Download the database:
|
||||
|
||||
```bash
|
||||
php artisan config:clear
|
||||
php artisan link:geoip-update
|
||||
php artisan config:cache
|
||||
```
|
||||
|
||||
On the server, edit **`/var/www/ladill-link/shared/.env`** (not a release copy). After deploy, `current/.env` symlinks to that file. If you add env vars while config is cached, run `config:clear` before `link:geoip-update` or Laravel will not see the new values.
|
||||
|
||||
The file is stored at `storage/app/geoip/GeoLite2-Country.mmdb` by default. The command is scheduled weekly via the app scheduler — ensure cron runs `php artisan schedule:run` for link.ladill.com.
|
||||
|
||||
Reference in New Issue
Block a user