Skip to content

BookStack LXC Script FailsΒ #5843

@MoonieGZ

Description

@MoonieGZ

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

bookstack

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/bookstack.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

Same issue as #5822

Just this time with php8.3

πŸ”„ Steps to reproduce the issue.

Step 1: run script with advanced parameters, static ip but default values
Step 2: it breaks :')

❌ Paste the full error output (if available).

[snip]
  βœ”οΈ   Setup MariaDB 12.0.1
  βœ”οΈ   Set up database
  βœ”οΈ   Deployed: bookstack (25.05.2)
  ⏳   Configuring Bookstack (Patience)> @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: 108 installs, 0 updates, 0 removals
  - Downloading aws/aws-crt-php (v1.2.7)
  - Downloading dasprid/enum (1.0.6)
  - Downloading bacon/bacon-qr-code (v3.0.1)
  - Downloading doctrine/inflector (2.0.10)
  - Downloading doctrine/lexer (3.0.1)
  - Downloading masterminds/html5 (2.9.0)
  - Downloading symfony/polyfill-mbstring (v1.32.0)
  - Downloading sabberworm/php-css-parser (v8.8.0)
  - Downloading dompdf/php-svg-lib (1.0.0)
  - Downloading dompdf/php-font-lib (1.0.1)
  - Downloading dompdf/dompdf (v3.1.0)
  - Downloading symfony/polyfill-ctype (v1.32.0)
  - Downloading webmozart/assert (1.11.0)
  - Downloading dragonmantank/cron-expression (v3.4.0)
  - Downloading symfony/polyfill-php83 (v1.32.0)
  - Downloading symfony/deprecation-contracts (v3.6.0)
  - Downloading symfony/http-foundation (v7.3.1)
  - Downloading fruitcake/php-cors (v1.3.0)
  - Downloading guzzlehttp/promises (2.2.0)
  - Downloading symfony/polyfill-php80 (v1.32.0)
  - Downloading guzzlehttp/uri-template (v1.0.4)
  - Downloading intervention/gif (4.2.2)
  - Downloading intervention/image (3.11.3)
  - Downloading symfony/process (v7.3.0)
  - Downloading psr/log (3.0.2)
  - Downloading knplabs/knp-snappy (v1.5.1)
  - Downloading symfony/polyfill-intl-normalizer (v1.32.0)
  - Downloading symfony/polyfill-intl-grapheme (v1.32.0)
  - Downloading symfony/string (v7.3.0)
  - Downloading psr/container (2.0.2)
  - Downloading symfony/service-contracts (v3.6.0)
  - Downloading symfony/console (v7.3.1)
  - Downloading laravel/prompts (v0.3.5)
  - Downloading laravel/serializable-closure (v2.0.4)
  - Downloading paragonie/random_compat (v9.99.100)
  - Downloading paragonie/constant_time_encoding (v3.0.0)
  - Downloading phpseclib/phpseclib (3.0.46)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-message (2.0)
  - Downloading psr/http-factory (1.1.0)
  - Downloading guzzlehttp/psr7 (2.7.1)
  - Downloading psr/http-client (1.0.3)
  - Downloading guzzlehttp/guzzle (7.9.3)
  - Downloading league/oauth1-client (v1.11.0)
  - Downloading voku/portable-ascii (2.0.3)
  - Downloading phpoption/phpoption (1.9.3)
  - Downloading graham-campbell/result-type (v1.1.3)
  - Downloading vlucas/phpdotenv (v5.6.2)
  - Downloading symfony/css-selector (v7.3.0)
  - Downloading tijsverkoyen/css-to-inline-styles (v2.3.0)
  - Downloading symfony/var-dumper (v7.3.1)
  - Downloading symfony/polyfill-uuid (v1.32.0)
  - Downloading symfony/uid (v7.3.1)
  - Downloading symfony/routing (v7.3.0)
  - Downloading symfony/polyfill-intl-idn (v1.32.0)
  - Downloading symfony/mime (v7.3.0)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading symfony/event-dispatcher-contracts (v3.6.0)
  - Downloading symfony/event-dispatcher (v7.3.0)
  - Downloading egulias/email-validator (4.0.4)
  - Downloading ssddanbrown/symfony-mailer (7.2.x-dev e9de8dc)
  - Downloading symfony/error-handler (v7.3.1)
  - Downloading symfony/http-kernel (v7.3.1)
  - Downloading symfony/finder (v7.3.0)
  - Downloading ramsey/collection (2.1.1)
  - Downloading brick/math (0.12.3)
  - Downloading ramsey/uuid (4.9.0)
  - Downloading psr/simple-cache (3.0.0)
  - Downloading nunomaduro/termwind (v2.3.1)
  - Downloading symfony/translation-contracts (v3.6.0)
  - Downloading symfony/translation (v7.3.1)
  - Downloading psr/clock (1.0.0)
  - Downloading symfony/clock (v7.3.0)
  - Downloading carbonphp/carbon-doctrine-types (3.2.0)
  - Downloading nesbot/carbon (3.10.1)
  - Downloading monolog/monolog (3.9.0)
  - Downloading league/uri-interfaces (7.5.0)
  - Downloading league/uri (7.5.1)
  - Downloading league/mime-type-detection (1.16.0)
  - Downloading league/flysystem-local (3.30.0)
  - Downloading league/flysystem (3.30.0)
  - Downloading nette/utils (v4.0.7)
  - Downloading nette/schema (v1.3.2)
  - Downloading dflydev/dot-access-data (v3.0.3)
  - Downloading league/config (v1.2.0)
  - Downloading league/commonmark (2.7.0)
  - Downloading laravel/framework (v11.45.1)
  - Downloading firebase/php-jwt (v6.11.1)
  - Downloading laravel/socialite (v5.21.0)
  - Downloading nikic/php-parser (v5.5.0)
  - Downloading psy/psysh (v0.12.9)
  - Downloading laravel/tinker (v2.10.1)
  - Downloading mtdowling/jmespath.php (2.8.0)
  - Downloading aws/aws-sdk-php (3.349.2)
  - Downloading league/flysystem-aws-s3-v3 (3.29.0)
  - Downloading league/html-to-markdown (5.1.1)
  - Downloading league/oauth2-client (2.8.1)
  - Downloading robrichards/xmlseclibs (3.1.3)
  - Downloading onelogin/php-saml (4.3.0)
  - Downloading pragmarx/google2fa (v8.0.3)
  - Downloading predis/predis (v2.4.0)
  - Downloading socialiteproviders/manager (v4.8.1)
  - Downloading socialiteproviders/discord (4.2.0)
  - Downloading socialiteproviders/gitlab (4.1.0)
  - Downloading socialiteproviders/microsoft-azure (5.2.0)
  - Downloading socialiteproviders/okta (4.5.0)
  - Downloading socialiteproviders/twitch (5.4.0)
  - Downloading ssddanbrown/htmldiff (v2.0.0)
  - Installing aws/aws-crt-php (v1.2.7): Extracting archive
  - Installing dasprid/enum (1.0.6): Extracting archive
  - Installing bacon/bacon-qr-code (v3.0.1): Extracting archive
  - Installing doctrine/inflector (2.0.10): Extracting archive
  - Installing doctrine/lexer (3.0.1): Extracting archive
  - Installing masterminds/html5 (2.9.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
  - Installing sabberworm/php-css-parser (v8.8.0): Extracting archive
  - Installing dompdf/php-svg-lib (1.0.0): Extracting archive
  - Installing dompdf/php-font-lib (1.0.1): Extracting archive
  - Installing dompdf/dompdf (v3.1.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.32.0): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing dragonmantank/cron-expression (v3.4.0): Extracting archive
  - Installing symfony/polyfill-php83 (v1.32.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing symfony/http-foundation (v7.3.1): Extracting archive
  - Installing fruitcake/php-cors (v1.3.0): Extracting archive
  - Installing guzzlehttp/promises (2.2.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.32.0): Extracting archive
  - Installing guzzlehttp/uri-template (v1.0.4): Extracting archive
  - Installing intervention/gif (4.2.2): Extracting archive
  - Installing intervention/image (3.11.3): Extracting archive
  - Installing symfony/process (v7.3.0): Extracting archive
  - Installing psr/log (3.0.2): Extracting archive
  - Installing knplabs/knp-snappy (v1.5.1): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.32.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.32.0): Extracting archive
  - Installing symfony/string (v7.3.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.0): Extracting archive
  - Installing symfony/console (v7.3.1): Extracting archive
  - Installing laravel/prompts (v0.3.5): Extracting archive
  - Installing laravel/serializable-closure (v2.0.4): Extracting archive
  - Installing paragonie/random_compat (v9.99.100): Extracting archive
  - Installing paragonie/constant_time_encoding (v3.0.0): Extracting archive
  - Installing phpseclib/phpseclib (3.0.46): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing psr/http-factory (1.1.0): Extracting archive
  - Installing guzzlehttp/psr7 (2.7.1): Extracting archive
  - Installing psr/http-client (1.0.3): Extracting archive
  - Installing guzzlehttp/guzzle (7.9.3): Extracting archive
  - Installing league/oauth1-client (v1.11.0): Extracting archive
  - Installing voku/portable-ascii (2.0.3): Extracting archive
  - Installing phpoption/phpoption (1.9.3): Extracting archive
  - Installing graham-campbell/result-type (v1.1.3): Extracting archive
  - Installing vlucas/phpdotenv (v5.6.2): Extracting archive
  - Installing symfony/css-selector (v7.3.0): Extracting archive
  - Installing tijsverkoyen/css-to-inline-styles (v2.3.0): Extracting archive
  - Installing symfony/var-dumper (v7.3.1): Extracting archive
  - Installing symfony/polyfill-uuid (v1.32.0): Extracting archive
  - Installing symfony/uid (v7.3.1): Extracting archive
  - Installing symfony/routing (v7.3.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.32.0): Extracting archive
  - Installing symfony/mime (v7.3.0): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.6.0): Extracting archive
  - Installing symfony/event-dispatcher (v7.3.0): Extracting archive
  - Installing egulias/email-validator (4.0.4): Extracting archive
  - Installing ssddanbrown/symfony-mailer (7.2.x-dev e9de8dc): Extracting archive
  - Installing symfony/error-handler (v7.3.1): Extracting archive
  - Installing symfony/http-kernel (v7.3.1): Extracting archive
  - Installing symfony/finder (v7.3.0): Extracting archive
  - Installing ramsey/collection (2.1.1): Extracting archive
  - Installing brick/math (0.12.3): Extracting archive
  - Installing ramsey/uuid (4.9.0): Extracting archive
  - Installing psr/simple-cache (3.0.0): Extracting archive
  - Installing nunomaduro/termwind (v2.3.1): Extracting archive
  - Installing symfony/translation-contracts (v3.6.0): Extracting archive
  - Installing symfony/translation (v7.3.1): Extracting archive
  - Installing psr/clock (1.0.0): Extracting archive
  - Installing symfony/clock (v7.3.0): Extracting archive
  - Installing carbonphp/carbon-doctrine-types (3.2.0): Extracting archive
  - Installing nesbot/carbon (3.10.1): Extracting archive
  - Installing monolog/monolog (3.9.0): Extracting archive
  - Installing league/uri-interfaces (7.5.0): Extracting archive
  - Installing league/uri (7.5.1): Extracting archive
  - Installing league/mime-type-detection (1.16.0): Extracting archive
  - Installing league/flysystem-local (3.30.0): Extracting archive
  - Installing league/flysystem (3.30.0): Extracting archive
  - Installing nette/utils (v4.0.7): Extracting archive
  - Installing nette/schema (v1.3.2): Extracting archive
  - Installing dflydev/dot-access-data (v3.0.3): Extracting archive
  - Installing league/config (v1.2.0): Extracting archive
  - Installing league/commonmark (2.7.0): Extracting archive
  - Installing laravel/framework (v11.45.1): Extracting archive
  - Installing firebase/php-jwt (v6.11.1): Extracting archive
  - Installing laravel/socialite (v5.21.0): Extracting archive
  - Installing nikic/php-parser (v5.5.0): Extracting archive
  - Installing psy/psysh (v0.12.9): Extracting archive
  - Installing laravel/tinker (v2.10.1): Extracting archive
  - Installing mtdowling/jmespath.php (2.8.0): Extracting archive
  - Installing aws/aws-sdk-php (3.349.2): Extracting archive
  - Installing league/flysystem-aws-s3-v3 (3.29.0): Extracting archive
  - Installing league/html-to-markdown (5.1.1): Extracting archive
  - Installing league/oauth2-client (2.8.1): Extracting archive
  - Installing robrichards/xmlseclibs (3.1.3): Extracting archive
  - Installing onelogin/php-saml (4.3.0): Extracting archive
  - Installing pragmarx/google2fa (v8.0.3): Extracting archive
  - Installing predis/predis (v2.4.0): Extracting archive
  - Installing socialiteproviders/manager (v4.8.1): Extracting archive
  - Installing socialiteproviders/discord (4.2.0): Extracting archive
  - Installing socialiteproviders/gitlab (4.1.0): Extracting archive
  - Installing socialiteproviders/microsoft-azure (5.2.0): Extracting archive
  - Installing socialiteproviders/okta (4.5.0): Extracting archive
  - Installing socialiteproviders/twitch (5.4.0): Extracting archive
  - Installing ssddanbrown/htmldiff (v2.0.0): Extracting archive
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.  

  laravel/socialite ..................................................... DONE
  laravel/tinker ........................................................ DONE
  nesbot/carbon ......................................................... DONE
  nunomaduro/termwind ................................................... DONE
  socialiteproviders/manager ............................................ DONE

