Giter VIP home page Giter VIP logo

Comments (6)

Olivier6767 avatar Olivier6767 commented on July 20, 2024 1

Thanks for the information. With this I was able to find out that my volume mount to my NAS (/mnt/NAS-Docker) forces permissions to be 0777 for all files and folders. When running your commands in the post above, it indicates the permissions are changed but when looking back, they are still the same.
It seems related to the way I export my shared folders (no_root_squash). I'm trying to figure this out and will report here once I found a solution.
Thanks!

from docker-tar1090.

Olivier6767 avatar Olivier6767 commented on July 20, 2024 1

I was able to fix my permissions. The heatmap (and realHeat) are not fully functional.
Thanks again for your great work!

from docker-tar1090.

Olivier6767 avatar Olivier6767 commented on July 20, 2024

It seems that the issue is a permissions problem. In the docker logs, I have:
[nginx] 2020/10/07 11:43:13 [error] 30857#30857: *22 open() "/var/globe_history/2020-10-07/heatmap/03.bin.ttf" failed (13: Permission denied), client: 10.1.1.75, server: _, request: "GET /globe_history/2020-10-07/heatmap/03.bin.ttf HTTP/1.1", host: "tar1090.redacted.com", referrer: "https://tar1090.redacted.com/?heatmap"

My docker file contains:

    volumes:
      - /mnt/NAS-Docker/data/node-sdr/tar1090/history:/var/globe_history

I've tried to set owner to www-data:www-data and permission to 0777 on the /globe_history folders but I still get the permission error in the logs.

Am'I missing something?

from docker-tar1090.

mikenye avatar mikenye commented on July 20, 2024

Hi @Olivier6767,

You're very welcome, and I'm sorry you're having problems.

Try the following.

  1. Get a shell inside the container, eg: docker exec -it tar1090 bash
  2. Reset the ownership to root:root on the /var/globe_history directory & contents: chown -vR root:root /var/globe_history
  3. Reset the permissions on the /var/globe_history directory & subdirs: find /var/globe_history -type d -exec chmod -v 0755 {} \;
  4. Reset the permissions on the files under /var/globe_history: find /var/globe_history -type f -exec chmod -v 0644 {} \;

Let me know if this helps.

from docker-tar1090.

mikenye avatar mikenye commented on July 20, 2024

No problems, glad you're on the right track! :-)

from docker-tar1090.

mikenye avatar mikenye commented on July 20, 2024

Awesome! I’m glad you got it sorted. :-)

from docker-tar1090.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.