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

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

Open
4 tasks done
riccp opened this issue May 6, 2024 · 3 comments
Open
4 tasks done
Labels

Comments

@riccp
Copy link

riccp commented May 6, 2024

Prerequisites

  • Have you checked for an existing issue describing your problem?
  • Are you running the latest version?
  • Is your ports tree recent?
  • Is your FreeBSD Host on a supported release? using main (15-CURRENT via pkgbase)

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

  • Host OS [e.g. 12.2 amd64]: 15.0-CURRENT main-n269914-c097967b9af9 amd64
  • Jail OS [e.g. 12.0 powerpc]: 15.0-CURRENT amd64 pkgbase
  • Browser: [e.g. chrome, safari]: any
  • Poudriere Version [e.g. 3.3.1 or git hash or port version]: poudriere-git-3.4.99.20240424 (via pkg install)
  • Ports branch and revision [e.g. 2020Q3 r550754]: latest

Additional context

@riccp riccp added the bug label May 6, 2024
@joneum
Copy link

joneum commented May 20, 2024

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

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

grafik

@jtmack6
Copy link

jtmack6 commented Jun 7, 2024

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.

@grahamperrin
Copy link

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

No branches or pull requests

4 participants