57 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan cache:clear

   INFO  Application cache cleared successfully.  

> @php artisan view:clear

   INFO  Compiled views cleared successfully.  


   INFO  Application key set successfully.  


   INFO  Preparing database.  

  Creating migration table ........................................................................................ 3.14ms DONE

   INFO  Running migrations.  

  2014_10_12_000000_create_users_table .......................................................................... 198.32ms DONE
  2014_10_12_100000_create_password_resets_table .................................................................. 4.73ms DONE
  2015_07_12_114933_create_books_table ............................................................................ 1.07ms DONE
  2015_07_12_190027_create_pages_table ............................................................................ 1.11ms DONE
  2015_07_13_172121_create_images_table ........................................................................... 1.07ms DONE
  2015_07_27_172342_create_chapters_table ......................................................................... 1.10ms DONE
  2015_08_08_200447_add_users_to_entities ........................................................................ 10.98ms DONE
  2015_08_09_093534_create_page_revisions_table ................................................................... 1.12ms DONE
  2015_08_16_142133_create_activities_table ....................................................................... 1.11ms DONE
  2015_08_29_105422_add_roles_and_permissions .................................................................... 26.09ms DONE
  2015_08_30_125859_create_settings_table ......................................................................... 1.14ms DONE
  2015_08_31_175240_add_search_indexes ............................................................................ 0.02ms DONE
  2015_09_04_165821_create_social_accounts_table .................................................................. 4.38ms DONE
  2015_09_05_164707_add_email_confirmation_table .................................................................. 5.71ms DONE
  2015_11_21_145609_create_views_table ............................................................................ 1.10ms DONE
  2015_11_26_221857_add_entity_indexes ........................................................................... 32.86ms DONE
  2015_12_05_145049_fulltext_weighting ............................................................................ 0.02ms DONE
  2015_12_07_195238_add_image_upload_types ........................................................................ 9.35ms DONE
  2015_12_09_195748_add_user_avatars .............................................................................. 1.53ms DONE
  2016_01_11_210908_add_external_auth_to_users .................................................................... 3.31ms DONE
  2016_02_25_184030_add_slug_to_revisions ......................................................................... 6.15ms DONE
  2016_02_27_120329_update_permissions_and_roles ................................................................. 17.47ms DONE
  2016_02_28_084200_add_entity_access_controls ................................................................... 18.99ms DONE
  2016_03_09_203143_add_page_revision_types ....................................................................... 3.23ms DONE
  2016_03_13_082138_add_page_drafts ............................................................................... 3.53ms DONE
  2016_03_25_123157_add_markdown_support .......................................................................... 3.32ms DONE
  2016_04_09_100730_add_view_permissions_to_roles ................................................................. 5.13ms DONE
  2016_04_20_192649_create_joint_permissions_table ............................................................... 22.54ms DONE
  2016_05_06_185215_create_tags_table ............................................................................. 7.59ms DONE
  2016_07_07_181521_add_summary_to_page_revisions ................................................................. 1.60ms DONE
  2016_09_29_101449_remove_hidden_roles ........................................................................... 5.81ms DONE
  2016_10_09_142037_create_attachments_table ...................................................................... 5.41ms DONE
  2017_01_21_163556_create_cache_table ............................................................................ 3.05ms DONE
  2017_01_21_163602_create_sessions_table ......................................................................... 3.09ms DONE
  2017_03_19_091553_create_search_index_table ..................................................................... 8.68ms DONE
  2017_04_20_185112_add_revision_counts ........................................................................... 5.38ms DONE
  2017_07_02_152834_update_db_encoding_to_ut8mb4 .................................................................. 0.02ms DONE
  2017_08_01_130541_create_comments_table ......................................................................... 7.22ms DONE
  2017_08_29_102650_add_cover_image_display ....................................................................... 1.59ms DONE
  2018_07_15_173514_add_role_external_auth_id ..................................................................... 3.24ms DONE
  2018_08_04_115700_create_bookshelves_table ..................................................................... 31.28ms DONE
  2019_07_07_112515_add_template_support .......................................................................... 4.42ms DONE
  2019_08_17_140214_add_user_invites_table ........................................................................ 4.29ms DONE
  2019_12_29_120917_add_api_auth .................................................................................. 6.68ms DONE
  2020_08_04_111754_drop_joint_permissions_id ..................................................................... 5.93ms DONE
  2020_08_04_131052_remove_role_name_field ........................................................................ 1.60ms DONE
  2020_09_19_094251_add_activity_indexes .......................................................................... 3.58ms DONE
  2020_09_27_210059_add_entity_soft_deletes ....................................................................... 6.59ms DONE
  2020_09_27_210528_create_deletions_table ........................................................................ 6.02ms DONE
  2020_11_07_232321_simplify_activities_table .................................................................... 10.31ms DONE
  2020_12_30_173528_add_owned_by_field_to_entities ............................................................... 16.72ms DONE
  2021_01_30_225441_add_settings_type_column ...................................................................... 1.44ms DONE
  2021_03_08_215138_add_user_slug ................................................................................. 5.25ms DONE
  2021_05_15_173110_create_favourites_table ....................................................................... 4.27ms DONE
  2021_06_30_173111_create_mfa_values_table ....................................................................... 4.23ms DONE
  2021_07_03_085038_add_mfa_enforced_to_roles_table ............................................................... 1.56ms DONE
  2021_08_28_161743_add_export_role_permission .................................................................... 0.76ms DONE
  2021_09_26_044614_add_activities_ip_column ...................................................................... 1.68ms DONE
  2021_11_26_070438_add_index_for_user_ip ......................................................................... 1.87ms DONE
  2021_12_07_111343_create_webhooks_table ......................................................................... 8.43ms DONE
  2021_12_13_152024_create_jobs_table ............................................................................. 2.61ms DONE
  2021_12_13_152120_create_failed_jobs_table ...................................................................... 2.63ms DONE
  2022_01_03_154041_add_webhooks_timeout_error_columns ............................................................ 5.75ms DONE
  2022_04_17_101741_add_editor_change_field_and_permission ........................................................ 3.01ms DONE
  2022_04_25_140741_update_polymorphic_types ...................................................................... 5.40ms DONE
  2022_07_16_170051_drop_joint_permission_type .................................................................... 7.54ms DONE
  2022_08_17_092941_create_references_table ....................................................................... 7.53ms DONE
  2022_09_02_082910_fix_shelf_cover_image_types ................................................................... 0.22ms DONE
  2022_10_07_091406_flatten_entity_permissions_table .............................................................. 7.47ms DONE
  2022_10_08_104202_drop_entity_restricted_field .................................................................. 8.56ms DONE
  2023_01_24_104625_refactor_joint_permissions_storage ........................................................... 18.12ms DONE
  2023_01_28_141230_copy_color_settings_for_dark_mode ............................................................. 0.31ms DONE
  2023_02_20_093655_increase_attachments_path_length .............................................................. 2.42ms DONE
  2023_02_23_200227_add_updated_at_index_to_pages ................................................................. 2.12ms DONE
  2023_06_10_071823_remove_guest_user_secondary_roles ............................................................. 0.62ms DONE
  2023_06_25_181952_remove_bookshelf_create_entity_permissions .................................................... 0.02ms DONE
  2023_07_25_124945_add_receive_notifications_role_permissions .................................................... 0.69ms DONE
  2023_07_31_104430_create_watches_table .......................................................................... 6.00ms DONE
  2023_08_21_174248_increase_cache_size ........................................................................... 2.29ms DONE
  2023_12_02_104541_add_default_template_to_books ................................................................. 1.64ms DONE
  2023_12_17_140913_add_description_html_to_entities .............................................................. 4.94ms DONE
  2024_01_01_104542_add_default_template_to_chapters .............................................................. 1.74ms DONE
  2024_02_04_141358_add_views_updated_index ....................................................................... 1.74ms DONE
  2024_05_04_154409_rename_activity_relation_columns .............................................................. 3.13ms DONE
  2024_09_29_140340_ensure_editor_value_set ....................................................................... 0.73ms DONE
  2024_10_29_114420_add_import_role_permission .................................................................... 0.82ms DONE
  2024_11_02_160700_create_imports_table .......................................................................... 2.73ms DONE
  2024_11_27_171039_add_instance_id_setting ....................................................................... 3.42ms DONE
  2025_01_29_180933_create_sort_rules_table ....................................................................... 1.08ms DONE
  2025_02_05_150842_add_sort_rule_id_to_books ..................................................................... 1.63ms DONE
  2025_04_18_215145_add_content_refs_and_archived_to_comments ..................................................... 4.64ms DONE

Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2
ERROR: Module php8.3 does not exist!

[ERROR] in line 60: exit code 0: while executing command $STD a2enmod php8.3

[ERROR] in line 1249: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions