mapserver/doc/stuck.md

35 lines
613 B
Markdown
Raw Permalink Normal View History

2019-04-04 09:11:50 +03:00
# Stuck incremental rendering
In case the incremental rendering is stuck (a bug between 1.0.1 and 2.0.0)
NOTE: this is for the mapserver database, NOT the map database!
## Sqlite
Execute this command in the sqlite database (`sqlite3 ./mapserver.sqlite`)
```
update settings
set value = strftime('%s', 'now')
where key = 'last_mtime';
```
This will reset the current rendering time to now
## Postgres
For postgresql:
Enter the shell (for example):
```
psql -U postgres
```
And reset the current mtime
```
update settings
set value = floor(EXTRACT(EPOCH from now()) * 1000)
where key = 'last_mtime';
```