[Support Request]: Update to v21.12 errors #2538

Closed
opened 2026-02-05 04:27:08 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @ShowMeIT on GitHub (Dec 26, 2021).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hi,

After running the following command to update to 21.12 I received multiple errors stating /var/www/bookstack/vendor/xxx did not exist.

After creating /var/www/bookstack/vendor and /vendor/xxxx where xxxx is the subdirectories requested.

This seemed to allow the update to progress till the point where it wants to delete files from the /vendor/xxx folders. IT now gives the attached error.

Is this something that can be resolved?

Thanks,
Andrew
bookstack update
.

Exact BookStack Version

v.21.08

Log Content

No response

PHP Version

No response

Hosting Environment

Ubuntu 20.04 LTS on VirtualBox Host

Originally created by @ShowMeIT on GitHub (Dec 26, 2021). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario Hi, After running the following command to update to 21.12 I received multiple errors stating /var/www/bookstack/vendor/xxx did not exist. After creating /var/www/bookstack/vendor and /vendor/xxxx where xxxx is the subdirectories requested. This seemed to allow the update to progress till the point where it wants to delete files from the /vendor/xxx folders. IT now gives the attached error. Is this something that can be resolved? Thanks, Andrew ![bookstack update](https://user-images.githubusercontent.com/51915383/147405318-9e1b2177-2cc7-4db1-9718-63a62027ab95.png) . ### Exact BookStack Version v.21.08 ### Log Content _No response_ ### PHP Version _No response_ ### Hosting Environment Ubuntu 20.04 LTS on VirtualBox Host
OVERLORD added the 🐕 Support label 2026-02-05 04:27:08 +03:00
Author
Owner

@C0rn3j commented on GitHub (Dec 26, 2021):

"After running the following command to update to 21.12"

What command? You only screenshotted a small portion of your window.

It would be helpful if you posted the full input/output and possibly posted your PHP version.

@C0rn3j commented on GitHub (Dec 26, 2021): "After running the following command to update to 21.12" What command? You only screenshotted a small portion of your window. It would be helpful if you posted the full input/output and possibly posted your PHP version.
Author
Owner

@ShowMeIT commented on GitHub (Dec 27, 2021):

Thanks C0rn3j,

Apologies for not putting the command in the original message, terminal output and command I ran below:


g@books:/var/www/bookstack$ sudo git pull origin release && composer instal                                                                                                                                                             l --no-dev && php artisan migrate

hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
From https://github.com/BookStackApp/BookStack
 * branch              release    -> FETCH_HEAD
Already up to date.
> @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/ca                                                                                                                                                             che/services.php');"
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 25 installs, 47 updates, 10 removals
  - Downloading composer/package-versions-deprecated (1.11.99.4)
  - Downloading composer/package-versions-deprecated (1.11.99.4)
  - Downloading composer/package-versions-deprecated (1.11.99.4)
  - Downloading composer/package-versions-deprecated (1.11.99.4)
    Failed to download composer/package-versions-deprecated from dist: The "http                                                                                                                                                             s://api.github.com/repos/composer/package-versions-deprecated/zipball/b174585d1f                                                                                                                                                             e49ceed21928a945138948cb394600" file could not be written to /var/www/bookstack/                                                                                                                                                             vendor/composer/tmp-af5d9b11bc60a4c584d663a82e012264: failed to open stream: Per                                                                                                                                                             mission denied
    Now trying to download from source
  - Syncing composer/package-versions-deprecated (1.11.99.4) into cache
    Failed to download aws/aws-crt-php from dist: /var/www/bookstack/vendor/aws/                                                                                                                                                             aws-crt-php does not exist and could not be created.
    Now trying to download from source
  - Syncing aws/aws-crt-php (v1.0.2) into cache
    Failed to download dasprid/enum from dist: /var/www/bookstack/vendor/dasprid                                                                                                                                                             /enum does not exist and could not be created.
    Now trying to download from source
  - Syncing dasprid/enum (1.0.3) into cache
    Failed to download bacon/bacon-qr-code from dist: /var/www/bookstack/vendor/                                                                                                                                                             bacon/bacon-qr-code does not exist and could not be created.
    Now trying to download from source
  - Syncing bacon/bacon-qr-code (2.0.4) into cache
    Failed to download voku/portable-ascii from dist: /var/www/bookstack/vendor/                                                                                                                                                             voku/portable-ascii does not exist and could not be created.
    Now trying to download from source
  - Syncing voku/portable-ascii (1.5.6) into cache
  - Downloading symfony/polyfill-php80 (v1.23.1)
  - Downloading symfony/polyfill-php80 (v1.23.1)
  - Downloading symfony/polyfill-php80 (v1.23.1)
  - Downloading symfony/polyfill-php80 (v1.23.1)
    Failed to download symfony/polyfill-php80 from dist: The "https://api.github                                                                                                                                                             .com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547                                                                                                                                                             be" file could not be written to /var/www/bookstack/vendor/composer/tmp-8b5849b1                                                                                                                                                             081add14e4bc0d94be892dde: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/polyfill-php80 (v1.23.1) into cache
  - Downloading symfony/polyfill-mbstring (v1.23.1)
  - Downloading symfony/polyfill-mbstring (v1.23.1)
  - Downloading symfony/polyfill-mbstring (v1.23.1)
  - Downloading symfony/polyfill-mbstring (v1.23.1)
    Failed to download symfony/polyfill-mbstring from dist: The "https://api.git                                                                                                                                                             hub.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150                                                                                                                                                             bbeabfc6" file could not be written to /var/www/bookstack/vendor/composer/tmp-45                                                                                                                                                             e0da24cd644d6ee1e6502c3191b94e: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/polyfill-mbstring (v1.23.1) into cache
  - Downloading phpoption/phpoption (1.8.1)
  - Downloading phpoption/phpoption (1.8.1)
  - Downloading phpoption/phpoption (1.8.1)
  - Downloading phpoption/phpoption (1.8.1)
    Failed to download phpoption/phpoption from dist: The "https://api.github.co                                                                                                                                                             m/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15"                                                                                                                                                              file could not be written to /var/www/bookstack/vendor/composer/tmp-a4b4eff4402c                                                                                                                                                             c97ad93a487e87f5099c: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing phpoption/phpoption (1.8.1) into cache
    Failed to download graham-campbell/result-type from dist: /var/www/bookstack                                                                                                                                                             /vendor/graham-campbell/result-type does not exist and could not be created.
    Now trying to download from source
  - Syncing graham-campbell/result-type (v1.0.4) into cache
  - Downloading vlucas/phpdotenv (v5.4.1)
  - Downloading vlucas/phpdotenv (v5.4.1)
  - Downloading vlucas/phpdotenv (v5.4.1)
  - Downloading vlucas/phpdotenv (v5.4.1)
    Failed to download vlucas/phpdotenv from dist: The "https://api.github.com/r                                                                                                                                                             epos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f" file cou                                                                                                                                                             ld not be written to /var/www/bookstack/vendor/composer/tmp-6dbda383ec48a03d18e3                                                                                                                                                             6001751e1773: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing vlucas/phpdotenv (v5.4.1) into cache
  - Downloading symfony/css-selector (v5.4.0)
  - Downloading symfony/css-selector (v5.4.0)
  - Downloading symfony/css-selector (v5.4.0)
  - Downloading symfony/css-selector (v5.4.0)
    Failed to download symfony/css-selector from dist: The "https://api.github.c                                                                                                                                                             om/repos/symfony/css-selector/zipball/44b933f98bb4b5220d10bed9ce5662f8c2d13dcc"                                                                                                                                                              file could not be written to /var/www/bookstack/vendor/composer/tmp-403483e0f8f4                                                                                                                                                             5c54cac6854250241b5d: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/css-selector (v5.4.0) into cache
  - Downloading tijsverkoyen/css-to-inline-styles (2.2.4)
  - Downloading tijsverkoyen/css-to-inline-styles (2.2.4)
  - Downloading tijsverkoyen/css-to-inline-styles (2.2.4)
  - Downloading tijsverkoyen/css-to-inline-styles (2.2.4)
    Failed to download tijsverkoyen/css-to-inline-styles from dist: The "https:/                                                                                                                                                             /api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0                                                                                                                                                             c140f68c6182e337d5b1c" file could not be written to /var/www/bookstack/vendor/co                                                                                                                                                             mposer/tmp-743cee140c4bafbaf0b95757587f9d3e: failed to open stream: Permission d                                                                                                                                                             enied
    Now trying to download from source
  - Syncing tijsverkoyen/css-to-inline-styles (2.2.4) into cache
  - Downloading symfony/var-dumper (v5.4.1)
  - Downloading symfony/var-dumper (v5.4.1)
  - Downloading symfony/var-dumper (v5.4.1)
  - Downloading symfony/var-dumper (v5.4.1)
    Failed to download symfony/var-dumper from dist: The "https://api.github.com                                                                                                                                                             /repos/symfony/var-dumper/zipball/2366ac8d8abe0c077844613c1a4f0c0a9f522dcc" file                                                                                                                                                              could not be written to /var/www/bookstack/vendor/composer/tmp-d840a87d4e4579ab                                                                                                                                                             122322171a96de30: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/var-dumper (v5.4.1) into cache
  - Downloading symfony/deprecation-contracts (v2.5.0)
  - Downloading symfony/deprecation-contracts (v2.5.0)
  - Downloading symfony/deprecation-contracts (v2.5.0)
  - Downloading symfony/deprecation-contracts (v2.5.0)
    Failed to download symfony/deprecation-contracts from dist: The "https://api                                                                                                                                                             .github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce973614                                                                                                                                                             6d1c57c2780598a8" file could not be written to /var/www/bookstack/vendor/compose                                                                                                                                                             r/tmp-4273818390819802f0f4c2d20cbce872: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/deprecation-contracts (v2.5.0) into cache
  - Downloading symfony/routing (v5.4.0)
  - Downloading symfony/routing (v5.4.0)
  - Downloading symfony/routing (v5.4.0)
  - Downloading symfony/routing (v5.4.0)
    Failed to download symfony/routing from dist: The "https://api.github.com/re                                                                                                                                                             pos/symfony/routing/zipball/9eeae93c32ca86746e5d38f3679e9569981038b1" file could                                                                                                                                                              not be written to /var/www/bookstack/vendor/composer/tmp-32c7575a7b16000cc0bec1                                                                                                                                                             e4b8f6b262: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/routing (v5.4.0) into cache
  - Downloading symfony/process (v5.4.0)
  - Downloading symfony/process (v5.4.0)
  - Downloading symfony/process (v5.4.0)
  - Downloading symfony/process (v5.4.0)
    Failed to download symfony/process from dist: The "https://api.github.com/re                                                                                                                                                             pos/symfony/process/zipball/5be20b3830f726e019162b26223110c8f47cf274" file could                                                                                                                                                              not be written to /var/www/bookstack/vendor/composer/tmp-7ca4ec124d07cf4376cd18                                                                                                                                                             e60ccc11b8: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/process (v5.4.0) into cache
  - Downloading symfony/mime (v5.4.0)
  - Downloading symfony/mime (v5.4.0)
  - Downloading symfony/mime (v5.4.0)
  - Downloading symfony/mime (v5.4.0)
    Failed to download symfony/mime from dist: The "https://api.github.com/repos                                                                                                                                                             /symfony/mime/zipball/d4365000217b67c01acff407573906ff91bcfb34" file could not b                                                                                                                                                             e written to /var/www/bookstack/vendor/composer/tmp-fbfbe3a1e570a30542d33ef134c3                                                                                                                                                             195d: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/mime (v5.4.0) into cache
  - Downloading symfony/http-foundation (v5.4.1)
  - Downloading symfony/http-foundation (v5.4.1)
  - Downloading symfony/http-foundation (v5.4.1)
  - Downloading symfony/http-foundation (v5.4.1)
    Failed to download symfony/http-foundation from dist: The "https://api.githu                                                                                                                                                             b.com/repos/symfony/http-foundation/zipball/5dad3780023a707f4c24beac7d57aead85c1                                                                                                                                                             ce3c" file could not be written to /var/www/bookstack/vendor/composer/tmp-9691a2                                                                                                                                                             92b3ad029b17413e5f89944c89: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/http-foundation (v5.4.1) into cache
    Failed to download psr/event-dispatcher from dist: /var/www/bookstack/vendor                                                                                                                                                             /psr/event-dispatcher does not exist and could not be created.
    Now trying to download from source
  - Syncing psr/event-dispatcher (1.0.0) into cache
  - Downloading symfony/event-dispatcher-contracts (v2.5.0)
  - Downloading symfony/event-dispatcher-contracts (v2.5.0)
  - Downloading symfony/event-dispatcher-contracts (v2.5.0)
  - Downloading symfony/event-dispatcher-contracts (v2.5.0)
    Failed to download symfony/event-dispatcher-contracts from dist: The "https:                                                                                                                                                             //api.github.com/repos/symfony/event-dispatcher-contracts/zipball/66bea3b09be616                                                                                                                                                             13cd3b4043a65a8ec48cfa6d2a" file could not be written to /var/www/bookstack/vend                                                                                                                                                             or/composer/tmp-4abe8d98c6efed7614301d88c3b21e3f: failed to open stream: Permiss                                                                                                                                                             ion denied
    Now trying to download from source
  - Syncing symfony/event-dispatcher-contracts (v2.5.0) into cache
  - Downloading symfony/event-dispatcher (v5.4.0)
  - Downloading symfony/event-dispatcher (v5.4.0)
  - Downloading symfony/event-dispatcher (v5.4.0)
  - Downloading symfony/event-dispatcher (v5.4.0)
    Failed to download symfony/event-dispatcher from dist: The "https://api.gith                                                                                                                                                             ub.com/repos/symfony/event-dispatcher/zipball/27d39ae126352b9fa3be5e196ccf461789                                                                                                                                                             7be3eb" file could not be written to /var/www/bookstack/vendor/composer/tmp-2eec                                                                                                                                                             161ea53602db6796ebecdacbaa60: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/event-dispatcher (v5.4.0) into cache
  - Downloading symfony/error-handler (v5.4.1)
  - Downloading symfony/error-handler (v5.4.1)
  - Downloading symfony/error-handler (v5.4.1)
  - Downloading symfony/error-handler (v5.4.1)
    Failed to download symfony/error-handler from dist: The "https://api.github.                                                                                                                                                             com/repos/symfony/error-handler/zipball/1e3cb3565af49cd5f93e5787500134500a29f0d9                                                                                                                                                             " file could not be written to /var/www/bookstack/vendor/composer/tmp-4f5fb4b3a7                                                                                                                                                             9b00ea966f479fde13aa28: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/error-handler (v5.4.1) into cache
  - Downloading symfony/http-kernel (v5.4.1)
  - Downloading symfony/http-kernel (v5.4.1)
  - Downloading symfony/http-kernel (v5.4.1)
  - Downloading symfony/http-kernel (v5.4.1)
    Failed to download symfony/http-kernel from dist: The "https://api.github.co                                                                                                                                                             m/repos/symfony/http-kernel/zipball/2bdace75c9d6a6eec7e318801b7dc87a72375052" fi                                                                                                                                                             le could not be written to /var/www/bookstack/vendor/composer/tmp-d6f5f55fcd4799                                                                                                                                                             b4a633f9df69963828: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/http-kernel (v5.4.1) into cache
  - Downloading symfony/finder (v5.4.0)
  - Downloading symfony/finder (v5.4.0)
  - Downloading symfony/finder (v5.4.0)
  - Downloading symfony/finder (v5.4.0)
    Failed to download symfony/finder from dist: The "https://api.github.com/rep                                                                                                                                                             os/symfony/finder/zipball/d2f29dac98e96a98be467627bd49c2efb1bc2590" file could n                                                                                                                                                             ot be written to /var/www/bookstack/vendor/composer/tmp-3a878a8fdade09887367d7ba                                                                                                                                                             81bad477: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/finder (v5.4.0) into cache
    Failed to download symfony/polyfill-intl-grapheme from dist: /var/www/bookst                                                                                                                                                             ack/vendor/symfony/polyfill-intl-grapheme does not exist and could not be create                                                                                                                                                             d.
    Now trying to download from source
  - Syncing symfony/polyfill-intl-grapheme (v1.23.1) into cache
    Failed to download symfony/string from dist: /var/www/bookstack/vendor/symfo                                                                                                                                                             ny/string does not exist and could not be created.
    Now trying to download from source
  - Syncing symfony/string (v5.4.0) into cache
  - Downloading symfony/service-contracts (v2.5.0)
  - Downloading symfony/service-contracts (v2.5.0)
  - Downloading symfony/service-contracts (v2.5.0)
  - Downloading symfony/service-contracts (v2.5.0)
    Failed to download symfony/service-contracts from dist: The "https://api.git                                                                                                                                                             hub.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07d                                                                                                                                                             ec58b0fc" file could not be written to /var/www/bookstack/vendor/composer/tmp-d1                                                                                                                                                             271c007bdcda3f8e62c468d5871d66: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/service-contracts (v2.5.0) into cache
  - Downloading symfony/console (v5.4.1)
  - Downloading symfony/console (v5.4.1)
  - Downloading symfony/console (v5.4.1)
  - Downloading symfony/console (v5.4.1)
    Failed to download symfony/console from dist: The "https://api.github.com/re                                                                                                                                                             pos/symfony/console/zipball/9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4" file could                                                                                                                                                              not be written to /var/www/bookstack/vendor/composer/tmp-f95e6d95c99f4d5aed5f2f                                                                                                                                                             9b2709b5ef: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/console (v5.4.1) into cache
  - Downloading swiftmailer/swiftmailer (v6.3.0)
  - Downloading swiftmailer/swiftmailer (v6.3.0)
  - Downloading swiftmailer/swiftmailer (v6.3.0)
  - Downloading swiftmailer/swiftmailer (v6.3.0)
    Failed to download swiftmailer/swiftmailer from dist: The "https://api.githu                                                                                                                                                             b.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec                                                                                                                                                             654c" file could not be written to /var/www/bookstack/vendor/composer/tmp-2f8d59                                                                                                                                                             241626b35ab7fa3601a27a4957: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing swiftmailer/swiftmailer (v6.3.0) into cache
    Failed to download symfony/polyfill-php81 from dist: /var/www/bookstack/vend                                                                                                                                                             or/symfony/polyfill-php81 does not exist and could not be created.
    Now trying to download from source
  - Syncing symfony/polyfill-php81 (v1.23.0) into cache
    Failed to download ramsey/collection from dist: /var/www/bookstack/vendor/ra                                                                                                                                                             msey/collection does not exist and could not be created.
    Now trying to download from source
  - Syncing ramsey/collection (1.2.2) into cache
    Failed to download brick/math from dist: /var/www/bookstack/vendor/brick/mat                                                                                                                                                             h does not exist and could not be created.
    Now trying to download from source
  - Syncing brick/math (0.9.3) into cache
  - Downloading ramsey/uuid (4.2.3)
  - Downloading ramsey/uuid (4.2.3)
  - Downloading ramsey/uuid (4.2.3)
  - Downloading ramsey/uuid (4.2.3)
    Failed to download ramsey/uuid from dist: The "https://api.github.com/repos/                                                                                                                                                             ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" file could not be                                                                                                                                                              written to /var/www/bookstack/vendor/composer/tmp-b815889189bbf8ccf590733a50c503                                                                                                                                                             b7: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing ramsey/uuid (4.2.3) into cache
  - Downloading symfony/translation-contracts (v2.5.0)
  - Downloading symfony/translation-contracts (v2.5.0)
  - Downloading symfony/translation-contracts (v2.5.0)
  - Downloading symfony/translation-contracts (v2.5.0)
    Failed to download symfony/translation-contracts from dist: The "https://api                                                                                                                                                             .github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671                                                                                                                                                             fc2620a98aae1b1e" file could not be written to /var/www/bookstack/vendor/compose                                                                                                                                                             r/tmp-4b8218426951c795f24b3220bc7f28dd: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/translation-contracts (v2.5.0) into cache
  - Downloading symfony/translation (v5.4.1)
  - Downloading symfony/translation (v5.4.1)
  - Downloading symfony/translation (v5.4.1)
  - Downloading symfony/translation (v5.4.1)
    Failed to download symfony/translation from dist: The "https://api.github.co                                                                                                                                                             m/repos/symfony/translation/zipball/8c82cd35ed861236138d5ae1c78c0c7ebcd62107" fi                                                                                                                                                             le could not be written to /var/www/bookstack/vendor/composer/tmp-015ddeb1786cf5                                                                                                                                                             0aebc15f0df591ead3: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing symfony/translation (v5.4.1) into cache
  - Downloading nesbot/carbon (2.55.2)
  - Downloading nesbot/carbon (2.55.2)
  - Downloading nesbot/carbon (2.55.2)
  - Downloading nesbot/carbon (2.55.2)
    Failed to download nesbot/carbon from dist: The "https://api.github.com/repo                                                                                                                                                             s/briannesbitt/Carbon/zipball/8c2a18ce3e67c34efc1b29f64fe61304368259a2" file cou                                                                                                                                                             ld not be written to /var/www/bookstack/vendor/composer/tmp-d1e414fe8e0f503a3873                                                                                                                                                             6d629dc76567: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing nesbot/carbon (2.55.2) into cache
  - Downloading monolog/monolog (2.3.5)
  - Downloading monolog/monolog (2.3.5)
  - Downloading monolog/monolog (2.3.5)
  - Downloading monolog/monolog (2.3.5)
    Failed to download monolog/monolog from dist: The "https://api.github.com/re                                                                                                                                                             pos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9" file could                                                                                                                                                              not be written to /var/www/bookstack/vendor/composer/tmp-e7ba5b174fd6786702aa92                                                                                                                                                             319c81c07c: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing monolog/monolog (2.3.5) into cache
  - Downloading league/mime-type-detection (1.9.0)
  - Downloading league/mime-type-detection (1.9.0)
  - Downloading league/mime-type-detection (1.9.0)
  - Downloading league/mime-type-detection (1.9.0)
    Failed to download league/mime-type-detection from dist: The "https://api.gi                                                                                                                                                             thub.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc9278                                                                                                                                                             63d47309b4c23e69" file could not be written to /var/www/bookstack/vendor/compose                                                                                                                                                             r/tmp-25da0f6ede2f2c0cc6cb02ae0cb9ed40: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing league/mime-type-detection (1.9.0) into cache
  - Downloading league/flysystem (1.1.9)
  - Downloading league/flysystem (1.1.9)
  - Downloading league/flysystem (1.1.9)
  - Downloading league/flysystem (1.1.9)
    Failed to download league/flysystem from dist: The "https://api.github.com/r                                                                                                                                                             epos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99" fi                                                                                                                                                             le could not be written to /var/www/bookstack/vendor/composer/tmp-814c7ad3913297                                                                                                                                                             7c187ad168d2d7f7d1: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing league/flysystem (1.1.9) into cache
  - Downloading league/commonmark (1.6.6)
  - Downloading league/commonmark (1.6.6)
  - Downloading league/commonmark (1.6.6)
  - Downloading league/commonmark (1.6.6)
    Failed to download league/commonmark from dist: The "https://api.github.com/                                                                                                                                                             repos/thephpleague/commonmark/zipball/c4228d11e30d7493c6836d20872f9582d8ba6dcf"                                                                                                                                                              file could not be written to /var/www/bookstack/vendor/composer/tmp-a5b4b2204039                                                                                                                                                             89c06331ed050737f057: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing league/commonmark (1.6.6) into cache
    Failed to download laravel/serializable-closure from dist: /var/www/bookstac                                                                                                                                                             k/vendor/laravel/serializable-closure does not exist and could not be created.
    Now trying to download from source
  - Syncing laravel/serializable-closure (v1.0.5) into cache
    Failed to download webmozart/assert from dist: /var/www/bookstack/vendor/web                                                                                                                                                             mozart/assert does not exist and could not be created.
    Now trying to download from source
  - Syncing webmozart/assert (1.10.0) into cache
  - Downloading dragonmantank/cron-expression (v3.1.0)
  - Downloading dragonmantank/cron-expression (v3.1.0)
  - Downloading dragonmantank/cron-expression (v3.1.0)
  - Downloading dragonmantank/cron-expression (v3.1.0)
    Failed to download dragonmantank/cron-expression from dist: The "https://api                                                                                                                                                             .github.com/repos/dragonmantank/cron-expression/zipball/7a8c6e56ab3ffcc538d05e81                                                                                                                                                             55bb42269abf1a0c" file could not be written to /var/www/bookstack/vendor/compose                                                                                                                                                             r/tmp-e5cd405a6407e1c3788631b857f11742: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing dragonmantank/cron-expression (v3.1.0) into cache
  - Downloading doctrine/inflector (2.0.4)
  - Downloading doctrine/inflector (2.0.4)
  - Downloading doctrine/inflector (2.0.4)
  - Downloading doctrine/inflector (2.0.4)
    Failed to download doctrine/inflector from dist: The "https://api.github.com                                                                                                                                                             /repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" file                                                                                                                                                              could not be written to /var/www/bookstack/vendor/composer/tmp-c88a71e6f94e2ebc                                                                                                                                                             0125538747b2405b: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing doctrine/inflector (2.0.4) into cache
  - Downloading laravel/framework (v8.76.1)
  - Downloading laravel/framework (v8.76.1)
  - Downloading laravel/framework (v8.76.1)
  - Downloading laravel/framework (v8.76.1)
    Failed to download laravel/framework from dist: The "https://api.github.com/                                                                                                                                                             repos/laravel/framework/zipball/83fe447ae964dc5f1f829d25fa2f6042d9099834" file c                                                                                                                                                             ould not be written to /var/www/bookstack/vendor/composer/tmp-d6ec3e38bfcebf1c2c                                                                                                                                                             55bf215599f37e: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing laravel/framework (v8.76.1) into cache
  - Downloading sabberworm/php-css-parser (8.4.0)
  - Downloading sabberworm/php-css-parser (8.4.0)
  - Downloading sabberworm/php-css-parser (8.4.0)
  - Downloading sabberworm/php-css-parser (8.4.0)
    Failed to download sabberworm/php-css-parser from dist: The "https://api.git                                                                                                                                                             hub.com/repos/sabberworm/PHP-CSS-Parser/zipball/e41d2140031d533348b2192a83f02d8d                                                                                                                                                             d8a71d30" file could not be written to /var/www/bookstack/vendor/composer/tmp-c6                                                                                                                                                             608220af5d20096fdf6da336a3d882: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing sabberworm/php-css-parser (8.4.0) into cache
  - Downloading dompdf/dompdf (v1.1.1)
  - Downloading dompdf/dompdf (v1.1.1)
  - Downloading dompdf/dompdf (v1.1.1)
  - Downloading dompdf/dompdf (v1.1.1)
    Failed to download dompdf/dompdf from dist: The "https://api.github.com/repo                                                                                                                                                             s/dompdf/dompdf/zipball/de4aad040737a89fae2129cdeb0f79c45513128d" file could not                                                                                                                                                              be written to /var/www/bookstack/vendor/composer/tmp-1013985d42dbae4b7f9304a46c                                                                                                                                                             ac2c22: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing dompdf/dompdf (v1.1.1) into cache
  - Downloading knplabs/knp-snappy (v1.3.1)
  - Downloading knplabs/knp-snappy (v1.3.1)
  - Downloading knplabs/knp-snappy (v1.3.1)
  - Downloading knplabs/knp-snappy (v1.3.1)
    Failed to download knplabs/knp-snappy from dist: The "https://api.github.com                                                                                                                                                             /repos/KnpLabs/snappy/zipball/349c2e872bbeb15dff825a17dd92ea9c6ae4120e" file cou                                                                                                                                                             ld not be written to /var/www/bookstack/vendor/composer/tmp-4199119c8850a1d9bd3c                                                                                                                                                             ff1c5479ad96: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing knplabs/knp-snappy (v1.3.1) into cache
    Failed to download psr/cache from dist: /var/www/bookstack/vendor/psr/cache                                                                                                                                                              does not exist and could not be created.
    Now trying to download from source
  - Syncing psr/cache (1.0.1) into cache
  - Downloading doctrine/cache (2.1.1)
  - Downloading doctrine/cache (2.1.1)
  - Downloading doctrine/cache (2.1.1)
  - Downloading doctrine/cache (2.1.1)
    Failed to download doctrine/cache from dist: The "https://api.github.com/rep                                                                                                                                                             os/doctrine/cache/zipball/331b4d5dbaeab3827976273e9356b3b453c300ce" file could n                                                                                                                                                             ot be written to /var/www/bookstack/vendor/composer/tmp-717188b990491642ee9c7c00                                                                                                                                                             51b775a7: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing doctrine/cache (2.1.1) into cache
  - Downloading doctrine/dbal (3.2.0)
  - Downloading doctrine/dbal (3.2.0)
  - Downloading doctrine/dbal (3.2.0)
  - Downloading doctrine/dbal (3.2.0)
    Failed to download doctrine/dbal from dist: The "https://api.github.com/repo                                                                                                                                                             s/doctrine/dbal/zipball/5d54f63541d7bed1156cb5c9b79274ced61890e4" file could not                                                                                                                                                              be written to /var/www/bookstack/vendor/composer/tmp-8a83c1cac20216b9ee3af5679d                                                                                                                                                             e82374: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing doctrine/dbal (3.2.0) into cache
  - Downloading filp/whoops (2.14.4)
  - Downloading filp/whoops (2.14.4)
  - Downloading filp/whoops (2.14.4)
  - Downloading filp/whoops (2.14.4)
    Failed to download filp/whoops from dist: The "https://api.github.com/repos/                                                                                                                                                             filp/whoops/zipball/f056f1fe935d9ed86e698905a957334029899895" file could not be                                                                                                                                                              written to /var/www/bookstack/vendor/composer/tmp-4fbdde6ff5faa593aa01cd38f128fa                                                                                                                                                             ef: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing filp/whoops (2.14.4) into cache
  - Downloading guzzlehttp/promises (1.5.1)
  - Downloading guzzlehttp/promises (1.5.1)
  - Downloading guzzlehttp/promises (1.5.1)
  - Downloading guzzlehttp/promises (1.5.1)
    Failed to download guzzlehttp/promises from dist: The "https://api.github.co                                                                                                                                                             m/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da" file c                                                                                                                                                             ould not be written to /var/www/bookstack/vendor/composer/tmp-7d738ea118c756b8f5                                                                                                                                                             5b29838539cf3c: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing guzzlehttp/promises (1.5.1) into cache
    Failed to download psr/http-factory from dist: /var/www/bookstack/vendor/psr                                                                                                                                                             /http-factory does not exist and could not be created.
    Now trying to download from source
  - Syncing psr/http-factory (1.0.1) into cache
  - Downloading guzzlehttp/psr7 (2.1.0)
  - Downloading guzzlehttp/psr7 (2.1.0)
  - Downloading guzzlehttp/psr7 (2.1.0)
  - Downloading guzzlehttp/psr7 (2.1.0)
    Failed to download guzzlehttp/psr7 from dist: The "https://api.github.com/re                                                                                                                                                             pos/guzzle/psr7/zipball/089edd38f5b8abba6cb01567c2a8aaa47cec4c72" file could not                                                                                                                                                              be written to /var/www/bookstack/vendor/composer/tmp-44c8d383574d6d41c20ee759b2                                                                                                                                                             5f3a0c: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing guzzlehttp/psr7 (2.1.0) into cache
  - Downloading intervention/image (2.7.0)
  - Downloading intervention/image (2.7.0)
  - Downloading intervention/image (2.7.0)
  - Downloading intervention/image (2.7.0)
    Failed to download intervention/image from dist: The "https://api.github.com                                                                                                                                                             /repos/Intervention/image/zipball/9a8cc99d30415ec0b3f7649e1647d03a55698545" file                                                                                                                                                              could not be written to /var/www/bookstack/vendor/composer/tmp-71385860fc8d4403                                                                                                                                                             d656416c6fd2a309: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing intervention/image (2.7.0) into cache
  - Downloading guzzlehttp/guzzle (7.4.1)
  - Downloading guzzlehttp/guzzle (7.4.1)
  - Downloading guzzlehttp/guzzle (7.4.1)
  - Downloading guzzlehttp/guzzle (7.4.1)
    Failed to download guzzlehttp/guzzle from dist: The "https://api.github.com/                                                                                                                                                             repos/guzzle/guzzle/zipball/ee0a041b1760e6a53d2a39c8c34115adc2af2c79" file could                                                                                                                                                              not be written to /var/www/bookstack/vendor/composer/tmp-1b06273d09aa836964418f                                                                                                                                                             9519bb5072: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing guzzlehttp/guzzle (7.4.1) into cache
  - Downloading league/oauth1-client (v1.10.0)
  - Downloading league/oauth1-client (v1.10.0)
  - Downloading league/oauth1-client (v1.10.0)
  - Downloading league/oauth1-client (v1.10.0)
    Failed to download league/oauth1-client from dist: The "https://api.github.c                                                                                                                                                             om/repos/thephpleague/oauth1-client/zipball/88dd16b0cff68eb9167bfc849707d2c40ad9                                                                                                                                                             1ddc" file could not be written to /var/www/bookstack/vendor/composer/tmp-05592e                                                                                                                                                             bd0a90f47f8d65f1db4a9239be: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing league/oauth1-client (v1.10.0) into cache
  - Downloading laravel/socialite (v5.2.6)
  - Downloading laravel/socialite (v5.2.6)
  - Downloading laravel/socialite (v5.2.6)
  - Downloading laravel/socialite (v5.2.6)
    Failed to download laravel/socialite from dist: The "https://api.github.com/                                                                                                                                                             repos/laravel/socialite/zipball/b5c67f187ddcf15529ff7217fa735b132620dfac" file c                                                                                                                                                             ould not be written to /var/www/bookstack/vendor/composer/tmp-241440c4ba5f53ff4b                                                                                                                                                             47d15100189cc3: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing laravel/socialite (v5.2.6) into cache
    Failed to download nikic/php-parser from dist: /var/www/bookstack/vendor/nik                                                                                                                                                             ic/php-parser does not exist and could not be created.
    Now trying to download from source
  - Syncing nikic/php-parser (v4.13.2) into cache
    Failed to download psy/psysh from dist: /var/www/bookstack/vendor/psy/psysh                                                                                                                                                              does not exist and could not be created.
    Now trying to download from source
  - Syncing psy/psysh (v0.10.12) into cache
    Failed to download laravel/tinker from dist: /var/www/bookstack/vendor/larav                                                                                                                                                             el/tinker does not exist and could not be created.
    Now trying to download from source
  - Syncing laravel/tinker (v2.6.3) into cache
    Failed to download laravel/ui from dist: /var/www/bookstack/vendor/laravel/u                                                                                                                                                             i does not exist and could not be created.
    Now trying to download from source
  - Syncing laravel/ui (v3.4.0) into cache
  - Downloading aws/aws-sdk-php (3.208.5)
  - Downloading aws/aws-sdk-php (3.208.5)
  - Downloading aws/aws-sdk-php (3.208.5)
  - Downloading aws/aws-sdk-php (3.208.5)
    Failed to download aws/aws-sdk-php from dist: The "https://api.github.com/re                                                                                                                                                             pos/aws/aws-sdk-php/zipball/58fa9d8b522b0afa260299179ff950c783ff0ee1" file could                                                                                                                                                              not be written to /var/www/bookstack/vendor/composer/tmp-a2f3a8a06df050bce49cdc                                                                                                                                                             ba69d81c8c: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing aws/aws-sdk-php (3.208.5) into cache
    Failed to download league/html-to-markdown from dist: /var/www/bookstack/ven                                                                                                                                                             dor/league/html-to-markdown does not exist and could not be created.
    Now trying to download from source
  - Syncing league/html-to-markdown (5.0.2) into cache
  - Downloading paragonie/random_compat (v9.99.100)
  - Downloading paragonie/random_compat (v9.99.100)
  - Downloading paragonie/random_compat (v9.99.100)
  - Downloading paragonie/random_compat (v9.99.100)
    Failed to download paragonie/random_compat from dist: The "https://api.githu                                                                                                                                                             b.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef                                                                                                                                                             965a" file could not be written to /var/www/bookstack/vendor/composer/tmp-aabf50                                                                                                                                                             1b4907a74c71bb5b482dfa7904: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing paragonie/random_compat (v9.99.100) into cache
    Failed to download league/oauth2-client from dist: /var/www/bookstack/vendor                                                                                                                                                             /league/oauth2-client does not exist and could not be created.
    Now trying to download from source
  - Syncing league/oauth2-client (2.6.0) into cache
    Failed to download paragonie/constant_time_encoding from dist: /var/www/book                                                                                                                                                             stack/vendor/paragonie/constant_time_encoding does not exist and could not be cr                                                                                                                                                             eated.
    Now trying to download from source
  - Syncing paragonie/constant_time_encoding (v2.4.0) into cache
    Failed to download phpseclib/phpseclib from dist: /var/www/bookstack/vendor/                                                                                                                                                             phpseclib/phpseclib does not exist and could not be created.
    Now trying to download from source
  - Syncing phpseclib/phpseclib (3.0.12) into cache
    Failed to download pragmarx/google2fa from dist: /var/www/bookstack/vendor/p                                                                                                                                                             ragmarx/google2fa does not exist and could not be created.
    Now trying to download from source
  - Syncing pragmarx/google2fa (8.0.0) into cache
  - Downloading predis/predis (v1.1.9)
  - Downloading predis/predis (v1.1.9)
  - Downloading predis/predis (v1.1.9)
  - Downloading predis/predis (v1.1.9)
    Failed to download predis/predis from dist: The "https://api.github.com/repo                                                                                                                                                             s/predis/predis/zipball/c50c3393bb9f47fa012d0cdfb727a266b0818259" file could not                                                                                                                                                              be written to /var/www/bookstack/vendor/composer/tmp-09decb1ad6984748721abde335                                                                                                                                                             cd186f: failed to open stream: Permission denied
    Now trying to download from source
  - Syncing predis/predis (v1.1.9) into cache
  - Downloading socialiteproviders/microsoft-azure (5.0.1)
  - Downloading socialiteproviders/microsoft-azure (5.0.1)
  - Downloading socialiteproviders/microsoft-azure (5.0.1)
  - Downloading socialiteproviders/microsoft-azure (5.0.1)
    Failed to download socialiteproviders/microsoft-azure from dist: The "https:                                                                                                                                                             //api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/9b23e02ff711de                                                                                                                                                             42e513aa55f768a4f1c67c0e41" file could not be written to /var/www/bookstack/vend                                                                                                                                                             or/composer/tmp-d587e7998ffd00da6bef308fe717ddfd: failed to open stream: Permiss                                                                                                                                                             ion denied
    Now trying to download from source
  - Syncing socialiteproviders/microsoft-azure (5.0.1) into cache
  - Removing symfony/http-client-contracts (v2.4.0)
    Uninstall of symfony/http-client-contracts failed
  - Removing symfony/debug (v4.4.25)
    Uninstall of symfony/debug failed
  - Removing scrivo/highlight.php (v9.18.1.6)
    Uninstall of scrivo/highlight.php failed
  - Removing php-parallel-lint/php-console-highlighter (v0.5)
    Uninstall of php-parallel-lint/php-console-highlighter failed
  - Removing php-parallel-lint/php-console-color (v0.3)
    Uninstall of php-parallel-lint/php-console-color failed
  - Removing nunomaduro/collision (v3.2.0)
    Uninstall of nunomaduro/collision failed
  - Removing fideloper/proxy (4.4.1)
    Uninstall of fideloper/proxy failed
  - Removing facade/ignition-contracts (1.0.2)
    Uninstall of facade/ignition-contracts failed
  - Removing facade/ignition (1.17.0)
    Uninstall of facade/ignition failed
  - Removing facade/flare-client-php (1.8.1)
    Uninstall of facade/flare-client-php failed
    0 [--->------------------------]
In Filesystem.php line 218:

  Could not delete /var/www/bookstack/vendor/symfony/http-client-contracts/Ex
  ception/TimeoutExceptionInterface.php:


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-suggest] [--                                                                                                                                                             no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|v                                                                                                                                                             vv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-a                                                                                                                                                             utoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-                                                                                                                                                             req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
@ShowMeIT commented on GitHub (Dec 27, 2021): Thanks C0rn3j, Apologies for not putting the command in the original message, terminal output and command I ran below: <details> ``` g@books:/var/www/bookstack$ sudo git pull origin release && composer instal l --no-dev && php artisan migrate hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. From https://github.com/BookStackApp/BookStack * branch release -> FETCH_HEAD Already up to date. > @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/ca che/services.php');" Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 25 installs, 47 updates, 10 removals - Downloading composer/package-versions-deprecated (1.11.99.4) - Downloading composer/package-versions-deprecated (1.11.99.4) - Downloading composer/package-versions-deprecated (1.11.99.4) - Downloading composer/package-versions-deprecated (1.11.99.4) Failed to download composer/package-versions-deprecated from dist: The "http s://api.github.com/repos/composer/package-versions-deprecated/zipball/b174585d1f e49ceed21928a945138948cb394600" file could not be written to /var/www/bookstack/ vendor/composer/tmp-af5d9b11bc60a4c584d663a82e012264: failed to open stream: Per mission denied Now trying to download from source - Syncing composer/package-versions-deprecated (1.11.99.4) into cache Failed to download aws/aws-crt-php from dist: /var/www/bookstack/vendor/aws/ aws-crt-php does not exist and could not be created. Now trying to download from source - Syncing aws/aws-crt-php (v1.0.2) into cache Failed to download dasprid/enum from dist: /var/www/bookstack/vendor/dasprid /enum does not exist and could not be created. Now trying to download from source - Syncing dasprid/enum (1.0.3) into cache Failed to download bacon/bacon-qr-code from dist: /var/www/bookstack/vendor/ bacon/bacon-qr-code does not exist and could not be created. Now trying to download from source - Syncing bacon/bacon-qr-code (2.0.4) into cache Failed to download voku/portable-ascii from dist: /var/www/bookstack/vendor/ voku/portable-ascii does not exist and could not be created. Now trying to download from source - Syncing voku/portable-ascii (1.5.6) into cache - Downloading symfony/polyfill-php80 (v1.23.1) - Downloading symfony/polyfill-php80 (v1.23.1) - Downloading symfony/polyfill-php80 (v1.23.1) - Downloading symfony/polyfill-php80 (v1.23.1) Failed to download symfony/polyfill-php80 from dist: The "https://api.github .com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547 be" file could not be written to /var/www/bookstack/vendor/composer/tmp-8b5849b1 081add14e4bc0d94be892dde: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/polyfill-php80 (v1.23.1) into cache - Downloading symfony/polyfill-mbstring (v1.23.1) - Downloading symfony/polyfill-mbstring (v1.23.1) - Downloading symfony/polyfill-mbstring (v1.23.1) - Downloading symfony/polyfill-mbstring (v1.23.1) Failed to download symfony/polyfill-mbstring from dist: The "https://api.git hub.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150 bbeabfc6" file could not be written to /var/www/bookstack/vendor/composer/tmp-45 e0da24cd644d6ee1e6502c3191b94e: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/polyfill-mbstring (v1.23.1) into cache - Downloading phpoption/phpoption (1.8.1) - Downloading phpoption/phpoption (1.8.1) - Downloading phpoption/phpoption (1.8.1) - Downloading phpoption/phpoption (1.8.1) Failed to download phpoption/phpoption from dist: The "https://api.github.co m/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" file could not be written to /var/www/bookstack/vendor/composer/tmp-a4b4eff4402c c97ad93a487e87f5099c: failed to open stream: Permission denied Now trying to download from source - Syncing phpoption/phpoption (1.8.1) into cache Failed to download graham-campbell/result-type from dist: /var/www/bookstack /vendor/graham-campbell/result-type does not exist and could not be created. Now trying to download from source - Syncing graham-campbell/result-type (v1.0.4) into cache - Downloading vlucas/phpdotenv (v5.4.1) - Downloading vlucas/phpdotenv (v5.4.1) - Downloading vlucas/phpdotenv (v5.4.1) - Downloading vlucas/phpdotenv (v5.4.1) Failed to download vlucas/phpdotenv from dist: The "https://api.github.com/r epos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f" file cou ld not be written to /var/www/bookstack/vendor/composer/tmp-6dbda383ec48a03d18e3 6001751e1773: failed to open stream: Permission denied Now trying to download from source - Syncing vlucas/phpdotenv (v5.4.1) into cache - Downloading symfony/css-selector (v5.4.0) - Downloading symfony/css-selector (v5.4.0) - Downloading symfony/css-selector (v5.4.0) - Downloading symfony/css-selector (v5.4.0) Failed to download symfony/css-selector from dist: The "https://api.github.c om/repos/symfony/css-selector/zipball/44b933f98bb4b5220d10bed9ce5662f8c2d13dcc" file could not be written to /var/www/bookstack/vendor/composer/tmp-403483e0f8f4 5c54cac6854250241b5d: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/css-selector (v5.4.0) into cache - Downloading tijsverkoyen/css-to-inline-styles (2.2.4) - Downloading tijsverkoyen/css-to-inline-styles (2.2.4) - Downloading tijsverkoyen/css-to-inline-styles (2.2.4) - Downloading tijsverkoyen/css-to-inline-styles (2.2.4) Failed to download tijsverkoyen/css-to-inline-styles from dist: The "https:/ /api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0 c140f68c6182e337d5b1c" file could not be written to /var/www/bookstack/vendor/co mposer/tmp-743cee140c4bafbaf0b95757587f9d3e: failed to open stream: Permission d enied Now trying to download from source - Syncing tijsverkoyen/css-to-inline-styles (2.2.4) into cache - Downloading symfony/var-dumper (v5.4.1) - Downloading symfony/var-dumper (v5.4.1) - Downloading symfony/var-dumper (v5.4.1) - Downloading symfony/var-dumper (v5.4.1) Failed to download symfony/var-dumper from dist: The "https://api.github.com /repos/symfony/var-dumper/zipball/2366ac8d8abe0c077844613c1a4f0c0a9f522dcc" file could not be written to /var/www/bookstack/vendor/composer/tmp-d840a87d4e4579ab 122322171a96de30: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/var-dumper (v5.4.1) into cache - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/deprecation-contracts (v2.5.0) Failed to download symfony/deprecation-contracts from dist: The "https://api .github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce973614 6d1c57c2780598a8" file could not be written to /var/www/bookstack/vendor/compose r/tmp-4273818390819802f0f4c2d20cbce872: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/deprecation-contracts (v2.5.0) into cache - Downloading symfony/routing (v5.4.0) - Downloading symfony/routing (v5.4.0) - Downloading symfony/routing (v5.4.0) - Downloading symfony/routing (v5.4.0) Failed to download symfony/routing from dist: The "https://api.github.com/re pos/symfony/routing/zipball/9eeae93c32ca86746e5d38f3679e9569981038b1" file could not be written to /var/www/bookstack/vendor/composer/tmp-32c7575a7b16000cc0bec1 e4b8f6b262: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/routing (v5.4.0) into cache - Downloading symfony/process (v5.4.0) - Downloading symfony/process (v5.4.0) - Downloading symfony/process (v5.4.0) - Downloading symfony/process (v5.4.0) Failed to download symfony/process from dist: The "https://api.github.com/re pos/symfony/process/zipball/5be20b3830f726e019162b26223110c8f47cf274" file could not be written to /var/www/bookstack/vendor/composer/tmp-7ca4ec124d07cf4376cd18 e60ccc11b8: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/process (v5.4.0) into cache - Downloading symfony/mime (v5.4.0) - Downloading symfony/mime (v5.4.0) - Downloading symfony/mime (v5.4.0) - Downloading symfony/mime (v5.4.0) Failed to download symfony/mime from dist: The "https://api.github.com/repos /symfony/mime/zipball/d4365000217b67c01acff407573906ff91bcfb34" file could not b e written to /var/www/bookstack/vendor/composer/tmp-fbfbe3a1e570a30542d33ef134c3 195d: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/mime (v5.4.0) into cache - Downloading symfony/http-foundation (v5.4.1) - Downloading symfony/http-foundation (v5.4.1) - Downloading symfony/http-foundation (v5.4.1) - Downloading symfony/http-foundation (v5.4.1) Failed to download symfony/http-foundation from dist: The "https://api.githu b.com/repos/symfony/http-foundation/zipball/5dad3780023a707f4c24beac7d57aead85c1 ce3c" file could not be written to /var/www/bookstack/vendor/composer/tmp-9691a2 92b3ad029b17413e5f89944c89: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/http-foundation (v5.4.1) into cache Failed to download psr/event-dispatcher from dist: /var/www/bookstack/vendor /psr/event-dispatcher does not exist and could not be created. Now trying to download from source - Syncing psr/event-dispatcher (1.0.0) into cache - Downloading symfony/event-dispatcher-contracts (v2.5.0) - Downloading symfony/event-dispatcher-contracts (v2.5.0) - Downloading symfony/event-dispatcher-contracts (v2.5.0) - Downloading symfony/event-dispatcher-contracts (v2.5.0) Failed to download symfony/event-dispatcher-contracts from dist: The "https: //api.github.com/repos/symfony/event-dispatcher-contracts/zipball/66bea3b09be616 13cd3b4043a65a8ec48cfa6d2a" file could not be written to /var/www/bookstack/vend or/composer/tmp-4abe8d98c6efed7614301d88c3b21e3f: failed to open stream: Permiss ion denied Now trying to download from source - Syncing symfony/event-dispatcher-contracts (v2.5.0) into cache - Downloading symfony/event-dispatcher (v5.4.0) - Downloading symfony/event-dispatcher (v5.4.0) - Downloading symfony/event-dispatcher (v5.4.0) - Downloading symfony/event-dispatcher (v5.4.0) Failed to download symfony/event-dispatcher from dist: The "https://api.gith ub.com/repos/symfony/event-dispatcher/zipball/27d39ae126352b9fa3be5e196ccf461789 7be3eb" file could not be written to /var/www/bookstack/vendor/composer/tmp-2eec 161ea53602db6796ebecdacbaa60: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/event-dispatcher (v5.4.0) into cache - Downloading symfony/error-handler (v5.4.1) - Downloading symfony/error-handler (v5.4.1) - Downloading symfony/error-handler (v5.4.1) - Downloading symfony/error-handler (v5.4.1) Failed to download symfony/error-handler from dist: The "https://api.github. com/repos/symfony/error-handler/zipball/1e3cb3565af49cd5f93e5787500134500a29f0d9 " file could not be written to /var/www/bookstack/vendor/composer/tmp-4f5fb4b3a7 9b00ea966f479fde13aa28: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/error-handler (v5.4.1) into cache - Downloading symfony/http-kernel (v5.4.1) - Downloading symfony/http-kernel (v5.4.1) - Downloading symfony/http-kernel (v5.4.1) - Downloading symfony/http-kernel (v5.4.1) Failed to download symfony/http-kernel from dist: The "https://api.github.co m/repos/symfony/http-kernel/zipball/2bdace75c9d6a6eec7e318801b7dc87a72375052" fi le could not be written to /var/www/bookstack/vendor/composer/tmp-d6f5f55fcd4799 b4a633f9df69963828: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/http-kernel (v5.4.1) into cache - Downloading symfony/finder (v5.4.0) - Downloading symfony/finder (v5.4.0) - Downloading symfony/finder (v5.4.0) - Downloading symfony/finder (v5.4.0) Failed to download symfony/finder from dist: The "https://api.github.com/rep os/symfony/finder/zipball/d2f29dac98e96a98be467627bd49c2efb1bc2590" file could n ot be written to /var/www/bookstack/vendor/composer/tmp-3a878a8fdade09887367d7ba 81bad477: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/finder (v5.4.0) into cache Failed to download symfony/polyfill-intl-grapheme from dist: /var/www/bookst ack/vendor/symfony/polyfill-intl-grapheme does not exist and could not be create d. Now trying to download from source - Syncing symfony/polyfill-intl-grapheme (v1.23.1) into cache Failed to download symfony/string from dist: /var/www/bookstack/vendor/symfo ny/string does not exist and could not be created. Now trying to download from source - Syncing symfony/string (v5.4.0) into cache - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/service-contracts (v2.5.0) Failed to download symfony/service-contracts from dist: The "https://api.git hub.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07d ec58b0fc" file could not be written to /var/www/bookstack/vendor/composer/tmp-d1 271c007bdcda3f8e62c468d5871d66: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/service-contracts (v2.5.0) into cache - Downloading symfony/console (v5.4.1) - Downloading symfony/console (v5.4.1) - Downloading symfony/console (v5.4.1) - Downloading symfony/console (v5.4.1) Failed to download symfony/console from dist: The "https://api.github.com/re pos/symfony/console/zipball/9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4" file could not be written to /var/www/bookstack/vendor/composer/tmp-f95e6d95c99f4d5aed5f2f 9b2709b5ef: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/console (v5.4.1) into cache - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading swiftmailer/swiftmailer (v6.3.0) Failed to download swiftmailer/swiftmailer from dist: The "https://api.githu b.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec 654c" file could not be written to /var/www/bookstack/vendor/composer/tmp-2f8d59 241626b35ab7fa3601a27a4957: failed to open stream: Permission denied Now trying to download from source - Syncing swiftmailer/swiftmailer (v6.3.0) into cache Failed to download symfony/polyfill-php81 from dist: /var/www/bookstack/vend or/symfony/polyfill-php81 does not exist and could not be created. Now trying to download from source - Syncing symfony/polyfill-php81 (v1.23.0) into cache Failed to download ramsey/collection from dist: /var/www/bookstack/vendor/ra msey/collection does not exist and could not be created. Now trying to download from source - Syncing ramsey/collection (1.2.2) into cache Failed to download brick/math from dist: /var/www/bookstack/vendor/brick/mat h does not exist and could not be created. Now trying to download from source - Syncing brick/math (0.9.3) into cache - Downloading ramsey/uuid (4.2.3) - Downloading ramsey/uuid (4.2.3) - Downloading ramsey/uuid (4.2.3) - Downloading ramsey/uuid (4.2.3) Failed to download ramsey/uuid from dist: The "https://api.github.com/repos/ ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" file could not be written to /var/www/bookstack/vendor/composer/tmp-b815889189bbf8ccf590733a50c503 b7: failed to open stream: Permission denied Now trying to download from source - Syncing ramsey/uuid (4.2.3) into cache - Downloading symfony/translation-contracts (v2.5.0) - Downloading symfony/translation-contracts (v2.5.0) - Downloading symfony/translation-contracts (v2.5.0) - Downloading symfony/translation-contracts (v2.5.0) Failed to download symfony/translation-contracts from dist: The "https://api .github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671 fc2620a98aae1b1e" file could not be written to /var/www/bookstack/vendor/compose r/tmp-4b8218426951c795f24b3220bc7f28dd: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/translation-contracts (v2.5.0) into cache - Downloading symfony/translation (v5.4.1) - Downloading symfony/translation (v5.4.1) - Downloading symfony/translation (v5.4.1) - Downloading symfony/translation (v5.4.1) Failed to download symfony/translation from dist: The "https://api.github.co m/repos/symfony/translation/zipball/8c82cd35ed861236138d5ae1c78c0c7ebcd62107" fi le could not be written to /var/www/bookstack/vendor/composer/tmp-015ddeb1786cf5 0aebc15f0df591ead3: failed to open stream: Permission denied Now trying to download from source - Syncing symfony/translation (v5.4.1) into cache - Downloading nesbot/carbon (2.55.2) - Downloading nesbot/carbon (2.55.2) - Downloading nesbot/carbon (2.55.2) - Downloading nesbot/carbon (2.55.2) Failed to download nesbot/carbon from dist: The "https://api.github.com/repo s/briannesbitt/Carbon/zipball/8c2a18ce3e67c34efc1b29f64fe61304368259a2" file cou ld not be written to /var/www/bookstack/vendor/composer/tmp-d1e414fe8e0f503a3873 6d629dc76567: failed to open stream: Permission denied Now trying to download from source - Syncing nesbot/carbon (2.55.2) into cache - Downloading monolog/monolog (2.3.5) - Downloading monolog/monolog (2.3.5) - Downloading monolog/monolog (2.3.5) - Downloading monolog/monolog (2.3.5) Failed to download monolog/monolog from dist: The "https://api.github.com/re pos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9" file could not be written to /var/www/bookstack/vendor/composer/tmp-e7ba5b174fd6786702aa92 319c81c07c: failed to open stream: Permission denied Now trying to download from source - Syncing monolog/monolog (2.3.5) into cache - Downloading league/mime-type-detection (1.9.0) - Downloading league/mime-type-detection (1.9.0) - Downloading league/mime-type-detection (1.9.0) - Downloading league/mime-type-detection (1.9.0) Failed to download league/mime-type-detection from dist: The "https://api.gi thub.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc9278 63d47309b4c23e69" file could not be written to /var/www/bookstack/vendor/compose r/tmp-25da0f6ede2f2c0cc6cb02ae0cb9ed40: failed to open stream: Permission denied Now trying to download from source - Syncing league/mime-type-detection (1.9.0) into cache - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) Failed to download league/flysystem from dist: The "https://api.github.com/r epos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99" fi le could not be written to /var/www/bookstack/vendor/composer/tmp-814c7ad3913297 7c187ad168d2d7f7d1: failed to open stream: Permission denied Now trying to download from source - Syncing league/flysystem (1.1.9) into cache - Downloading league/commonmark (1.6.6) - Downloading league/commonmark (1.6.6) - Downloading league/commonmark (1.6.6) - Downloading league/commonmark (1.6.6) Failed to download league/commonmark from dist: The "https://api.github.com/ repos/thephpleague/commonmark/zipball/c4228d11e30d7493c6836d20872f9582d8ba6dcf" file could not be written to /var/www/bookstack/vendor/composer/tmp-a5b4b2204039 89c06331ed050737f057: failed to open stream: Permission denied Now trying to download from source - Syncing league/commonmark (1.6.6) into cache Failed to download laravel/serializable-closure from dist: /var/www/bookstac k/vendor/laravel/serializable-closure does not exist and could not be created. Now trying to download from source - Syncing laravel/serializable-closure (v1.0.5) into cache Failed to download webmozart/assert from dist: /var/www/bookstack/vendor/web mozart/assert does not exist and could not be created. Now trying to download from source - Syncing webmozart/assert (1.10.0) into cache - Downloading dragonmantank/cron-expression (v3.1.0) - Downloading dragonmantank/cron-expression (v3.1.0) - Downloading dragonmantank/cron-expression (v3.1.0) - Downloading dragonmantank/cron-expression (v3.1.0) Failed to download dragonmantank/cron-expression from dist: The "https://api .github.com/repos/dragonmantank/cron-expression/zipball/7a8c6e56ab3ffcc538d05e81 55bb42269abf1a0c" file could not be written to /var/www/bookstack/vendor/compose r/tmp-e5cd405a6407e1c3788631b857f11742: failed to open stream: Permission denied Now trying to download from source - Syncing dragonmantank/cron-expression (v3.1.0) into cache - Downloading doctrine/inflector (2.0.4) - Downloading doctrine/inflector (2.0.4) - Downloading doctrine/inflector (2.0.4) - Downloading doctrine/inflector (2.0.4) Failed to download doctrine/inflector from dist: The "https://api.github.com /repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" file could not be written to /var/www/bookstack/vendor/composer/tmp-c88a71e6f94e2ebc 0125538747b2405b: failed to open stream: Permission denied Now trying to download from source - Syncing doctrine/inflector (2.0.4) into cache - Downloading laravel/framework (v8.76.1) - Downloading laravel/framework (v8.76.1) - Downloading laravel/framework (v8.76.1) - Downloading laravel/framework (v8.76.1) Failed to download laravel/framework from dist: The "https://api.github.com/ repos/laravel/framework/zipball/83fe447ae964dc5f1f829d25fa2f6042d9099834" file c ould not be written to /var/www/bookstack/vendor/composer/tmp-d6ec3e38bfcebf1c2c 55bf215599f37e: failed to open stream: Permission denied Now trying to download from source - Syncing laravel/framework (v8.76.1) into cache - Downloading sabberworm/php-css-parser (8.4.0) - Downloading sabberworm/php-css-parser (8.4.0) - Downloading sabberworm/php-css-parser (8.4.0) - Downloading sabberworm/php-css-parser (8.4.0) Failed to download sabberworm/php-css-parser from dist: The "https://api.git hub.com/repos/sabberworm/PHP-CSS-Parser/zipball/e41d2140031d533348b2192a83f02d8d d8a71d30" file could not be written to /var/www/bookstack/vendor/composer/tmp-c6 608220af5d20096fdf6da336a3d882: failed to open stream: Permission denied Now trying to download from source - Syncing sabberworm/php-css-parser (8.4.0) into cache - Downloading dompdf/dompdf (v1.1.1) - Downloading dompdf/dompdf (v1.1.1) - Downloading dompdf/dompdf (v1.1.1) - Downloading dompdf/dompdf (v1.1.1) Failed to download dompdf/dompdf from dist: The "https://api.github.com/repo s/dompdf/dompdf/zipball/de4aad040737a89fae2129cdeb0f79c45513128d" file could not be written to /var/www/bookstack/vendor/composer/tmp-1013985d42dbae4b7f9304a46c ac2c22: failed to open stream: Permission denied Now trying to download from source - Syncing dompdf/dompdf (v1.1.1) into cache - Downloading knplabs/knp-snappy (v1.3.1) - Downloading knplabs/knp-snappy (v1.3.1) - Downloading knplabs/knp-snappy (v1.3.1) - Downloading knplabs/knp-snappy (v1.3.1) Failed to download knplabs/knp-snappy from dist: The "https://api.github.com /repos/KnpLabs/snappy/zipball/349c2e872bbeb15dff825a17dd92ea9c6ae4120e" file cou ld not be written to /var/www/bookstack/vendor/composer/tmp-4199119c8850a1d9bd3c ff1c5479ad96: failed to open stream: Permission denied Now trying to download from source - Syncing knplabs/knp-snappy (v1.3.1) into cache Failed to download psr/cache from dist: /var/www/bookstack/vendor/psr/cache does not exist and could not be created. Now trying to download from source - Syncing psr/cache (1.0.1) into cache - Downloading doctrine/cache (2.1.1) - Downloading doctrine/cache (2.1.1) - Downloading doctrine/cache (2.1.1) - Downloading doctrine/cache (2.1.1) Failed to download doctrine/cache from dist: The "https://api.github.com/rep os/doctrine/cache/zipball/331b4d5dbaeab3827976273e9356b3b453c300ce" file could n ot be written to /var/www/bookstack/vendor/composer/tmp-717188b990491642ee9c7c00 51b775a7: failed to open stream: Permission denied Now trying to download from source - Syncing doctrine/cache (2.1.1) into cache - Downloading doctrine/dbal (3.2.0) - Downloading doctrine/dbal (3.2.0) - Downloading doctrine/dbal (3.2.0) - Downloading doctrine/dbal (3.2.0) Failed to download doctrine/dbal from dist: The "https://api.github.com/repo s/doctrine/dbal/zipball/5d54f63541d7bed1156cb5c9b79274ced61890e4" file could not be written to /var/www/bookstack/vendor/composer/tmp-8a83c1cac20216b9ee3af5679d e82374: failed to open stream: Permission denied Now trying to download from source - Syncing doctrine/dbal (3.2.0) into cache - Downloading filp/whoops (2.14.4) - Downloading filp/whoops (2.14.4) - Downloading filp/whoops (2.14.4) - Downloading filp/whoops (2.14.4) Failed to download filp/whoops from dist: The "https://api.github.com/repos/ filp/whoops/zipball/f056f1fe935d9ed86e698905a957334029899895" file could not be written to /var/www/bookstack/vendor/composer/tmp-4fbdde6ff5faa593aa01cd38f128fa ef: failed to open stream: Permission denied Now trying to download from source - Syncing filp/whoops (2.14.4) into cache - Downloading guzzlehttp/promises (1.5.1) - Downloading guzzlehttp/promises (1.5.1) - Downloading guzzlehttp/promises (1.5.1) - Downloading guzzlehttp/promises (1.5.1) Failed to download guzzlehttp/promises from dist: The "https://api.github.co m/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da" file c ould not be written to /var/www/bookstack/vendor/composer/tmp-7d738ea118c756b8f5 5b29838539cf3c: failed to open stream: Permission denied Now trying to download from source - Syncing guzzlehttp/promises (1.5.1) into cache Failed to download psr/http-factory from dist: /var/www/bookstack/vendor/psr /http-factory does not exist and could not be created. Now trying to download from source - Syncing psr/http-factory (1.0.1) into cache - Downloading guzzlehttp/psr7 (2.1.0) - Downloading guzzlehttp/psr7 (2.1.0) - Downloading guzzlehttp/psr7 (2.1.0) - Downloading guzzlehttp/psr7 (2.1.0) Failed to download guzzlehttp/psr7 from dist: The "https://api.github.com/re pos/guzzle/psr7/zipball/089edd38f5b8abba6cb01567c2a8aaa47cec4c72" file could not be written to /var/www/bookstack/vendor/composer/tmp-44c8d383574d6d41c20ee759b2 5f3a0c: failed to open stream: Permission denied Now trying to download from source - Syncing guzzlehttp/psr7 (2.1.0) into cache - Downloading intervention/image (2.7.0) - Downloading intervention/image (2.7.0) - Downloading intervention/image (2.7.0) - Downloading intervention/image (2.7.0) Failed to download intervention/image from dist: The "https://api.github.com /repos/Intervention/image/zipball/9a8cc99d30415ec0b3f7649e1647d03a55698545" file could not be written to /var/www/bookstack/vendor/composer/tmp-71385860fc8d4403 d656416c6fd2a309: failed to open stream: Permission denied Now trying to download from source - Syncing intervention/image (2.7.0) into cache - Downloading guzzlehttp/guzzle (7.4.1) - Downloading guzzlehttp/guzzle (7.4.1) - Downloading guzzlehttp/guzzle (7.4.1) - Downloading guzzlehttp/guzzle (7.4.1) Failed to download guzzlehttp/guzzle from dist: The "https://api.github.com/ repos/guzzle/guzzle/zipball/ee0a041b1760e6a53d2a39c8c34115adc2af2c79" file could not be written to /var/www/bookstack/vendor/composer/tmp-1b06273d09aa836964418f 9519bb5072: failed to open stream: Permission denied Now trying to download from source - Syncing guzzlehttp/guzzle (7.4.1) into cache - Downloading league/oauth1-client (v1.10.0) - Downloading league/oauth1-client (v1.10.0) - Downloading league/oauth1-client (v1.10.0) - Downloading league/oauth1-client (v1.10.0) Failed to download league/oauth1-client from dist: The "https://api.github.c om/repos/thephpleague/oauth1-client/zipball/88dd16b0cff68eb9167bfc849707d2c40ad9 1ddc" file could not be written to /var/www/bookstack/vendor/composer/tmp-05592e bd0a90f47f8d65f1db4a9239be: failed to open stream: Permission denied Now trying to download from source - Syncing league/oauth1-client (v1.10.0) into cache - Downloading laravel/socialite (v5.2.6) - Downloading laravel/socialite (v5.2.6) - Downloading laravel/socialite (v5.2.6) - Downloading laravel/socialite (v5.2.6) Failed to download laravel/socialite from dist: The "https://api.github.com/ repos/laravel/socialite/zipball/b5c67f187ddcf15529ff7217fa735b132620dfac" file c ould not be written to /var/www/bookstack/vendor/composer/tmp-241440c4ba5f53ff4b 47d15100189cc3: failed to open stream: Permission denied Now trying to download from source - Syncing laravel/socialite (v5.2.6) into cache Failed to download nikic/php-parser from dist: /var/www/bookstack/vendor/nik ic/php-parser does not exist and could not be created. Now trying to download from source - Syncing nikic/php-parser (v4.13.2) into cache Failed to download psy/psysh from dist: /var/www/bookstack/vendor/psy/psysh does not exist and could not be created. Now trying to download from source - Syncing psy/psysh (v0.10.12) into cache Failed to download laravel/tinker from dist: /var/www/bookstack/vendor/larav el/tinker does not exist and could not be created. Now trying to download from source - Syncing laravel/tinker (v2.6.3) into cache Failed to download laravel/ui from dist: /var/www/bookstack/vendor/laravel/u i does not exist and could not be created. Now trying to download from source - Syncing laravel/ui (v3.4.0) into cache - Downloading aws/aws-sdk-php (3.208.5) - Downloading aws/aws-sdk-php (3.208.5) - Downloading aws/aws-sdk-php (3.208.5) - Downloading aws/aws-sdk-php (3.208.5) Failed to download aws/aws-sdk-php from dist: The "https://api.github.com/re pos/aws/aws-sdk-php/zipball/58fa9d8b522b0afa260299179ff950c783ff0ee1" file could not be written to /var/www/bookstack/vendor/composer/tmp-a2f3a8a06df050bce49cdc ba69d81c8c: failed to open stream: Permission denied Now trying to download from source - Syncing aws/aws-sdk-php (3.208.5) into cache Failed to download league/html-to-markdown from dist: /var/www/bookstack/ven dor/league/html-to-markdown does not exist and could not be created. Now trying to download from source - Syncing league/html-to-markdown (5.0.2) into cache - Downloading paragonie/random_compat (v9.99.100) - Downloading paragonie/random_compat (v9.99.100) - Downloading paragonie/random_compat (v9.99.100) - Downloading paragonie/random_compat (v9.99.100) Failed to download paragonie/random_compat from dist: The "https://api.githu b.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef 965a" file could not be written to /var/www/bookstack/vendor/composer/tmp-aabf50 1b4907a74c71bb5b482dfa7904: failed to open stream: Permission denied Now trying to download from source - Syncing paragonie/random_compat (v9.99.100) into cache Failed to download league/oauth2-client from dist: /var/www/bookstack/vendor /league/oauth2-client does not exist and could not be created. Now trying to download from source - Syncing league/oauth2-client (2.6.0) into cache Failed to download paragonie/constant_time_encoding from dist: /var/www/book stack/vendor/paragonie/constant_time_encoding does not exist and could not be cr eated. Now trying to download from source - Syncing paragonie/constant_time_encoding (v2.4.0) into cache Failed to download phpseclib/phpseclib from dist: /var/www/bookstack/vendor/ phpseclib/phpseclib does not exist and could not be created. Now trying to download from source - Syncing phpseclib/phpseclib (3.0.12) into cache Failed to download pragmarx/google2fa from dist: /var/www/bookstack/vendor/p ragmarx/google2fa does not exist and could not be created. Now trying to download from source - Syncing pragmarx/google2fa (8.0.0) into cache - Downloading predis/predis (v1.1.9) - Downloading predis/predis (v1.1.9) - Downloading predis/predis (v1.1.9) - Downloading predis/predis (v1.1.9) Failed to download predis/predis from dist: The "https://api.github.com/repo s/predis/predis/zipball/c50c3393bb9f47fa012d0cdfb727a266b0818259" file could not be written to /var/www/bookstack/vendor/composer/tmp-09decb1ad6984748721abde335 cd186f: failed to open stream: Permission denied Now trying to download from source - Syncing predis/predis (v1.1.9) into cache - Downloading socialiteproviders/microsoft-azure (5.0.1) - Downloading socialiteproviders/microsoft-azure (5.0.1) - Downloading socialiteproviders/microsoft-azure (5.0.1) - Downloading socialiteproviders/microsoft-azure (5.0.1) Failed to download socialiteproviders/microsoft-azure from dist: The "https: //api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/9b23e02ff711de 42e513aa55f768a4f1c67c0e41" file could not be written to /var/www/bookstack/vend or/composer/tmp-d587e7998ffd00da6bef308fe717ddfd: failed to open stream: Permiss ion denied Now trying to download from source - Syncing socialiteproviders/microsoft-azure (5.0.1) into cache - Removing symfony/http-client-contracts (v2.4.0) Uninstall of symfony/http-client-contracts failed - Removing symfony/debug (v4.4.25) Uninstall of symfony/debug failed - Removing scrivo/highlight.php (v9.18.1.6) Uninstall of scrivo/highlight.php failed - Removing php-parallel-lint/php-console-highlighter (v0.5) Uninstall of php-parallel-lint/php-console-highlighter failed - Removing php-parallel-lint/php-console-color (v0.3) Uninstall of php-parallel-lint/php-console-color failed - Removing nunomaduro/collision (v3.2.0) Uninstall of nunomaduro/collision failed - Removing fideloper/proxy (4.4.1) Uninstall of fideloper/proxy failed - Removing facade/ignition-contracts (1.0.2) Uninstall of facade/ignition-contracts failed - Removing facade/ignition (1.17.0) Uninstall of facade/ignition failed - Removing facade/flare-client-php (1.8.1) Uninstall of facade/flare-client-php failed 0 [--->------------------------] In Filesystem.php line 218: Could not delete /var/www/bookstack/vendor/symfony/http-client-contracts/Ex ception/TimeoutExceptionInterface.php: install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-suggest] [-- no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|v vv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-a utoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform- req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...] ``` </details>
Author
Owner

@C0rn3j commented on GitHub (Dec 27, 2021):

sudo git pull origin release && composer instal l --no-dev && php artisan migrate

You are running git pull with sudo perms and composer install + php migrate as the user, so this smells of bad permissions.

Make sure your files are owned by the webserver, ditch sudo and run the composer and PHP commands as the webserver user (runuser or sudo)

@C0rn3j commented on GitHub (Dec 27, 2021): `sudo git pull origin release && composer instal l --no-dev && php artisan migrate` You are running `git pull` with sudo perms and composer install + php migrate as the user, so this smells of bad permissions. Make sure your files are owned by the webserver, ditch sudo and run the composer and PHP commands as the webserver user (runuser or sudo)
Author
Owner

@ssddanbrown commented on GitHub (Dec 27, 2021):

Yeah, very likely due to permissions as @C0rn3j has suggested.

I usually set file ownership to myself, with the webserver having group ownership then control access to the needed locations via permission settings.

So something like the below (Assuming using Ubuntu, substitute parts in angle quotes like<this>):

# Navigate to your bookstack install directory (Commonly /var/www/bookstack)
cd <bookstack_dir>

# Check your current logged in user account
whoami

# Update yourself to the owner of all files & folders with the webserver being the group account.
# Replace the <username> with the user you log in as (Likely the output of the last command).
sudo chown -R <username>:www-data ./

# Set permissions to be 755 by default (Write access to only you)
sudo chmod -R 755 ./

# Set permissions to be 775 to provide webserver writeable access to needed directories
sudo chmod -R 775 storage/ public/uploads bootstrap/cache

After those you should be able to run the update commands as your normal user without sudo.

@ssddanbrown commented on GitHub (Dec 27, 2021): Yeah, very likely due to permissions as @C0rn3j has suggested. I usually set file ownership to myself, with the webserver having group ownership then control access to the needed locations via permission settings. So something like the below (Assuming using Ubuntu, substitute parts in angle quotes like`<this>`): ```bash # Navigate to your bookstack install directory (Commonly /var/www/bookstack) cd <bookstack_dir> # Check your current logged in user account whoami # Update yourself to the owner of all files & folders with the webserver being the group account. # Replace the <username> with the user you log in as (Likely the output of the last command). sudo chown -R <username>:www-data ./ # Set permissions to be 755 by default (Write access to only you) sudo chmod -R 755 ./ # Set permissions to be 775 to provide webserver writeable access to needed directories sudo chmod -R 775 storage/ public/uploads bootstrap/cache ``` After those you should be able to run the update commands as your normal user without sudo.
Author
Owner

@ShowMeIT commented on GitHub (Dec 28, 2021):

Thanks @ssddanbrown & @C0rn3j,

This seemed to have resolved the file permission issue, I ran into another issue further through the upgrade process in relation to table 'Favourites' - is this possibly a permission problem as well?

_Migrating: 2021_05_15_173110_create_favourites_table

In Connection.php line 703:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites'
already exists (SQL: create table favourites (id int unsigned not null
auto_increment primary key, user_id int not null, favouritable_id int
not null, favouritable_type varchar(100) not null, created_at timestamp
null, updated_at timestamp null) default character set utf8mb4 collate '
utf8mb4_unicode_ci')

In Connection.php line 492:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites'
already exists_

Full terminal output below:

@books:/var/www/bookstack$ git pull origin release && composer install --no-dev && php artisan migrate
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint: git config pull.rebase false # merge (the default strategy)
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
From https://github.com/BookStackApp/BookStack

  • branch release -> FETCH_HEAD
    Already up to date.

@php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');"
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 25 installs, 47 updates, 10 removals

  • Downloading composer/package-versions-deprecated (1.11.99.4)
  • Downloading aws/aws-crt-php (v1.0.2)
  • Downloading dasprid/enum (1.0.3)
  • Downloading bacon/bacon-qr-code (2.0.4)
  • Downloading voku/portable-ascii (1.5.6)
  • Downloading symfony/polyfill-php80 (v1.23.1)
  • Downloading symfony/polyfill-mbstring (v1.23.1)
  • Downloading phpoption/phpoption (1.8.1)
  • Downloading graham-campbell/result-type (v1.0.4)
  • Downloading vlucas/phpdotenv (v5.4.1)
  • Downloading symfony/css-selector (v5.4.0)
  • Downloading tijsverkoyen/css-to-inline-styles (2.2.4)
  • Downloading symfony/var-dumper (v5.4.1)
  • Downloading symfony/deprecation-contracts (v2.5.0)
  • Downloading symfony/routing (v5.4.0)
  • Downloading symfony/process (v5.4.0)
  • Downloading symfony/mime (v5.4.0)
  • Downloading symfony/http-foundation (v5.4.1)
  • Downloading psr/event-dispatcher (1.0.0)
  • Downloading symfony/event-dispatcher-contracts (v2.5.0)
  • Downloading symfony/event-dispatcher (v5.4.0)
  • Downloading symfony/error-handler (v5.4.1)
  • Downloading symfony/http-kernel (v5.4.1)
  • Downloading symfony/finder (v5.4.0)
  • Downloading symfony/polyfill-intl-grapheme (v1.23.1)
  • Downloading symfony/string (v5.4.0)
  • Downloading symfony/service-contracts (v2.5.0)
  • Downloading symfony/console (v5.4.1)
  • Downloading swiftmailer/swiftmailer (v6.3.0)
  • Downloading symfony/polyfill-php81 (v1.23.0)
  • Downloading ramsey/collection (1.2.2)
  • Downloading brick/math (0.9.3)
  • Downloading ramsey/uuid (4.2.3)
  • Downloading symfony/translation-contracts (v2.5.0)
  • Downloading symfony/translation (v5.4.1)
  • Downloading nesbot/carbon (2.55.2)
  • Downloading monolog/monolog (2.3.5)
  • Downloading league/mime-type-detection (1.9.0)
  • Downloading league/flysystem (1.1.9)
  • Downloading league/commonmark (1.6.6)
  • Downloading laravel/serializable-closure (v1.0.5)
  • Downloading webmozart/assert (1.10.0)
  • Downloading dragonmantank/cron-expression (v3.1.0)
  • Downloading doctrine/inflector (2.0.4)
  • Downloading laravel/framework (v8.76.1)
  • Downloading sabberworm/php-css-parser (8.4.0)
  • Downloading dompdf/dompdf (v1.1.1)
  • Downloading knplabs/knp-snappy (v1.3.1)
  • Downloading psr/cache (1.0.1)
  • Downloading doctrine/cache (2.1.1)
  • Downloading doctrine/dbal (3.2.0)
  • Downloading filp/whoops (2.14.4)
  • Downloading guzzlehttp/promises (1.5.1)
  • Downloading psr/http-factory (1.0.1)
  • Downloading guzzlehttp/psr7 (2.1.0)
  • Downloading intervention/image (2.7.0)
  • Downloading guzzlehttp/guzzle (7.4.1)
  • Downloading league/oauth1-client (v1.10.0)
  • Downloading laravel/socialite (v5.2.6)
  • Downloading nikic/php-parser (v4.13.2)
  • Downloading psy/psysh (v0.10.12)
  • Downloading laravel/tinker (v2.6.3)
  • Downloading laravel/ui (v3.4.0)
  • Downloading aws/aws-sdk-php (3.208.5)
  • Downloading league/html-to-markdown (5.0.2)
  • Downloading paragonie/random_compat (v9.99.100)
  • Downloading league/oauth2-client (2.6.0)
  • Downloading paragonie/constant_time_encoding (v2.4.0)
  • Downloading phpseclib/phpseclib (3.0.12)
  • Downloading pragmarx/google2fa (8.0.0)
  • Downloading predis/predis (v1.1.9)
  • Downloading socialiteproviders/microsoft-azure (5.0.1)
  • Removing symfony/http-client-contracts (v2.4.0)
  • Removing symfony/debug (v4.4.25)
  • Removing scrivo/highlight.php (v9.18.1.6)
  • Removing php-parallel-lint/php-console-highlighter (v0.5)
  • Removing php-parallel-lint/php-console-color (v0.3)
  • Removing nunomaduro/collision (v3.2.0)
  • Removing fideloper/proxy (4.4.1)
  • Removing facade/ignition-contracts (1.0.2)
  • Removing facade/ignition (1.17.0)
  • Removing facade/flare-client-php (1.8.1)
  • Installing composer/package-versions-deprecated (1.11.99.4): Extracting archive
  • Installing aws/aws-crt-php (v1.0.2): Extracting archive
  • Installing dasprid/enum (1.0.3): Extracting archive
  • Installing bacon/bacon-qr-code (2.0.4): Extracting archive
  • Installing voku/portable-ascii (1.5.6): Extracting archive
  • Upgrading symfony/polyfill-php80 (v1.23.0 => v1.23.1): Extracting archive
  • Upgrading symfony/polyfill-mbstring (v1.23.0 => v1.23.1): Extracting archive
  • Upgrading phpoption/phpoption (1.7.5 => 1.8.1): Extracting archive
  • Installing graham-campbell/result-type (v1.0.4): Extracting archive
  • Upgrading vlucas/phpdotenv (v3.6.8 => v5.4.1): Extracting archive
  • Upgrading symfony/css-selector (v4.4.25 => v5.4.0): Extracting archive
  • Upgrading tijsverkoyen/css-to-inline-styles (2.2.3 => 2.2.4): Extracting archive
  • Upgrading symfony/var-dumper (v4.4.26 => v5.4.1): Extracting archive
  • Upgrading symfony/deprecation-contracts (v2.4.0 => v2.5.0): Extracting archive
  • Upgrading symfony/routing (v4.4.25 => v5.4.0): Extracting archive
  • Upgrading symfony/process (v4.4.26 => v5.4.0): Extracting archive
  • Upgrading symfony/mime (v5.3.2 => v5.4.0): Extracting archive
  • Upgrading symfony/http-foundation (v4.4.26 => v5.4.1): Extracting archive
  • Installing psr/event-dispatcher (1.0.0): Extracting archive
  • Upgrading symfony/event-dispatcher-contracts (v1.1.9 => v2.5.0): Extracting archive
  • Upgrading symfony/event-dispatcher (v4.4.25 => v5.4.0): Extracting archive
  • Upgrading symfony/error-handler (v4.4.26 => v5.4.1): Extracting archive
  • Upgrading symfony/http-kernel (v4.4.26 => v5.4.1): Extracting archive
  • Upgrading symfony/finder (v4.4.25 => v5.4.0): Extracting archive
  • Installing symfony/polyfill-intl-grapheme (v1.23.1): Extracting archive
  • Installing symfony/string (v5.4.0): Extracting archive
  • Upgrading symfony/service-contracts (v2.4.0 => v2.5.0): Extracting archive
  • Upgrading symfony/console (v4.4.26 => v5.4.1): Extracting archive
  • Upgrading swiftmailer/swiftmailer (v6.2.7 => v6.3.0): Extracting archive
  • Installing symfony/polyfill-php81 (v1.23.0): Extracting archive
  • Installing ramsey/collection (1.2.2): Extracting archive
  • Installing brick/math (0.9.3): Extracting archive
  • Upgrading ramsey/uuid (3.9.3 => 4.2.3): Extracting archive
  • Upgrading symfony/translation-contracts (v2.4.0 => v2.5.0): Extracting archive
  • Upgrading symfony/translation (v4.4.26 => v5.4.1): Extracting archive
  • Upgrading nesbot/carbon (2.50.0 => 2.55.2): Extracting archive
  • Upgrading monolog/monolog (2.2.0 => 2.3.5): Extracting archive
  • Upgrading league/mime-type-detection (1.7.0 => 1.9.0): Extracting archive
  • Upgrading league/flysystem (1.1.4 => 1.1.9): Extracting archive
  • Upgrading league/commonmark (1.6.5 => 1.6.6): Extracting archive
  • Installing laravel/serializable-closure (v1.0.5): Extracting archive
  • Installing webmozart/assert (1.10.0): Extracting archive
  • Upgrading dragonmantank/cron-expression (v2.3.1 => v3.1.0): Extracting archive
  • Upgrading doctrine/inflector (2.0.3 => 2.0.4): Extracting archive
  • Upgrading laravel/framework (v6.20.29 => v8.76.1): Extracting archive
  • Upgrading sabberworm/php-css-parser (8.3.1 => 8.4.0): Extracting archive
  • Upgrading dompdf/dompdf (v1.0.2 => v1.1.1): Extracting archive
  • Upgrading knplabs/knp-snappy (v1.2.1 => v1.3.1): Extracting archive
  • Installing psr/cache (1.0.1): Extracting archive
  • Upgrading doctrine/cache (2.0.3 => 2.1.1): Extracting archive
  • Upgrading doctrine/dbal (2.13.2 => 3.2.0): Extracting archive
  • Upgrading filp/whoops (2.13.0 => 2.14.4): Extracting archive
  • Upgrading guzzlehttp/promises (1.4.1 => 1.5.1): Extracting archive
  • Installing psr/http-factory (1.0.1): Extracting archive
  • Upgrading guzzlehttp/psr7 (1.8.2 => 2.1.0): Extracting archive
  • Upgrading intervention/image (2.5.1 => 2.7.0): Extracting archive
  • Upgrading guzzlehttp/guzzle (7.3.0 => 7.4.1): Extracting archive
  • Upgrading league/oauth1-client (v1.9.0 => v1.10.0): Extracting archive
  • Upgrading laravel/socialite (v5.2.3 => v5.2.6): Extracting archive
  • Installing nikic/php-parser (v4.13.2): Extracting archive
  • Installing psy/psysh (v0.10.12): Extracting archive
  • Installing laravel/tinker (v2.6.3): Extracting archive
  • Installing laravel/ui (v3.4.0): Extracting archive
  • Upgrading aws/aws-sdk-php (3.185.6 => 3.208.5): Extracting archive
  • Installing league/html-to-markdown (5.0.2): Extracting archive
  • Upgrading paragonie/random_compat (v9.99.99 => v9.99.100): Extracting archive
  • Installing league/oauth2-client (2.6.0): Extracting archive
  • Installing paragonie/constant_time_encoding (v2.4.0): Extracting archive
  • Installing phpseclib/phpseclib (3.0.12): Extracting archive
  • Installing pragmarx/google2fa (8.0.0): Extracting archive
  • Upgrading predis/predis (v1.1.7 => v1.1.9): Extracting archive
  • Upgrading socialiteproviders/microsoft-azure (4.2.1 => 5.0.1): Extracting archive
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Generating optimized autoload files
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: barryvdh/laravel-snappy
Discovered Package: intervention/image
Discovered Package: laravel/socialite
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: nesbot/carbon
Discovered Package: socialiteproviders/manager
Package manifest generated successfully.
58 packages you are using are looking for funding.
Use the composer fund command to find out more!
@php artisan cache:clear
Application cache cleared!
@php artisan view:clear
Compiled views cleared!


  • Application In Production!     *
    

Do you really wish to run this command? (yes/no) [no]:

yes

Migrating: 2021_05_15_173110_create_favourites_table

In Connection.php line 703:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites'
already exists (SQL: create table favourites (id int unsigned not null
auto_increment primary key, user_id int not null, favouritable_id int
not null, favouritable_type varchar(100) not null, created_at timestamp
null, updated_at timestamp null) default character set utf8mb4 collate '
utf8mb4_unicode_ci')

In Connection.php line 492:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites'
already exists

tyuhbg@books:/var/www/bookstack$

Thanks,
Andrew.

@ShowMeIT commented on GitHub (Dec 28, 2021): Thanks @ssddanbrown & @C0rn3j, This seemed to have resolved the file permission issue, I ran into another issue further through the upgrade process in relation to table 'Favourites' - is this possibly a permission problem as well? _Migrating: 2021_05_15_173110_create_favourites_table In Connection.php line 703: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites' already exists (SQL: create table favourites (id int unsigned not null auto_increment primary key, user_id int not null, favouritable_id int not null, favouritable_type varchar(100) not null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate ' utf8mb4_unicode_ci') In Connection.php line 492: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites' already exists_ **Full terminal output below:** @books:/var/www/bookstack$ git pull origin release && composer install --no-dev && php artisan migrate hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. From https://github.com/BookStackApp/BookStack * branch release -> FETCH_HEAD Already up to date. > @php -r "!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');" Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 25 installs, 47 updates, 10 removals - Downloading composer/package-versions-deprecated (1.11.99.4) - Downloading aws/aws-crt-php (v1.0.2) - Downloading dasprid/enum (1.0.3) - Downloading bacon/bacon-qr-code (2.0.4) - Downloading voku/portable-ascii (1.5.6) - Downloading symfony/polyfill-php80 (v1.23.1) - Downloading symfony/polyfill-mbstring (v1.23.1) - Downloading phpoption/phpoption (1.8.1) - Downloading graham-campbell/result-type (v1.0.4) - Downloading vlucas/phpdotenv (v5.4.1) - Downloading symfony/css-selector (v5.4.0) - Downloading tijsverkoyen/css-to-inline-styles (2.2.4) - Downloading symfony/var-dumper (v5.4.1) - Downloading symfony/deprecation-contracts (v2.5.0) - Downloading symfony/routing (v5.4.0) - Downloading symfony/process (v5.4.0) - Downloading symfony/mime (v5.4.0) - Downloading symfony/http-foundation (v5.4.1) - Downloading psr/event-dispatcher (1.0.0) - Downloading symfony/event-dispatcher-contracts (v2.5.0) - Downloading symfony/event-dispatcher (v5.4.0) - Downloading symfony/error-handler (v5.4.1) - Downloading symfony/http-kernel (v5.4.1) - Downloading symfony/finder (v5.4.0) - Downloading symfony/polyfill-intl-grapheme (v1.23.1) - Downloading symfony/string (v5.4.0) - Downloading symfony/service-contracts (v2.5.0) - Downloading symfony/console (v5.4.1) - Downloading swiftmailer/swiftmailer (v6.3.0) - Downloading symfony/polyfill-php81 (v1.23.0) - Downloading ramsey/collection (1.2.2) - Downloading brick/math (0.9.3) - Downloading ramsey/uuid (4.2.3) - Downloading symfony/translation-contracts (v2.5.0) - Downloading symfony/translation (v5.4.1) - Downloading nesbot/carbon (2.55.2) - Downloading monolog/monolog (2.3.5) - Downloading league/mime-type-detection (1.9.0) - Downloading league/flysystem (1.1.9) - Downloading league/commonmark (1.6.6) - Downloading laravel/serializable-closure (v1.0.5) - Downloading webmozart/assert (1.10.0) - Downloading dragonmantank/cron-expression (v3.1.0) - Downloading doctrine/inflector (2.0.4) - Downloading laravel/framework (v8.76.1) - Downloading sabberworm/php-css-parser (8.4.0) - Downloading dompdf/dompdf (v1.1.1) - Downloading knplabs/knp-snappy (v1.3.1) - Downloading psr/cache (1.0.1) - Downloading doctrine/cache (2.1.1) - Downloading doctrine/dbal (3.2.0) - Downloading filp/whoops (2.14.4) - Downloading guzzlehttp/promises (1.5.1) - Downloading psr/http-factory (1.0.1) - Downloading guzzlehttp/psr7 (2.1.0) - Downloading intervention/image (2.7.0) - Downloading guzzlehttp/guzzle (7.4.1) - Downloading league/oauth1-client (v1.10.0) - Downloading laravel/socialite (v5.2.6) - Downloading nikic/php-parser (v4.13.2) - Downloading psy/psysh (v0.10.12) - Downloading laravel/tinker (v2.6.3) - Downloading laravel/ui (v3.4.0) - Downloading aws/aws-sdk-php (3.208.5) - Downloading league/html-to-markdown (5.0.2) - Downloading paragonie/random_compat (v9.99.100) - Downloading league/oauth2-client (2.6.0) - Downloading paragonie/constant_time_encoding (v2.4.0) - Downloading phpseclib/phpseclib (3.0.12) - Downloading pragmarx/google2fa (8.0.0) - Downloading predis/predis (v1.1.9) - Downloading socialiteproviders/microsoft-azure (5.0.1) - Removing symfony/http-client-contracts (v2.4.0) - Removing symfony/debug (v4.4.25) - Removing scrivo/highlight.php (v9.18.1.6) - Removing php-parallel-lint/php-console-highlighter (v0.5) - Removing php-parallel-lint/php-console-color (v0.3) - Removing nunomaduro/collision (v3.2.0) - Removing fideloper/proxy (4.4.1) - Removing facade/ignition-contracts (1.0.2) - Removing facade/ignition (1.17.0) - Removing facade/flare-client-php (1.8.1) - Installing composer/package-versions-deprecated (1.11.99.4): Extracting archive - Installing aws/aws-crt-php (v1.0.2): Extracting archive - Installing dasprid/enum (1.0.3): Extracting archive - Installing bacon/bacon-qr-code (2.0.4): Extracting archive - Installing voku/portable-ascii (1.5.6): Extracting archive - Upgrading symfony/polyfill-php80 (v1.23.0 => v1.23.1): Extracting archive - Upgrading symfony/polyfill-mbstring (v1.23.0 => v1.23.1): Extracting archive - Upgrading phpoption/phpoption (1.7.5 => 1.8.1): Extracting archive - Installing graham-campbell/result-type (v1.0.4): Extracting archive - Upgrading vlucas/phpdotenv (v3.6.8 => v5.4.1): Extracting archive - Upgrading symfony/css-selector (v4.4.25 => v5.4.0): Extracting archive - Upgrading tijsverkoyen/css-to-inline-styles (2.2.3 => 2.2.4): Extracting archive - Upgrading symfony/var-dumper (v4.4.26 => v5.4.1): Extracting archive - Upgrading symfony/deprecation-contracts (v2.4.0 => v2.5.0): Extracting archive - Upgrading symfony/routing (v4.4.25 => v5.4.0): Extracting archive - Upgrading symfony/process (v4.4.26 => v5.4.0): Extracting archive - Upgrading symfony/mime (v5.3.2 => v5.4.0): Extracting archive - Upgrading symfony/http-foundation (v4.4.26 => v5.4.1): Extracting archive - Installing psr/event-dispatcher (1.0.0): Extracting archive - Upgrading symfony/event-dispatcher-contracts (v1.1.9 => v2.5.0): Extracting archive - Upgrading symfony/event-dispatcher (v4.4.25 => v5.4.0): Extracting archive - Upgrading symfony/error-handler (v4.4.26 => v5.4.1): Extracting archive - Upgrading symfony/http-kernel (v4.4.26 => v5.4.1): Extracting archive - Upgrading symfony/finder (v4.4.25 => v5.4.0): Extracting archive - Installing symfony/polyfill-intl-grapheme (v1.23.1): Extracting archive - Installing symfony/string (v5.4.0): Extracting archive - Upgrading symfony/service-contracts (v2.4.0 => v2.5.0): Extracting archive - Upgrading symfony/console (v4.4.26 => v5.4.1): Extracting archive - Upgrading swiftmailer/swiftmailer (v6.2.7 => v6.3.0): Extracting archive - Installing symfony/polyfill-php81 (v1.23.0): Extracting archive - Installing ramsey/collection (1.2.2): Extracting archive - Installing brick/math (0.9.3): Extracting archive - Upgrading ramsey/uuid (3.9.3 => 4.2.3): Extracting archive - Upgrading symfony/translation-contracts (v2.4.0 => v2.5.0): Extracting archive - Upgrading symfony/translation (v4.4.26 => v5.4.1): Extracting archive - Upgrading nesbot/carbon (2.50.0 => 2.55.2): Extracting archive - Upgrading monolog/monolog (2.2.0 => 2.3.5): Extracting archive - Upgrading league/mime-type-detection (1.7.0 => 1.9.0): Extracting archive - Upgrading league/flysystem (1.1.4 => 1.1.9): Extracting archive - Upgrading league/commonmark (1.6.5 => 1.6.6): Extracting archive - Installing laravel/serializable-closure (v1.0.5): Extracting archive - Installing webmozart/assert (1.10.0): Extracting archive - Upgrading dragonmantank/cron-expression (v2.3.1 => v3.1.0): Extracting archive - Upgrading doctrine/inflector (2.0.3 => 2.0.4): Extracting archive - Upgrading laravel/framework (v6.20.29 => v8.76.1): Extracting archive - Upgrading sabberworm/php-css-parser (8.3.1 => 8.4.0): Extracting archive - Upgrading dompdf/dompdf (v1.0.2 => v1.1.1): Extracting archive - Upgrading knplabs/knp-snappy (v1.2.1 => v1.3.1): Extracting archive - Installing psr/cache (1.0.1): Extracting archive - Upgrading doctrine/cache (2.0.3 => 2.1.1): Extracting archive - Upgrading doctrine/dbal (2.13.2 => 3.2.0): Extracting archive - Upgrading filp/whoops (2.13.0 => 2.14.4): Extracting archive - Upgrading guzzlehttp/promises (1.4.1 => 1.5.1): Extracting archive - Installing psr/http-factory (1.0.1): Extracting archive - Upgrading guzzlehttp/psr7 (1.8.2 => 2.1.0): Extracting archive - Upgrading intervention/image (2.5.1 => 2.7.0): Extracting archive - Upgrading guzzlehttp/guzzle (7.3.0 => 7.4.1): Extracting archive - Upgrading league/oauth1-client (v1.9.0 => v1.10.0): Extracting archive - Upgrading laravel/socialite (v5.2.3 => v5.2.6): Extracting archive - Installing nikic/php-parser (v4.13.2): Extracting archive - Installing psy/psysh (v0.10.12): Extracting archive - Installing laravel/tinker (v2.6.3): Extracting archive - Installing laravel/ui (v3.4.0): Extracting archive - Upgrading aws/aws-sdk-php (3.185.6 => 3.208.5): Extracting archive - Installing league/html-to-markdown (5.0.2): Extracting archive - Upgrading paragonie/random_compat (v9.99.99 => v9.99.100): Extracting archive - Installing league/oauth2-client (2.6.0): Extracting archive - Installing paragonie/constant_time_encoding (v2.4.0): Extracting archive - Installing phpseclib/phpseclib (3.0.12): Extracting archive - Installing pragmarx/google2fa (8.0.0): Extracting archive - Upgrading predis/predis (v1.1.7 => v1.1.9): Extracting archive - Upgrading socialiteproviders/microsoft-azure (4.2.1 => 5.0.1): Extracting archive Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead. Generating optimized autoload files composer/package-versions-deprecated: Generating version class... composer/package-versions-deprecated: ...done generating version class > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: barryvdh/laravel-dompdf Discovered Package: barryvdh/laravel-snappy Discovered Package: intervention/image Discovered Package: laravel/socialite Discovered Package: laravel/tinker Discovered Package: laravel/ui Discovered Package: nesbot/carbon Discovered Package: socialiteproviders/manager Package manifest generated successfully. 58 packages you are using are looking for funding. Use the `composer fund` command to find out more! > @php artisan cache:clear Application cache cleared! > @php artisan view:clear Compiled views cleared! ************************************** * Application In Production! * ************************************** Do you really wish to run this command? (yes/no) [no]: > yes Migrating: 2021_05_15_173110_create_favourites_table In Connection.php line 703: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites' already exists (SQL: create table `favourites` (`id` int unsigned not null auto_increment primary key, `user_id` int not null, `favouritable_id` int not null, `favouritable_type` varchar(100) not null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate ' utf8mb4_unicode_ci') In Connection.php line 492: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'favourites' already exists tyuhbg@books:/var/www/bookstack$ Thanks, Andrew.
Author
Owner

@ShowMeIT commented on GitHub (Dec 30, 2021):

For the second part of my issue I found the solution here:
#3009 - https://github.com/BookStackApp/BookStack/issues/3009#issuecomment-952293714 - removed the parts related to docker.

Thanks again to @ssddanbrown & @C0rn3j for their help and support!

Cheers,
Andrew.

@ShowMeIT commented on GitHub (Dec 30, 2021): For the second part of my issue I found the solution here: #3009 - https://github.com/BookStackApp/BookStack/issues/3009#issuecomment-952293714 - removed the parts related to docker. Thanks again to @ssddanbrown & @C0rn3j for their help and support! Cheers, Andrew.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2538