Package Details: bookstack 21.11.1-1

Git Clone URL: (read-only, click to copy)
Package Base: bookstack
Description: A simple, self-hosted, easy-to-use platform for organising and storing information
Upstream URL:
Licenses: MIT
Submitter: smuise
Maintainer: smuise
Last Packager: smuise
Votes: 5
Popularity: 0.104034
First Submitted: 2020-03-27 00:11
Last Updated: 2021-11-27 02:59

Latest Comments

1 2 Next › Last »

C0rn3j commented on 2021-11-18 10:48

Again broke on update due to the same reason as my comment below.

C0rn3j commented on 2021-10-23 15:23

From my limited composer understanding and conversation I've had on Discord with BS author, the following should be ran in the PKGBUILD as the --no-scripts flags prevents it from being run otherwise.

/usr/bin/php /usr/share/webapps/bookstack/artisan package:discover --ansi

I've had my BS instance die on my after upgrading to 21.08.6 and it was saved by running composer dump-autoload, which ran the step mentioned above.

C0rn3j commented on 2021-10-02 23:53

I've created a BookStack upgrade hook, to be (possibly) saved as /etc/pacman.d/hooks/bookstack.hook for those interested in automating migrations after updates:

C0rn3j commented on 2021-06-28 15:57

Bookstack supports PHP 8 since 21.04, please bump up the dependencies to just 'php', thanks!

qtmax commented on 2021-06-22 20:59

Could you please create a separate user for bookstack, following the guidelines, instead of using http? This will help isolate different webapps from each other.

djmattyg007 commented on 2021-03-24 08:11

Thanks for your help. Would you be able to remove the top-level tests directory from the package? It would also be good to delete other dev-only files like phpcs.xml and phpunit.xml.

AlphaJack commented on 2021-03-23 07:10

For Laravel commands I do sudo -u http bash, cd /usr/share/webapps/bookstack and php artisan ..., or just cd /usr/share/webapps/bookstack && sudo -u http php artisan ....

In this case http is the user that runs both NginX and PHP-FPM, it doesn't need write access to the whole /usr/share/webapps/bookstack, but only to bootstrap/cache and storage folders

djmattyg007 commented on 2021-03-23 00:12

Thanks @smuise for such a quick update. I'm sure I remember seeing some official documentation stating --optimize-autoloader should be passed, but I can't find it now.

I was also wondering what you recommend for running various Laravel commands such as php artisan optimize, php artisan migrate, php artisan cache:clear, etc. Also, the installation is run with --no-scripts, which means things like the post-autoload-dump scripts don't get run:

How do you normally handle all of this?

smuise commented on 2021-03-22 23:13

Thanks @djmattyg007,

I've removed php7-tidy & fixed the licenses array.

As far as --optimize-autoloader that's currently set to true in the source's composer.json ( so declaring it in composer install seems redundant.

Thanks again!

djmattyg007 commented on 2021-03-22 13:22

The PHP tidy extension is no longer required, as of v0.31.0:

It would be great if you could remove it from the dependencies list in the PKGBUILD.