NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Server is installed and tiles seem to render and display as expected. But http://server/mod_tile shows the directory contents instead of the statistics page. Munin is also installed and shows various stats, but mod_tile graphs are empty. The stats_file defined in /etc/renderd.conf is as expected: -rw-r--r-- 1 osm nogroup 1152 16. Feb 15:44 /run/renderd/renderd.stats and contains stats as expected. I have run out of ideas - help appreciated.

asked 16 Feb '23, 15:45

markwe's gravatar image

accept rate: 0%

Munin reads data from "/run/renderd/renderd.stats", which works.

My recollection is that there was (more than 7 years ago) mod_tile had a provision for a site you could browse to and view statistics. Even back then that never worked for me for reasons unrelated to the software. However, munin works, and if you want use something else you can look at munin's plugins and read from /run/renderd/renderd.stats in the same way.

When the big "package mod_tile properly for Debian" was done, various mod_tile enhancements were gathered together from various places, and it was then maintained properly for the first time in years. I think that it was at this stage that the "basic site you could browse statistics" went away. I did have a brief look at it back then, but it wasn't obvious to me what would be needed to fix it, and given that the statistics were available and munin can read them, there was no point in worrying about it.

What are you actually trying to do, and what (if any) set of instructions are you following that do not work?

(18 Feb '23, 12:21) SomeoneElse ♦

Just trying to get the basic stats for mod_tile as per documentation on http://your.server/mod_tile The reason my munin is not working is now obvious. All the mod_tile plugin scripts collect the data per: data="wget -q http://localhost/mod_tile -O -" Munin shows the renderd stats fine, as this comes from /run/renderd/renderd.stats. So with munin, renderd status are fine. Mod_tile stats are empty charts.

(18 Feb '23, 20:54) markwe

I had no idea that e.g. "mod_tile_fresh" still did that underneath :)

If you do a "wget -q http://localhost/mod_tile -O -" from the shell, what actually happens? Do you get an Apache error code, and if so, what?

(18 Feb '23, 21:45) SomeoneElse ♦

I get the directory listing (index) of /var/cache/renderd/tiles (tile_dir from /etc/renderd.conf). But my expectation is:

(19 Feb '23, 04:48) markwe

I get the directory listing (index)

That sounds like an apache config error. If you follow the apache bits of you won't get that - I followed those instructions and I get .

(21 Feb '23, 14:52) SomeoneElse ♦

Yep. I combed through the apache configs and there were some left over directives which were conflicting. Works like a charm now, including munin. Thanks for the pointers !

(21 Feb '23, 20:12) markwe
showing 5 of 6 show 1 more comments

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 16 Feb '23, 15:45

question was seen: 441 times

last updated: 21 Feb '23, 20:12

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum