Install BookStack on Fedora 27
-
Thank you @JaredBusch for the excellent write up. I followed your instructions (copy and paste after editing the first section only) and did not receive any errors, however when I navigate to fqdn, it directs me to a page cannot be found page. Looking at the url it looks like is is appending the url twice.
For example:
I enter wiki.example.com
and it navigates me to wiki.example.com/http:/wiki.example.com/loginIf I manually go to wiki.example.com/login I get a login page that is missing images.
Any thoughts?
-
@i3 said in Install BookStack on Fedora 27:
Thank you @JaredBusch for the excellent write up. I followed your instructions (copy and paste after editing the first section only) and did not receive any errors, however when I navigate to fqdn, it directs me to a page cannot be found page. Looking at the url it looks like is is appending the url twice.
For example:
I enter wiki.example.com
and it navigates me to wiki.example.com/http:/wiki.example.com/loginIf I manually go to wiki.example.com/login I get a login page that is missing images.
Any thoughts?
Check the
APP_URL
in your.env
file.grep APP_URL /var/www/html/bookstack/.env
You should see something like this
-
When I did that it showed app_url=http:\wiki.example.com
I edited it to show http:// and it is now working- thank you very much for the quick response!I went back to my original file of what I entered in the app_url and I entered 'http:\wiki.example.com'
Did I do something wrong?
-
@i3 said in Install BookStack on Fedora 27:
When I did that it showed app_url=http:\wiki.example.com
I edited it to show http:// and it is now working- thank you very much for the quick response!I went back to my original file of what I entered in the app_url and I entered 'http:\wiki.example.com'
Did I do something wrong?
Yes. You have to escape the
/
with a\
to make the script work.
Look at the note I had there.# Note 2: You must escape the // hence \/\/ export APP_FQDN='http:\/\/wiki.domain.com'
-
Got it. I misunderstood and simply removed the two //
I understand now.
Again, thank you for the great write up and responses!
-
Yup, loving it.
When you export to PDF, you get a log at the bottom too.
-
@JaredBusch Nice write-up. I am definitely going to be trying this soon.
-
This post is deleted! -
Woop installed and ready to use.
(Does it matter i have no idea what half those commands did, but yet i have a working system )
-
@hobbit666 said in Install BookStack on Fedora 27:
Woop installed and ready to use.
(Does it matter i have no idea what half those commands did, but yet i have a working system )
I guess that was the point of the post, was to make it crazy simple. I suppose whether it matters if you have no idea or not depends on whether you want to learn what those commands do or not
-
Seem to have an issue with pages.
Can add a new one but with no details
But if i change the heading or add some text both editing the Page or when i first create one i get:-
So creating a New Book and Chapter works fine
-
@hobbit666 ignore me rebooted now working
-
@nashbrydges said in Install BookStack on Fedora 27:
@hobbit666 said in Install BookStack on Fedora 27:
Woop installed and ready to use.
(Does it matter i have no idea what half those commands did, but yet i have a working system )
I guess that was the point of the post, was to make it crazy simple. I suppose whether it matters if you have no idea or not depends on whether you want to learn what those commands do or not
That is the point of my guides. They are for both education and getting a working system.
I could easily make it a script like @scottalanmiller did to my Nextcloud 13 guide, but I donβt want to.
I want my guides to educate as well as get the job done. I think the way that I breaks them up with a little blurb in between each set helps give it that right balance. Too much text and people who do not want to learn just move on. Not enough text, and it is basically just a script and the person learns nothing.
-
@jaredbusch said in Install BookStack on Fedora 27:
@nashbrydges said in Install BookStack on Fedora 27:
@hobbit666 said in Install BookStack on Fedora 27:
Woop installed and ready to use.
(Does it matter i have no idea what half those commands did, but yet i have a working system )
I guess that was the point of the post, was to make it crazy simple. I suppose whether it matters if you have no idea or not depends on whether you want to learn what those commands do or not
That is the point of my guides. They are for both education and getting a working system.
I could easily make it a script like @scottalanmiller did to my Nextcloud 13 guide, but I donβt want to.
I want my guides to educate as well as get the job done. I think the way that I breaks them up with a little blurb in between each set helps give it that right balance. Too much text and people who do not want to learn just move on. Not enough text, and it is basically just a script and the person learns nothing.
Learn by doing is an axiom for me.
-
@JaredBusch Just curious, where do you have this located for your internal documentation? On a VPS like Vultr, or do you have this in your own COLO somewhere? I want to deploy bookstack this weekend to check it out and am trying to decide where to put it.
-
@fuznutz04 said in Install BookStack on Fedora 27:
@JaredBusch Just curious, where do you have this located for your internal documentation? On a VPS like Vultr, or do you have this in your own COLO somewhere? I want to deploy bookstack this weekend to check it out and am trying to decide where to put it.
Mine is in a colo. We have a server there, it would be silly not to use it.
Our PBX is on vultr, because that should not go down because I change something in the colo like a fucking genius (been there done that, got the tshirt).
But things like our Nextcloud, Wiki, UNMS, UniFi Controller, etc. those can reside on the colo more cost effectively. At least until I need to upgrade the hardware.
-
@jaredbusch Good to know. Our PBX is Vultr as well, for the same reason. But in our office (not COLO) we host some internal stuff, and I have room for another VM as well. I'm debating on just hosting the wiki at the office, or putting it on Vultr. The downside of hosting at an office is that there are no redundancies for power or internet.
-
@fuznutz04 said in Install BookStack on Fedora 27:
@jaredbusch Good to know. Our PBX is Vultr as well, for the same reason. But in our office (not COLO) we host some internal stuff, and I have room for another VM as well. I'm debating on just hosting the wiki at the office, or putting it on Vultr. The downside of hosting at an office is that there are no redundancies for power or internet.
That would only be a problem if you don't have the chapter named "What do do when the power goes out" saved as a PDF somewhere, lol.
-
@JaredBusch I got this up and running. I like it so far. Then I attempted to use cert bot to secure it, and somehow screwed it up. I do not have a reverse proxy in front of bookstack. What else needs to be changed in the config files? I'm almost there, but the page is now displaying "The site cant provide a secure connection." wiki.mysite.com sent an invalid response.
So it's getting to the site, but something is off.
-
@fuznutz04 OK Getting somewhere. Now getting the default Apache test page . So I'm getting to the server, but not getting to Bookstack.