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

UI views not updated after tile deletion and reuplaod #132

Open
rembart opened this issue Apr 21, 2020 · 3 comments
Open

UI views not updated after tile deletion and reuplaod #132

rembart opened this issue Apr 21, 2020 · 3 comments

Comments

@rembart
Copy link

rembart commented Apr 21, 2020

Hello,
after deleting a tilesets and re-uploading it with the same UID & filename, the heatmap view of this tilesets has still the old file version (in our case the chromosomes got sorted differently)
Uploading the file with a new UID/Filename works fine
I assume it's some redis cache, but haven't had the time to have a closer look.

Steps to reproduce:
curl -u admin:XXXXX -F "[email protected]" -F "filetype=cooler" -F "datatype=matrix" -F "uid=ABC" -F "coordSystem=mm9" https://higlass.xyz.ac.at/api/v1/tilesets/
curl -u admin:XXXXX -X "DELETE" https://higlass.xyz.ac.at/api/v1/tilesets/ABC/
Change content of ABC.mcool
curl -u admin:XXXXX -F "[email protected]" -F "filetype=cooler" -F "datatype=matrix" -F "uid=ABC" -F "coordSystem=mm9" https://higlass.xyz.ac.at/api/v1/tilesets/
Check WebUI

Here is the server setup:

  • name: 'redis'
    image: 'registry.hub.docker.com/library/redis'
    tag: '5.0.8-alpine'
    uid: 999
    gid: 1000
    ip: '10.88.0.30'
    selinux: true
    volumes:
    • name: 'data'
      path: '/data'
      mode: '0700'
  • name: 'higlass'
    image: 'docker.io/higlass/higlass-docker'
    tag: 'v0.6.43'
    ip: '10.88.0.10'
    uid: 33
    gid: 33
    selinux: true
    volumes:
    • name: 'data'
      path: '/data'
    • name: 'tmp'
      path: '/tmp'
    • name: 'scripts'
      path: '/scripts'
    • name: 'uploads'
      path: '/var/lib/nginx/body'
      mode: '0777'
      environment_variables:
      SITE_URL: "{{ app_generic_fqdn }}"
      UPLOAD_ENABLED: true
      PUBLIC_UPLOAD_ENABLED: false
      REDIS_HOST: '10.88.0.30'
      REDIS_PORT: 6379
@pkerpedjiev
Copy link
Member

Yeah, if you have a redis cache running, that's probably the issue. If you want to get rid of all the redis entries you can do something like: docker exec redis-container redis-cli flushall

@rembart
Copy link
Author

rembart commented Apr 22, 2020

Would you accept a pull request to delete the tiles from redis on tileset deletion?

@pkerpedjiev
Copy link
Member

pkerpedjiev commented Apr 22, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants