Open jkaris opened 6 months ago
How did you get it installed, in particular in the development enviroment? While doing the migration step in the installation, i get the error: ModuleNotFoundError: No module named 'subsites' and I suspect my requirements.txt is wrong. Mine looks like this:
Hi @jobot12. First, using Docker (GeoNode 4.2.x)
pip install git+https://github.com/geosolutions-it/geonode-subsites@main#egg=geonode-subsites
I installed subsitespython manage.py migrate
to create tables for subsites docker restart django4geonode
commandUsing advanced installation in an Ubuntu 22.04 LTS server
@jkaris the subsites
module shouldn't interfere with the home page. It's URLs are all mounted as /subsites/*.
I suspect the error is due to something different. Could you turn debug on (DEBUG=True
)?
@giohappy thank you for this suggestion. on turning DEBUG=True
, when accessing the created subsite, in this case italy
and when accessing the subsite, this is the error that I get
from the error above, I noticed that its referring to subsites' views and utils.
additionally, when trying to access links such as uploading new dataset from home page, the error thrown is shown below
On referring to the second error above, this class is one throwing error
Hi. On installing the Subsites module, and creating some subsites as stated in the documentation, the home page referred to as home results to http:///en-us/ as, and the catalog that was initially there does not show.
Does installing Subsites introduce conflict with the home URL as they both refer to the same? This is what shows when creating a sample Italy subsite.
The subsite configuration is shown below.
and the settings as below.