Comments (15)
π I really have no clue why this happens. Debugging docker containers is not my strong side. I'll try to recreate it on my machine. Thanks for you patience!
from para.
The API for rebuilding the index is yet to be released in 1.30.0 - the request is going to be POST /v1/_reindex
. Currently this is only possible by calling Para.getSearch().rebuildIndex()
from Java code.
from para.
Is the Sysprop actually still in your MySQL database? To help debug it would be better to check the database directly as opposed to reading through Para.
from para.
@jswiesner in nΒ°5 I attached a screenshot of MySQL Workbench querying the table and the Sysprop is there, I will query the database again tomorrow when I'm at work and upload the screenshot :)
from para.
@jswiesner the Sysprop is still in the MySQL database
from para.
If it's in the DB it's probably not indexed by Lucene then. Since only the Lucene index is stored inside the container, it's probably wiped clean on restart. Docker volumes - how do they work? π I honestly know very little about docker volumes.
from para.
Well that explains the issue! You need to mount a docker volume that is attached to a directory on the host machine and thus persistent. This probably should be a config parameter so the user can specify which file path on the host machine should be used to mount inside the Docker container. I suggest having a read through this page: https://docs.docker.com/storage/
from para.
@albogdano Ahhh, that must be it.
A Docker volume is basically like a remote directory (like a NFS), that is stored outside the container.
At the moment I'm not using a volume, so the container "dies" with everything stored when restarted.
There are two solutions for this, if this is the case:
- Suggest using a volume where the Lucene information is stored, when using docker.
- Rebuild the index (I don't know if this is possible) on start.
I will do the nΒΊ1 for now, I will leave nΒΊ2 to you if you consider it as a feature request and a more robust solution. Thanks!
from para.
Indeed, that solved it, thanks!
Although I had to register another sysprop to test it, the old one is gone, Is there any way to re-index by reading the database (being manually or on startup)?,
What happens if I change the engine to ElasticSearch for example?
from para.
Just FYI, the reindex API has been implemented now in release v1.30.0
. The client libraries will be updated shortly.
Closing this for now...
from para.
This doesn't seem to be fixed yet. I am using Lucene as default index, even rebuilding the index does not populate the data.
from para.
@arpanrnc Can you describe your issue in details? Did you perform the same steps as above? Do you have the latest version of Para and the SQL plugin for Para?
from para.
Hi @albogdano,
Master branch of para used (1.31.x) along with 1.31.1 build of para-sql-dao
Steps:
- Installed para (with MySQL, Hazelcast, default lucene search) and scoold on separate VMs.
- Created some questions using scoold.
- Checked that the questions are persisted on MySQL.
- Stopped para & scoold.
- Rebuilt para from master, installed on another VM and booted.
- No data picked up from MySQL. Data still present in MySQL
- Rebuilt index using para client. Rebuild successful, yet no effect.
- Disabled cached & restarted. No effect.
- Disabled search & restarted. No effect.
- Set flag to read from index to false. No effect.
from para.
@arpanrnc Ok, I'll investigate this further and report back here...
from para.
I couldn't reproduce the issue - MySQL works well with Para and Scoold.
from para.
Related Issues (20)
- Get Invalid signature using Python script HOT 1
- paraio.org Download is for insecure version. HOT 1
- Pass Environment Variables in application conf HOT 1
- Can you run multiple para nodes using the Lucene index backend? HOT 2
- Username's domain is stripped out even when AD domain is empty HOT 1
- 403 β Invalid signature for request GET HOT 4
- Newbie: Running Para with postgres driver HOT 5
- How do I run Para locally and connect it to Scoold? HOT 3
- Python client for Para HOT 4
- Increase logging verbosity? HOT 2
- Configure OAuth2 login with Auth0 HOT 7
- Para-search-elasticsearch: NoSuchFieldError: LUCENE_8_3_0 HOT 8
- Invalid signature for request when Para is running behind a proxy or load balancer HOT 1
- Make it possible to map user roles from OAuth2 claims
- Containerized Para deployment loses content upon Pod re-deployment HOT 3
- Problem when slack integrate with para self-hosted HOT 1
- How to get in touch about a security issue? HOT 2
- Add support for stemming analyzers in search
- Para 1.42.2 doesn't start HOT 4
- Unable to be initiated the database HOT 12
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 para.