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

Some minor errors in the Installation guide #576

Open
Borekss opened this issue Apr 17, 2024 · 2 comments
Open

Some minor errors in the Installation guide #576

Borekss opened this issue Apr 17, 2024 · 2 comments

Comments

@Borekss
Copy link

Borekss commented Apr 17, 2024

  1. This command has a syntax error on the latest MySQL installed on Ubuntu 22:
    GRANT ALL PRIVILEGES ON patchman.* TO patchman@localhost IDENTIFIED BY 'changeme';

correct commands:
CREATE USER 'patchman'@'localhost' IDENTIFIED BY 'changeme';
GRANT ALL PRIVILEGES ON patchman.* TO 'patchman'@'localhost';

  1. Duplicate command "patchman-manage createsuperuser" in Sync Database section (allready included in Install commands).
  2. Missing information that we need to set custom URL in /etc/patchman/patchman-client.conf or else apt command displays error about not being able to report to patchman.example.com.
@furlongm
Copy link
Owner

furlongm commented Aug 9, 2024

  1. Updated the mysql instructions, thanks!
  2. The commands are not duplicated if installing from source (or if your DB has been switched from sqlite to something else). Happy to reorganise those sections if it makes more sense though.
  3. Not sure what commands are missing for this? Can you open a PR with what you think is missing?

@Borekss
Copy link
Author

Borekss commented Aug 12, 2024

  1. I mean that patchman-client.conf is not mentioned in the Installation guide at all. I suggest to create a new section in this guide named "Client installation" and include three steps
  • install package patchman-client
  • change "patchman.example.com" in /etc/patchman/patchman-client.conf to your_URL
  • test run patchman-client -s http://your_URL/patchman/

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

No branches or pull requests

2 participants