Closed NtskwK closed 2 months ago
Thanks @NtskwK :wave: I haven't had a chance to review everything, but a few things stand out right away:
./webodm.sh update
. This is a requirement for considering updating the database, and we are not going to break the installation for thousands of people. See this comment here https://github.com/OpenDroneMap/WebODM/issues/826#issuecomment-1275737159There might be other things that need to be addressed, but these two stood out.
Yes, an automated scripts souds good. I see those files are not compatible here. It must be solved.
db\Dockerfile
...
> 83 | VOLUME /var/lib/postgresql/data
I have never tried to migrate database with data. Could you give me some suggest?
I have revert to recover migrations files just now.
Then, I found some manual about migration with the old data. But I have no idea for it.
What's new
Docker-compose:
Version top-level element (obsolete)
Django 4.2:
Django 4.2 supports PostgreSQL 12 and highe
django.conf.urls.url() is removed.
[django.utils.encoding.force_text() and are removed.smart_text()](https://docs.djangoproject.com/en/4.2/releases/4.0/#:~:text=django.utils.encoding.force_text()%20and%20are%20removed.smart_text())
PostgreSQL JSONField is deprecated
Others
PostGIS Support Matrix: https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS
unfix:
djangorestframework-simplejwt
there are also many different from django-rest-framework-jwt to djangorestframework-simplejwt. So it can not pass the test in webodm.sh.
rio-tiler
RioTilerBaseModel:warn 'key' access will has been deprecated and will be removed in rio-tiler 7.0."
webpack
(node:5096) [DEP_WEBPACK_DEPRECATION_ARRAY_TO_SET] DeprecationWarning: Compilation.chunks was changed from Array to Set (using Array method 'map' is deprecated)
(node:5096) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...
to show where the warning was created)WARNING in webpack performance recommendations: webapp | You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
django-webpack-loader
There is a bug(?) in static template at v1.0.0 or higher version.
Docker-compose
Maintainer tag is deprecated