geonode icon indicating copy to clipboard operation
geonode copied to clipboard

B/R should only deal with data

Open etj opened this issue 1 year ago • 3 comments

Expected Behavior

After the restore, only data should be changed, not the file inside the libs

Actual Behavior

Some files (also in geonode-mapstore-client) are overwritten. In particular, we found the the index.html template of geonode-mapstore-client overwritten with the empty one from geonode, so the HTTP request to the root path of the geonode instance would return a blank page.

Steps to Reproduce the Problem

After a B/R procedure, the restored system retruned a blank root page.

Specifications

  • GeoNode version: tried on 4.1.4
  • Installation type: geonode-project
  • Installation method (manual, docker):

etj avatar Feb 21 '24 16:02 etj

Templates shouldn't be part of the B/R IMHO. They're code, not data. I would completely remove the templates from the B/R procedure.

giohappy avatar Feb 21 '24 16:02 giohappy

Also the trees of LOCALE_PATHS are put in the backup zip and then restored.

etj avatar Feb 28 '24 11:02 etj

Also static_dirs and static_root should be excluded.

etj avatar Feb 29 '24 10:02 etj