]> BookStack Code Mirror - devops/log
devops
7 weeks agoDebian 13 script: Fixed mysql use for mariadb, removed composer use main 44/head
Dan Brown [Wed, 7 May 2025 16:25:37 +0000 (17:25 +0100)]
Debian 13 script: Fixed mysql use for mariadb, removed composer use

8 weeks agoStarted a debian 13 script
Dan Brown [Mon, 5 May 2025 23:48:45 +0000 (00:48 +0100)]
Started a debian 13 script

3 months agoUpdated release step order so checksums are created before commit
Dan Brown [Sun, 16 Mar 2025 13:49:01 +0000 (13:49 +0000)]
Updated release step order so checksums are created before commit

3 months agoAdjusted version used for lsio container
Dan Brown [Wed, 12 Mar 2025 12:58:08 +0000 (12:58 +0000)]
Adjusted version used for lsio container

To better fit with their common tag format

3 months agoTweaked store vendor script
Dan Brown [Mon, 10 Mar 2025 21:24:04 +0000 (21:24 +0000)]
Tweaked store vendor script

Changed target directory of checksums.
Changed order to check ZIP existance before overwriting an existing
checksum.

3 months agoAdded script to create & store ZIPped vendor directories
Dan Brown [Mon, 10 Mar 2025 15:41:59 +0000 (15:41 +0000)]
Added script to create & store ZIPped vendor directories

Related to https://github.com/BookStackApp/BookStack/issues/161

4 months agoAdded lsio docker compose example, update license copyright
Dan Brown [Sat, 15 Feb 2025 23:50:59 +0000 (23:50 +0000)]
Added lsio docker compose example, update license copyright

5 months agoUpdated ubuntu scripts for PHP8.2 minimum
Dan Brown [Wed, 8 Jan 2025 17:47:05 +0000 (17:47 +0000)]
Updated ubuntu scripts for PHP8.2 minimum

- Added unsupported warning to 18.04 script
- Updated 22.04 script to install php8.4

8 months agoMerge pull request 'Update config/nginx/subpath-proxy-config' (#43) from Cirvaazny...
Dan Brown [Tue, 29 Oct 2024 10:46:37 +0000 (10:46 +0000)]
Merge pull request 'Update config/nginx/subpath-proxy-config' (#43) from Cirvaazny/devops:main into main

Reviewed-on: https://codeberg.org/bookstack/devops/pulls/43

8 months agoUpdate config/nginx/subpath-proxy-config 43/head
Cirvaazny [Mon, 28 Oct 2024 11:22:53 +0000 (11:22 +0000)]
Update config/nginx/subpath-proxy-config

Update the example config to use the PHP version installed by the shell helper script.

14 months agoMerge pull request #42 from BookStackApp/ubuntu-2404-script
Dan Brown [Sat, 27 Apr 2024 15:48:20 +0000 (16:48 +0100)]
Merge pull request #42 from BookStackApp/ubuntu-2404-script

Ubuntu 24.04 install script

14 months ago24.04 script, switched to php-fpm, force-started services 42/head
Dan Brown [Sat, 27 Apr 2024 15:45:19 +0000 (16:45 +0100)]
24.04 script, switched to php-fpm, force-started services

Switched to PHP-FPM style setup with apache since that's advised to work
better with http2 and other modules.
Started services before use to handle scenarios where auto-service start
is prevented by policy-rc.d file (Common in some virtual/auto-installed
scenarios).

14 months agoStarted 24.04 script
Dan Brown [Sat, 27 Apr 2024 10:04:26 +0000 (11:04 +0100)]
Started 24.04 script

Direct copy of 22.04 script, with updated comments/packages
Tested via VM

15 months agoUpdated release steps script
Dan Brown [Sun, 24 Mar 2024 11:59:01 +0000 (11:59 +0000)]
Updated release steps script

Included licenses building to steps
Added mastodon post to steps

20 months agoUpdated translators update to only update if words contributed
Dan Brown [Mon, 30 Oct 2023 11:40:05 +0000 (11:40 +0000)]
Updated translators update to only update if words contributed

Was getting entries for users with just single approvals within Crowdin

23 months agoUpdated script to use Crowdin V2 API
Dan Brown [Tue, 11 Jul 2023 00:33:32 +0000 (01:33 +0100)]
Updated script to use Crowdin V2 API

2 years agoUpdated blogpost script to match latest format
Dan Brown [Mon, 26 Jun 2023 18:37:07 +0000 (19:37 +0100)]
Updated blogpost script to match latest format

2 years agoUpdated install scripts
Dan Brown [Mon, 13 Feb 2023 18:30:29 +0000 (18:30 +0000)]
Updated install scripts

- Added out-of-support notice to 16.04 script.
- Updated 18.04 and 20.04 scripts to php8.2 for future (and current)
  BookStack version support.

3 years agoMerge pull request #35 from BookStackApp/ubuntu22-04
Dan Brown [Thu, 21 Apr 2022 15:28:45 +0000 (16:28 +0100)]
Merge pull request #35 from BookStackApp/ubuntu22-04

Ubuntu 22.04 Install Script

3 years agoCleaned script logged lines a little 35/head
Dan Brown [Tue, 19 Apr 2022 18:54:10 +0000 (19:54 +0100)]
Cleaned script logged lines a little

3 years agoChanged output of ubuntu 22.04 script, added checks
Dan Brown [Tue, 19 Apr 2022 18:42:46 +0000 (19:42 +0100)]
Changed output of ubuntu 22.04 script, added checks

- Added checks for existing apache/mysql usage before run.
- Segmented script into functions and added custom output handling to
  capture core output into log file while showing simpler, pretty
  messages to the user.
- Changed final output into a cleaner table.

3 years agoMade first set of updates and enhancements for 22.04 script
Dan Brown [Tue, 19 Apr 2022 15:16:30 +0000 (16:16 +0100)]
Made first set of updates and enhancements for 22.04 script

- Added better intro text when running script.
- Added check to ensure it's ran with root/sudo privileges.
- Updated command to get the current IP due to aliases messing up old
  command.
- Updated domain entry text to also mention IP.
- Updated installed packages to use 22.04 ubuntu packages.
- Enhanced bookstack folder/file permission defaults to use the current
  script-running user as the primary owner. Also applied stronger .env
  permissions and ignored permissions in git changes.
- Added addition comments to script

Tested on Ubuntu 22.04 server beta VM.

3 years agoCopied 20.04 install script for 22.04
Dan Brown [Tue, 19 Apr 2022 12:09:04 +0000 (13:09 +0100)]
Copied 20.04 install script for 22.04

3 years agoRenamed old primary branch references
Dan Brown [Sun, 30 Jan 2022 16:40:06 +0000 (16:40 +0000)]
Renamed old primary branch references

3 years agoAdded nginx subpath proxy example config
Dan Brown [Fri, 28 Jan 2022 18:41:01 +0000 (18:41 +0000)]
Added nginx subpath proxy example config

Moved old ubuntu 16.04 config so better align structure with apache
configs and so we can add more nginx confix examples as required.

3 years agoUpdated release steps with formatting and post-deploy checklist
Dan Brown [Mon, 1 Nov 2021 16:59:12 +0000 (16:59 +0000)]
Updated release steps with formatting and post-deploy checklist

3 years agoUpdated changelog script
Dan Brown [Mon, 4 Oct 2021 15:39:56 +0000 (16:39 +0100)]
Updated changelog script

Better aligns to version changes and recent release note convention

3 years agoReformatted apache config
Dan Brown [Wed, 29 Sep 2021 19:39:04 +0000 (20:39 +0100)]
Reformatted apache config

3 years agoAdded example apache config file
Dan Brown [Wed, 29 Sep 2021 19:32:33 +0000 (20:32 +0100)]
Added example apache config file

3 years agoAdded readme, updated license
Dan Brown [Sat, 25 Sep 2021 21:05:35 +0000 (22:05 +0100)]
Added readme, updated license

3 years agoRemoved centos7 install script
Dan Brown [Sat, 25 Sep 2021 20:48:16 +0000 (21:48 +0100)]
Removed centos7 install script

3 years agoMerge branch 'master' of github.com:BookStackApp/devops
Dan Brown [Sat, 25 Sep 2021 20:45:11 +0000 (21:45 +0100)]
Merge branch 'master' of github.com:BookStackApp/devops

3 years agoRemoved useless check-update command
Dan Brown [Sat, 25 Sep 2021 20:44:49 +0000 (21:44 +0100)]
Removed useless check-update command

Closes #23

3 years agoCreate FUNDING.yml
Dan Brown [Sat, 25 Sep 2021 20:43:50 +0000 (21:43 +0100)]
Create FUNDING.yml

3 years agoFixed install script composer setup lines
Dan Brown [Sat, 25 Sep 2021 20:30:29 +0000 (21:30 +0100)]
Fixed install script composer setup lines

3 years agoRemoved old vagrant file
Dan Brown [Sat, 25 Sep 2021 20:19:44 +0000 (21:19 +0100)]
Removed old vagrant file

Don't think anyone really uses this.
Has been on Ubuntu16.04 without mention for 5 years.
Can always add back in if really desired.

3 years agoAdded domain provided check to ubuntu install script
Dan Brown [Sat, 25 Sep 2021 19:59:00 +0000 (20:59 +0100)]
Added domain provided check to ubuntu install script

Related to #30

3 years agoUpdated ubuntu script with shellcheck guidance
Dan Brown [Sat, 25 Sep 2021 19:50:54 +0000 (20:50 +0100)]
Updated ubuntu script with shellcheck guidance

- Also updated with more modern composer auto install.
- Also installed composer to a global location

4 years agoUpdated postcontent title
Dan Brown [Sun, 30 May 2021 10:35:07 +0000 (11:35 +0100)]
Updated postcontent title

4 years agoMerge branch 'master' of github.com:BookStackApp/devops
Dan Brown [Tue, 20 Apr 2021 21:47:32 +0000 (22:47 +0100)]
Merge branch 'master' of github.com:BookStackApp/devops

4 years agoRemoved beta from meta scripts
Dan Brown [Tue, 20 Apr 2021 21:47:15 +0000 (22:47 +0100)]
Removed beta from meta scripts

4 years agoUpdated 18.04 install script to use php7.4
Dan Brown [Sun, 21 Mar 2021 21:30:47 +0000 (21:30 +0000)]
Updated 18.04 install script to use php7.4

As per BookStackApp/BookStack/issues/2648

4 years agoCreated script to automate blogpost creation
Dan Brown [Sat, 6 Feb 2021 15:45:14 +0000 (15:45 +0000)]
Created script to automate blogpost creation

4 years agoMuted composer question, fixed apache log paths
Dan Brown [Sat, 16 Jan 2021 15:56:42 +0000 (15:56 +0000)]
Muted composer question, fixed apache log paths

Composer warning was about running as root.
Muted the warning/prompt from showing, adding the --no-plugins flag for
a little extra safety.
AFAICT, the composer warning shows as since the top-level project's
(BookStack in this case) scripts will be ran as root in this case.
Since the user is already running the whole script as root they'd
already be putting trust in this install process so preventing running
scripts as the root user won't achieve a massive amount.

4 years agoUpdated scripts to set APP_URL to given domain
Dan Brown [Tue, 8 Dec 2020 17:17:13 +0000 (17:17 +0000)]
Updated scripts to set APP_URL to given domain

4 years agoAdded script to format crowdin top member report
Dan Brown [Sun, 20 Sep 2020 08:37:55 +0000 (09:37 +0100)]
Added script to format crowdin top member report

Formats to JSON. Used to create the attribution details
to be included in the blogposts.

5 years agoAdded ubuntu 20.04 install script
Dan Brown [Fri, 24 Apr 2020 14:23:08 +0000 (15:23 +0100)]
Added ubuntu 20.04 install script

5 years agoUpdated the scripts to use composer in --no-dev mode
Dan Brown [Thu, 5 Mar 2020 21:35:15 +0000 (21:35 +0000)]
Updated the scripts to use composer in --no-dev mode

Related to bookstackapp/bookstack#1928

5 years agoUpdated change-log script to handle multiple pages of issues
Dan Brown [Mon, 3 Feb 2020 22:14:21 +0000 (22:14 +0000)]
Updated change-log script to handle multiple pages of issues

5 years agoAdded ny release changelog script, Updated translator script
Dan Brown [Mon, 3 Feb 2020 21:05:13 +0000 (21:05 +0000)]
Added ny release changelog script, Updated translator script

5 years agoUpdated ubuntu 16.04 scripts to use php7.4
Dan Brown [Sun, 19 Jan 2020 14:59:59 +0000 (14:59 +0000)]
Updated ubuntu 16.04 scripts to use php7.4

5 years agoMerge pull request #22 from timoschwarzer/ubuntu-use-newer-php-verion
Dan Brown [Sun, 19 Jan 2020 14:58:01 +0000 (14:58 +0000)]
Merge pull request #22 from timoschwarzer/ubuntu-use-newer-php-verion

Use newer PHP version from PPA in Ubuntu 16.04 script

5 years agoMerge pull request #20 from jrucker2004/patch-1
Dan Brown [Sun, 19 Jan 2020 14:53:44 +0000 (14:53 +0000)]
Merge pull request #20 from jrucker2004/patch-1

adding php7.2 to list of things to install

5 years agoAdded scripts used for deploy and translation attribution
Dan Brown [Fri, 22 Nov 2019 21:49:52 +0000 (21:49 +0000)]
Added scripts used for deploy and translation attribution

5 years agoUse newer PHP version from PPA in Ubuntu 16.04 script 22/head
Timo Schwarzer [Tue, 15 Oct 2019 17:28:34 +0000 (19:28 +0200)]
Use newer PHP version from PPA in Ubuntu 16.04 script

This is required for Laravel 6

5 years agoAdded centos install script
Dan Brown [Sat, 20 Jul 2019 09:54:18 +0000 (10:54 +0100)]
Added centos install script

6 years agoadding php7.2 to list of things to install 20/head
jrucker2004 [Sat, 11 May 2019 01:08:52 +0000 (18:08 -0700)]
adding php7.2 to list of things to install

I ran into a lot of problems using this script.  After running through it manually, and installing php7.2 when I noticed it wasn't included in the list, everything worked fine.

6 years agoAdded extra comments to install script
Dan Brown [Mon, 24 Dec 2018 15:06:55 +0000 (15:06 +0000)]
Added extra comments to install script

6 years agoMerge pull request #15 from aaronstuder/patch-1
Dan Brown [Mon, 24 Dec 2018 15:04:50 +0000 (15:04 +0000)]
Merge pull request #15 from aaronstuder/patch-1

Allow passing domain as argument

6 years agoMerge pull request #18 from jantari/patch-1
Dan Brown [Mon, 24 Dec 2018 14:44:09 +0000 (14:44 +0000)]
Merge pull request #18 from jantari/patch-1

fixed multiple packages not being found

6 years agofixed multiple packages not being found 18/head
jantari [Fri, 21 Dec 2018 13:29:40 +0000 (14:29 +0100)]
fixed multiple packages not being found

The script as it was would error out and not find installation candidates for many of the packages, such as "php7.2-fpm".

This is because on Ubuntu 18.04, the universe repo is not enabled by default. We have to enable it to get access to these packages.

6 years agoUpdate installation-ubuntu-18.04.sh 15/head
aaronstuder [Wed, 7 Nov 2018 22:47:07 +0000 (17:47 -0500)]
Update installation-ubuntu-18.04.sh

Allows passing the domain as an argument. If missing asked as it did before.

7 years agoAdded ubuntu 18.04 install script
Dan Brown [Sat, 19 May 2018 19:30:47 +0000 (20:30 +0100)]
Added ubuntu 18.04 install script

Closes #12

7 years agoMerge pull request #11 from deltamike-x/patch-1
Dan Brown [Mon, 19 Feb 2018 18:57:05 +0000 (18:57 +0000)]
Merge pull request #11 from deltamike-x/patch-1

Update installation-ubuntu-16.04.sh

7 years agoUpdate installation-ubuntu-16.04.sh 11/head
deltamike-x [Tue, 16 Jan 2018 05:51:24 +0000 (22:51 -0700)]
Update installation-ubuntu-16.04.sh

Grammar fixes.

7 years agoMerge pull request #7 from raulnor516/patch-1
Dan Brown [Fri, 15 Dec 2017 18:38:52 +0000 (18:38 +0000)]
Merge pull request #7 from raulnor516/patch-1

Update installation-ubuntu-16.04.sh

7 years agoAdded gitignore
Dan Brown [Fri, 15 Dec 2017 18:38:27 +0000 (18:38 +0000)]
Added gitignore

7 years agoUpdate installation-ubuntu-16.04.sh 7/head
raulnor516 [Sat, 30 Sep 2017 20:52:06 +0000 (15:52 -0500)]
Update installation-ubuntu-16.04.sh

Changed php7.0 to php7.0-fpm so that it stops installing apache2 and related programs, breaking the script.

8 years agoMerge pull request #5 from rrzaripov/add-vagrant
Dan Brown [Sat, 4 Mar 2017 09:15:45 +0000 (09:15 +0000)]
Merge pull request #5 from rrzaripov/add-vagrant

Add Vagrant support for up and run BookStack

8 years agoAdded force to installation script keygen.
Dan Brown [Sat, 4 Mar 2017 08:53:55 +0000 (08:53 +0000)]
Added force to installation script keygen.

Closes #6.
Fixes BookStackApp/BookStack#333.

8 years agoReplace with actual Vagrantfile 5/head
Renat Zaripov [Mon, 24 Oct 2016 19:37:39 +0000 (22:37 +0300)]
Replace with actual Vagrantfile

8 years agoMerge pull request #3 from rrzaripov/use-curl-for-downloading-composer
Dan Brown [Mon, 24 Oct 2016 18:56:06 +0000 (19:56 +0100)]
Merge pull request #3 from rrzaripov/use-curl-for-downloading-composer

Use curl for download composer installer

8 years agoMerge pull request #2 from BajanPro/patch-1
Dan Brown [Mon, 24 Oct 2016 18:53:45 +0000 (19:53 +0100)]
Merge pull request #2 from BajanPro/patch-1

Update installation-ubuntu-16.04.sh

8 years agoAdd Vagrant support for up and run BookStack
Renat Zaripov [Sun, 23 Oct 2016 18:04:14 +0000 (21:04 +0300)]
Add Vagrant support for up and run BookStack

8 years agoUse curl for download composer installer 3/head
Renat Zaripov [Tue, 11 Oct 2016 08:45:01 +0000 (11:45 +0300)]
Use curl for download composer installer

8 years agoUpdate installation-ubuntu-16.04.sh 2/head
Russell Lewis [Fri, 30 Sep 2016 14:43:48 +0000 (10:43 -0400)]
Update installation-ubuntu-16.04.sh

- Removed the default nginx site during install, for ease of use.
- Added info for accessing the BookStack instance in the post-install notes.

8 years agoUpdated ubuntu-16.04 script with curl requirement
Dan Brown [Tue, 20 Sep 2016 17:45:36 +0000 (18:45 +0100)]
Updated ubuntu-16.04 script with curl requirement

Closes #1

8 years agoCompleted install script and added comments
Dan Brown [Mon, 8 Aug 2016 20:20:48 +0000 (21:20 +0100)]
Completed install script and added comments

8 years agoCreate nginx
Dan Brown [Mon, 8 Aug 2016 19:44:01 +0000 (20:44 +0100)]
Create nginx

8 years agoCreate installation-ubuntu-16.04.sh
Dan Brown [Mon, 8 Aug 2016 19:35:37 +0000 (20:35 +0100)]
Create installation-ubuntu-16.04.sh

8 years agoInitial commit
Dan Brown [Mon, 8 Aug 2016 19:30:16 +0000 (20:30 +0100)]
Initial commit