-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Ubuntu 14.04 LTS support #1651
Comments
Are we happy to build multiple packages for differing ubuntu versions? I think we can adapt the vagrant file from the datapackager branch of the ckan-packaging to build multiple debs quite easily. |
@joetsoi That sounds good, but then I think we need to run the tests on both platforms (Not sure if Travis will support that travis-ci/travis-ci#2046) |
Package install on 14.04 fails with:
|
Package install will definitely fail because we're compiling things with the gcc version on 12.04 which is different from the version in 14.04. |
FYI, changes with Apache defaults. Need to add the entry below or you'll get a permission denied, and also you should have .conf on the end of config files now so it should be ckan_default.conf. Other than that I've managed to get the default ckan install from source working in 14.04. |
I just installed CKAN 2.2 from source following the docs. As of today, solr-jetty can't be used because of this bug: I ended up using solr-tomcat without problems. |
I just installed CKAN 2.3a from sources.
|
Largely copied from a Github gist (see comment in the playbook), this provisions a Vagrant box containing a working installation of CKAN. CKAN is installed from a release package, rather than from source; as best I can tell we can extend it via extensions. I tried to use Ubuntu 14.04 initially but the package install fails, and it turns out that the current 2.2 release of CKAN doesn't support 14.04 (ckan/ckan#1651), so this uses Ubuntu 12.04.
Largely copied from a Github gist (see comment in the playbook), this provisions a Vagrant box containing a working installation of CKAN. CKAN is installed from a release package, rather than from source; as best I can tell we can extend it via extensions. I tried to use Ubuntu 14.04 initially but the package install fails, and it turns out that the current 2.2 release of CKAN doesn't support 14.04 (ckan/ckan#1651), so this uses Ubuntu 12.04.
Thanks @Hoedic, your workaround did the trick for me. |
See also #1829 |
User paster not ckan command, so it works for non-package installs as well.
Fixes some failing tests on Ubuntu 14.04. Fixes #2018.
Document workaround for an Ubuntu 14.04 bug with Jetty. This fixes #2019 for source installs, but note that it'll have to be fixed for the 14.04 package install as well.
It needs to be 0.0.0.0 not 127.0.0.1 to support running Solr on a different machine.
Hoping this will fix the tests on Python 2.6
This default URL works with the default Solr setup and is needed for most of CKAN to work at all.
If that's any good, I got SolR to work with CKAN 2.3a (master) on Ubuntu 14.04 LTS by following digitalocean's instructions to "install SolR manually" with some CKAN-specific modifications. SolR
JTS for solr-spatial-field
If that worked, SolR will return an XML response to http://%(ckan.site_url)s:8983/solr/ckan/select/?fl=*,score&sort=score%20asc&q={!geofilt%20score=distance%20filter=true%20sfield=spatial_geom%20pt=42.56667,1.48333%20d=1}&fq=feature_code:PPL Now, with the SolR core "collection1" renamed to "ckan", and the SolR admin GUI at %(ckan.site_url)s:8983/solr, the solr_url must include the core name, and, I cannot italicise this enough, must not have a trailing slash.
This works for one or several CKANs sharing the same SolR engine. |
(note to self) really minor doc change needed http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html#setup-solr change line 15 and line 18 to line 16 and line 19 |
@frogsapo - if you are looking to deploy CKAN permanently from source, you should check out http://docs.ckan.org/en/latest/maintaining/installing/deployment.html |
Hello guys, I am deploying CKAN 2.4 on Ubuntu 14.04, with jety 6 and SOLR 4.7.2, apache2 server and Postgres 9.3 in another machine. After climbing the services have following error: Debug false: Server Error Debug true: WebError Traceback: LOG: Error - <class 'ckan.lib.search.common.SearchError'>: SOLR returned an error running query: {'sort': 'score desc, metadata_modified desc', 'fq': [u'owner_org:"73bffc86-3b1f-46c3-85d2-0fa0084ac53e" capacity:"publi$ Anyone know how to solve? |
Hi @patrickval,
Lastly, before you try datacats, give them a week or two to fix datacats/datacats#334 |
Could you consider integrating a Python 2.7.9+ interpreter into the python environment/package? This seems to be possible: My reason: ckan/datapusher#83 That said, there would be an easier fix for that issue by supplying a different config. |
@mattfullerton See my thoughts on this here: ckan/datapusher#83 (comment) |
Reviewed and updated docs for package install, source install and source deployment.
When running on Python 2.6, httpretty doesn't play nice with Solr (it causes read timeouts). The tests are still run but we avoid using Solr, either by using `use_cache`=False on `package_show` or disabling the automatic indexing of datatasets when running on Python 2.6.
Fixed with #2726. Please test the new docs and packages and create new issues if there are still problems. |
These instructions for install of Solr worked for me: https://www.digitalocean.com/community/tutorials/how-to-install-solr-5-2-1-on-ubuntu-14-04 |
Hi all, i try to install CKAN on ubuntu 14.04 but still error when install solr-jetty always JSP support not configured. |
@Mrobbin You can try using Puppet to install ckan as the puppet module supports Ubuntu 14.04 and handles installing solr. |
@Conzar ok i want to try, thank you for your solution. |
This issue is marked as closed. There are still issues with installing solr. |
I agree with @lperepol. I think it's best to have an 14.04 alternative route/option in the docs that involves compiling jetty (3.6.2) from source. I'm happy to test/write the docs. |
We should aim to support Ubuntu 14.04, probably by next release.
I'd expect the main issues would be on installation instructions and libraries / requirements compatibility.
Things to check:
http://packages.ubuntu.com/trusty
The text was updated successfully, but these errors were encountered: