freebsd / poudriere

Port/Package build and test system
https://github.com/freebsd/poudriere/wiki
BSD 2-Clause "Simplified" License
379 stars 161 forks source link

jail.html and index.html report "Invalid request or no data available yet" #1150

Open riccp opened 1 month ago

riccp commented 1 month ago

Prerequisites

Describe the bug

The jail.html and index.html pages show just the "Invalid request or no data available yet." after the second bulk made.

How to reproduce

Steps to reproduce the behavior:

  1. poudriere bulk -j jail1 ....
  2. poudriere bulk -j jail2 ....

With the steps above, messes with the index.html

And after the second bulk for each jail, then the jail.html shows the same behaviour.

I've found out that the .data.json has an invalid format. I've changed the "paste -s -d , -" in include/html.sh to "/usr/bin/paste -s -d , -" and the problem has gone.

Expected behavior

Show all the tables with the builds.

Screenshots

image

Environment

Additional context

joneum commented 1 month ago

+1 with the same problem on CURRENT. I use poudriere-devel.

The hint with the "include/html.so" dont solve the Problem :-(

grafik

jtmack6 commented 3 weeks ago

Same issue was happening with me on two machines running CURRENT and poudriere-devel.

replacing paste with /usr/bin/paste in include/html.sh did the trick.

Thank you @riccp! This issue had been driving me nuts for quite some time.