Skip to content
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

Changing URL of remote KB requires server restart #916

Closed
reckart opened this issue Feb 4, 2019 · 3 comments
Closed

Changing URL of remote KB requires server restart #916

reckart opened this issue Feb 4, 2019 · 3 comments
Assignees
Labels
🐛Bug Something isn't working Module: Knowledge Base
Milestone

Comments

@reckart
Copy link
Member

reckart commented Feb 4, 2019

Describe the bug
When the URL of a remote KB is changed, this change is not applied immediately. Restarting the server helps.

To Reproduce
Steps to reproduce the behavior:

  1. Create a remote KB connecting to some SPARQL endpoint
  2. Open the KB on the KB page
  3. Go back to the project settings and change the URL to point to another SPARQL endpoint
  4. Open the KB on the KB page
  5. Still see the same data...

Expected behavior
Changes to the SPARQL URL should either be prevented or take effect immediately.

Please complete the following information:

@reckart reckart added 🐛Bug Something isn't working Module: Knowledge Base labels Feb 4, 2019
@reckart reckart modified the milestones: 0.7.3, 0.7.4 Feb 4, 2019
@jcklie
Copy link
Contributor

jcklie commented Mar 5, 2019

Apparently, rdf4j saves the URL also by itself. This is not changed when we update just the database.

@reckart reckart modified the milestones: 0.8.2, 0.8.3 Mar 18, 2019
@reckart reckart modified the milestones: 0.8.3, 0.8.4 Apr 3, 2019
@reckart reckart modified the milestones: 0.8.4, 0.9.1 Apr 19, 2019
@reckart reckart modified the milestones: 0.9.2, 0.9.3 Jun 6, 2019
@reckart reckart modified the milestones: 0.10.1, 0.10.2 Jul 9, 2019
@reckart reckart modified the milestones: 0.10.3, 0.11.1 Aug 14, 2019
@reckart reckart modified the milestones: 0.11.1, Bug backlog Sep 9, 2019
@reckart reckart removed their assignment May 5, 2020
@david-waterworth
Copy link

Possibly related but when using a remote KB, there doesn't seem to be any way of refreshing the KB in inception. For example I delete and recreate my DB on Fuseki and reload a changed TTF file. The inception server seems to cache the old KB.

@reckart
Copy link
Member Author

reckart commented Mar 20, 2021

The URL change bug is in principle separate from the caching - but when we get to address it, indeed we also need to flush the caches.

@reckart reckart modified the milestones: 🦟 Bug backlog, 30.1 Nov 7, 2023
@reckart reckart removed this from the 30.1 milestone Dec 19, 2023
@reckart reckart modified the milestones: 30.2, 30.1 Dec 19, 2023
@reckart reckart self-assigned this Dec 19, 2023
reckart added a commit that referenced this issue Dec 19, 2023
- Inject URL into live objects as part of setting up a connection
- Clear query cache when changing the KB configuration
- Unrelated documentation fix
reckart added a commit that referenced this issue Dec 19, 2023
…RL-of-remote-KB-requires-server-restart

#916 - Changing URL of remote KB requires server restart
@reckart reckart closed this as completed Dec 19, 2023
reckart added a commit that referenced this issue Dec 19, 2023
* release/30.x:
  #916 - Changing URL of remote KB requires server restart

% Conflicts:
%	inception/inception-kb/src/main/java/de/tudarmstadt/ukp/inception/kb/KnowledgeBaseServiceImpl.java
reckart added a commit that referenced this issue Dec 19, 2023
* main:
  No issue. Added another example for the MTAS search
  #4388 - Mention health checking endpoint in admin guide
  #4386 - User "null" sometimes shows up in recent activity
  #916 - Changing URL of remote KB requires server restart
@reckart reckart added this to Kanban Aug 7, 2024
@reckart reckart moved this to 🍹 Done in Kanban Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Something isn't working Module: Knowledge Base
Projects
Archived in project
Development

No branches or pull requests

3 participants