-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Advanced Installation steps to work against Ubuntu 20.04LTS #64
Conversation
I can test this later today |
I already installed geonode 2 times on ubuntu 20.04LTS. For me, installation of geonode in 18.04 also works fine. |
@afabiani Thanks. This is a great step forward! I've gone through the changes and haven't found anything. Unfortunately I won't find time to do a test install before Monday. It would be awesome if you @gannebamm could do a test install?! |
@t-book @gannebamm I wrote those changes by following a new setup from scratch on a brand new WSL2 Ubuntu 20 instance on Windows 10 Nevertheless, it would be good that you could find some time to go through the steps and see if I missed something. We don't want users getting angry with us anymore (hopefully)! |
Well true, but one should never forget that we all invest a lot of voluntary work ;) |
This might be connected to not run too often in outdated links : #57 |
@t-book I tried to mitigate that issue here |
It works but throws some errors / warnings. Some may be related to my virtualization software (hyper-v). I installed it up to geonode@geonode-Virtual-Machine:~$ sudo add-apt-repository ppa:ubuntugis/ppa
E: The repository 'http://ppa.launchpad.net/ubuntugis/ppa/ubuntu focal Release' does not have a Release file. I think we can safely ignore this. geonode@geonode-Virtual-Machine:~$ sudo update-java-alternatives --jre-headless --jre --set java-1.8.0-openjdk-amd64
update-alternatives: error: no alternatives for policytool
update-alternatives: error: no alternatives for policytool I encounter this all the time and up to now never had issues related to it. What do you guys say @afabiani @t-book on layer upload: Handler dispatch failed; nested exception is java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
Traceback (most recent call last):
File "/home/geonode/.virtualenvs/geonode/lib/python3.8/site-packages/django/db/models/query.py", line 538, in get_or_create
return self.get(**kwargs), False
File "/home/geonode/.virtualenvs/geonode/lib/python3.8/site-packages/django/db/models/query.py", line 406, in get
raise self.model.DoesNotExist(
geonode.layers.models.Layer.DoesNotExist: Layer matching query does not exist. as well as: During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/geonode/geonode/layers/utils.py", line 1055, in create_thumbnail
image = _prepare_thumbnail_body_from_opts(request_body)
File "/opt/geonode/geonode/geoserver/helpers.py", line 2191, in _prepare_thumbnail_body_from_opts
raise e
File "/opt/geonode/geonode/geoserver/helpers.py", line 2187, in _prepare_thumbnail_body_from_opts
image = _render_thumbnail(_img_request_template, width=width, height=height)
File "/opt/geonode/geonode/geoserver/helpers.py", line 1995, in _render_thumbnail
raise e
File "/opt/geonode/geonode/geoserver/helpers.py", line 1976, in _render_thumbnail
raise Exception(content)
Exception: Handler dispatch failed; nested exception is java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
Internal Server Error: /api/o/v4/tokeninfo/
Traceback (most recent call last):
File "/home/geonode/.virtualenvs/geonode/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/home/geonode/.virtualenvs/geonode/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 383, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: database is locked I think both are also not critical, since the upload worked and the thumbnail was created. |
I now have to switch to some other tasks, but if I shall also test the rest of the setup, drop me a line here and I´ll come back to it later. |
@gannebamm those errors are normal when using SQLite. They will disappear with postgis. There's a big warning for that on the docs. |
af92cd5
to
1e19dff
Compare
1e19dff
to
f83a268
Compare
Use
In this case number 2 is the default (indicated by the asterisk). If not type the number and click enter on your keyboard. I hope this information helps. I would propose we add this in the documentation as the previous command shows error |
No description provided.