HomeITAdmin / nextcloud_geoblocker

GNU Affero General Public License v3.0
42 stars 2 forks source link

geoip2.phar file deleted by the Nextcloud upgrade from 19.0.5 to 20.0.2 #48

Closed vcbranco closed 3 years ago

vcbranco commented 3 years ago

The file was deleted by the upgrade and the Geoblocker stopped working. It was necessary to download and copy the file manually to its location. After that the Geoblocker started to work again.

HomeITAdmin commented 3 years ago

Thanks for the feedback. I have to look into that. First guess would be, that Nextcloud is deleting the app during update and installing it again. This would explain that every additional file is gone. In that case we would have to find a better place for the geoip2.phar file.

vcbranco commented 3 years ago

That's what I thought

vcbranco commented 3 years ago

Only to confirm. It happened again in the upgrade from 20.0.2 to 20.0.3.

HomeITAdmin commented 3 years ago

How are updating your Nextcloud instance?

vcbranco commented 3 years ago

I'm using Nextcloudpi on Debian 10 x86_64 curl instalation. The updates/upgrades are maid by the Nextcloudpi updater and not by the Nextcloud updater

HomeITAdmin commented 3 years ago

You can now put the "geoip2.phar" file alternatively in the same folder as the database.