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

curl: option --json: is unknown when attempting to create users #1

Open
melat0nin opened this issue Jan 30, 2023 · 2 comments
Open

Comments

@melat0nin
Copy link

I'm running bs and am able to query books, users, etc., but when I attempt to create a user (including using the example command in the readme) I get the following error:

me$ ./bs users create -n "Billy Bob" -e "billybob@example.org" -L "Klingon" -p "b1llyb0b123"
curl: option --json: is unknown
curl: try 'curl --help' or 'curl --manual' for more information

I'm running Ubuntu 22.04 and BookStack 22.11.1, connecting remotely.

Any pointers would be welcome -- I'll be migrating from another wiki soon and I think the tool will be invaluable!

@sjimellor-jr
Copy link

Ubuntu 22.04 has curl 7.81. --json was added in curl 7.82. I have modified the script to use the older syntax - sebble@acfd281

@melat0nin
Copy link
Author

That works great, thank you!

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