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

Cannot finish CDash installation (v3.5.1) #2464

Closed
kislinsk opened this issue Sep 27, 2024 · 5 comments · Fixed by #2467
Closed

Cannot finish CDash installation (v3.5.1) #2464

kislinsk opened this issue Sep 27, 2024 · 5 comments · Fixed by #2467
Milestone

Comments

@kislinsk
Copy link
Contributor

kislinsk commented Sep 27, 2024

Bug report

I followed the installation guide but as soon as I am supposed to finish the installation in a web browser, I get a The requested URL was not found on this server error, while the URL changes to https://ci.local/projects instead of https://ci.local/install as I would have expected according to the installation guide. The latter URL does not work if used directly and yields the same error. It's like the site is not there at all.

I checked the database with the same credentials as CDash and I can confirm that all the tables were created but are empty. I also did a phpinfo() test from the public directory and it works. There is no log output in storage/logs. Webserver logs do not show anything suspicious as well.

I even used the install.sh script in the top-level directory. All steps seem to succeed just like in the manual installation.

CDash Version

v3.5.1

Additional Information

Debian 12
Apache
MariaDB
PHP 8

@williamjallen
Copy link
Collaborator

The /install route was removed in #2279 but the bare-metal installation directions were missed. If you ran install.sh, everything should be good to go. I just opened #2467 to clear up any confusion about this.

We strongly recommend using our Docker install for new systems if possible.

@williamjallen williamjallen added this to the v3.6 milestone Sep 30, 2024
github-merge-queue bot pushed a commit that referenced this issue Oct 2, 2024
Most of the install steps in `install.md` are no longer necessary since
`install.sh` runs all of them. Additionally, the `/install` route was
removed entirely in #2279, in favor of using environment variables
exclusively.

Closes #2464
@kislinsk
Copy link
Contributor Author

kislinsk commented Oct 7, 2024

Thanks for your answer. I do not feel like this issue is resolved, though. I also executed the install script, leading to the very same result. I'd really like to understand why nothing shows up. Several other server applications work as intended - it's only CDash giving me trouble unfortunately. Is there some flags or environment variables that I can set to force the underlying framework of CDash to emit some kind of log/error output for example?

@williamjallen
Copy link
Collaborator

I'm not quite sure what you're expecting. Are you having trouble with configuration options or otherwise experiencing errors? From what you described, it sounds like CDash is functioning normally:

  • The /install route has been removed, so it makes sense for you to be seeing a 404 page for that.
  • CDash redirects the root path to /projects by default, so it sounds like that part is functioning as expected for you.
  • A new CDash system will have nothing in the database tables by default. You need to make a project, and then submissions to that project, to populate the database.
  • From what you've described, it sounds like you might just not have done anything which generates logs. What do you have LOG_CHANNEL set to (if it's set)?

@kislinsk
Copy link
Contributor Author

kislinsk commented Oct 8, 2024

Well, I expect that when following the official instructions and using the official install script I would see at least something in the browser instead of getting a blank page, resp. a server error as described above.

As I can serve my own PHP files from the CDash public directory I assume that the issue is not my server configuration. Also, something is at least trying to redirect to /projects.

@williamjallen
Copy link
Collaborator

Are you seeing any errors or a blank page at /projects? Perhaps a screenshot of what you see would help. I'm a little confused about what exactly the issue is here. The docs were incorrect, but were updated in #2467 to remove the part about /install.

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

Successfully merging a pull request may close this issue.

2 participants