Installing BookStack on Ubuntu Server 22.04 with HTTPS

preview_player
Показать описание
In this video we install BookStack on a fresh Ubuntu server 22.04 VPS instance, creating the Digital Ocean droplet from scratch, then add HTTPS support on our instance using Certbot.

0:00 Intro & Environment
1:19 Creating the Server
3:40 Pointing our Domain
4:24 Accessing the Server
5:12 Installing BookStack
9:20 First BookStack Use
10:49 Adding HTTPS Support
17:10 Updating BookStack APP_URL
19:57 Fixing Mixed Content
23:50 A Note on Security
25:00 Support and Outro

#ubuntu #install #opensource #selfhosted #documentation #wiki #bookstack #foss #digitalocean
Рекомендации по теме
Комментарии
Автор

Just a note on using the smallest 512MB RAM machine sizes, Modern Ubuntu and MySQL setups have trouble installing and starting on this amount of RAM.
You can still make it work but you'd need to add SWAP space before running the install script:

BookStackApp
Автор

Excellent tutorial! I have had many different ideas of possible use cases for bookstack. I will be looking forward to getting it set up so that I can see if any of my ideas bear fruit! Thanks again for a great FOSS project.

jimsmith
Автор

This is so cool, thanks for the info. I had installed bookstack with the script, but was unable to find any instructions to make the site https, until I came across your instructions. I would have never known about fixing the .env file. Thanks!!

melp
Автор

Really glad to use this Software thanks a lot man !

darkmatter
Автор

Thank you for this !! Awesome video !!

JasonsLabVideos
Автор

I’m having trouble with installing and accessing the GUI of BookStack on both Ubuntu 20.04 and 22.04. I’m using a script for the installation, but the progress seems to get stuck, climbing from 5/9 to 9/9 without completing. I’ve tried reinstalling more than 5 times on a fresh VM for each version, but the issue persists. Could anyone provide support or suggestions on how to overcome this issue? Any help would be greatly appreciated!

aimeiradukunda
Автор

How can I add my email for notifications?

moogleworks
Автор

Very nice work. Just a question. How can I enable HTTPS with certificates from local pfsense CA instead of Let's encrypt?

XOvidius
Автор

Awesome guide, thanks. Quick question before I start install process, this video for Ubuntu which is year old and scripted install is straight forward but then I also watched most recent video on Debian 12 install and the steps shown are not same as Ubuntu you went through quite a few changes just to get the software installed and get the site working, is that due to manual install process vs scripted? or is only meant for Debian?

nns
Автор

So...how is this done with self-signed certificates? I have an offline CA at home for my domain and created the CSR, signed everything and even have the key...so how do I enable SSL/HTTPS

SupportSquirrel
Автор

I installed just as you did but using local IP, but when I use a browser to go there, "This page isn't working" :(

RastrojeroDiesel
Автор

I got to the end of the "installing bookstack" section of the video, but unfortunately the page that pulls up when I clicked on the URL was a blank white page. I only paid for the domain and droplet about 10 minutes before doing the following steps and also went with the $4 plan since I'm only testing. Should I just wait it out and it needs more time to register on the domain side?

claytonblack
Автор

no need to have a fixe IP local on the server ?

mobilemike
Автор

Bookstack looks great and I really would like to install. But the installation unfortunately fails for me: Scripts runs through until the end, but in the logs there is a mysql-error: "[ERROR] [MY-010946] [Server] Failed to start mysqld daemon. Check mysqld error log."
Checking the mysql error-log I find: 2022-08-10T15:11:14.132121Z 1 [ERROR] [MY-012962] [InnoDB] The redo log file ./#innodb_redo/#ib_redo5 size 2531328 is not a multiple of innodb_page_size.
I used a pristine 22.04 in an LXC Container.... Any idea what I did wrong?

andreasknoche
Автор

Everything worked just fine as your's through this process but my site never fixed itself like yours did when adding the https cert.
If my url in my .env file stays https, the page wont load. But if I change it back to HTTP, it works fine. Any thoughts?

xXEagleyXx
Автор

can I install bookstack when hestia cp installed in the server?

isuruliyanage
Автор

Great tutorial, just curious is there a performance difference btw. Docker and a normal Ubuntu install?

bootifulghost
Автор

I got a WHITESCREEN from a fresh install of ubuntu22.04 and was updated.

wolffame
Автор

If someone is using this manual to install BookStack on local network (or as a VM), don't forget to put DNS record of BookStack server on your client machine, otherwise the page won't load.

agardasevic