Comments (5)
Thanks for you bug report. The packages are running with this settings for the LTS versions. This happens if new Django version on newer Ubuntu versions and Debian testing.
Will change that so it runs on all.
from open-semantic-search-apps.
Thanks. I was conscious that Ubuntu 18.04 is schedule to be a new LTS build so I thought it was worth raising to be ready.
from open-semantic-search-apps.
If there are errors for example on crawling because of that:
After setting to relative paths you can do
cd /var/lib/opensemanticsearch
python3 manage.py migrate
so the DB upgrade should work with newer Django versions, too instead of failing because of absolute path settings.
from open-semantic-search-apps.
Thanks for driving me here.
So as far as I understand I have to remove the leading slash of both :
open-semantic-search-apps/src/csv_manager/models.py
Line 12 in 3260c48
file = models.FileField(upload_to='**/**var/opensemanticsearch/csv', blank = True)
and
open-semantic-search-apps/src/ontologies/models.py
Line 16 in 3260c48
file = models.FileField(upload_to='**/**var/opensemanticsearch/ontologies', blank = True)
I did it then try to
cd /var/lib/opensemanticsearch
python3 manage.py migrate
but it doesn't work.
from open-semantic-search-apps.
With 9a2e6e5 the Django apps now use relative paths for management of uploads, so new installations / the new package should run on new Django and coming Ubuntu LTS version, too.
If Linux is upgraded on an existing installations, you have to remove the leading path /var/lib/opensemanticsearch/ from the paths csv and ontologies in your Django database located in /var/lib/opensemanticsearch/db.sqlite3 ...
If a fresh installation (no entries in database!) failed, just delete the database /var/lib/opensemanticsearch/db.sqlite3 before upgrade with new package.
from open-semantic-search-apps.
Related Issues (20)
- Thesaurus: Saving of hidden label fails HOT 1
- Need some understanding HOT 2
- Web admin UI config option for showing ETL status
- Manual Tagging UI: Remove deleted tags from index
- On deleting index reset import states
- OperationalError at /setup/ HOT 1
- Russian stemming HOT 2
- hard coded link to localhost for flower-interface HOT 1
- Backported django.core.urlresolvers from django 1.10 necessary? HOT 5
- Sometimes "Internal Server Error" HOT 4
- Minor requirements issue - python3-django-celery
- missing search_entity subdirectory in src? HOT 2
- Non-unicode facet label crashes search-apps and how to repair this? HOT 7
- Separated path for Django sqlite DB HOT 2
- Make hosts of microservices / REST-APIs configurable by environment variables HOT 1
- django-import-export must be pinned to 1.2.0 HOT 2
- Move tagging after saving new thesaurus entry to own worker task
- Admin UI: Add delete button to detail views of datasources HOT 1
- Ship currencies ontology
- Preconfigure facet "Currency"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-semantic-search-apps.