droptica / droopler

https://www.droopler.com
GNU General Public License v2.0
60 stars 20 forks source link

Unable to install on Drupal 9 as a profile #781

Closed Abdulee closed 2 years ago

Abdulee commented 3 years ago

Hello, I am trying to install Droopler 3.0.0 on Druple 9. I have installed composer on Debian 10 here. I run composer install in the Droopler directory and after that I have moved the files to /profile/contrib/droopler.. Here are the logs of the composer install:

No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 106 installs, 0 updates, 0 removals
  - Locking asm89/stack-cors (1.3.0)
  - Locking bower-asset/colorbox (1.6.4)
  - Locking bower-asset/lazysizes (5.3.1)
  - Locking bower-asset/masonry (v4.2.2)
  - Locking composer/semver (3.2.5)
  - Locking doctrine/annotations (1.13.1)
  - Locking doctrine/lexer (1.2.1)
  - Locking doctrine/reflection (1.2.2)
  - Locking drupal/admin_toolbar (3.0.1)
  - Locking drupal/advagg (4.1.0)
  - Locking drupal/better_exposed_filters (5.0.0-beta3)
  - Locking drupal/checklistapi (2.0.0)
  - Locking drupal/colorbox (1.7.0)
  - Locking drupal/config_update (1.7.0)
  - Locking drupal/contact_formatter (2.0.0)
  - Locking drupal/core (9.2.2)
  - Locking drupal/ctools (3.7.0)
  - Locking drupal/entity_reference_display (1.4.0)
  - Locking drupal/entity_reference_revisions (1.9.0)
  - Locking drupal/facets (1.8.0)
  - Locking drupal/features (3.12.0)
  - Locking drupal/field_group (3.1.0)
  - Locking drupal/geysir (1.3.0)
  - Locking drupal/google_analytics (3.1.0)
  - Locking drupal/google_tag (1.4.0)
  - Locking drupal/jquery_ui (1.4.0)
  - Locking drupal/jquery_ui_datepicker (1.1.0)
  - Locking drupal/jquery_ui_slider (1.1.0)
  - Locking drupal/jquery_ui_touch_punch (1.0.0)
  - Locking drupal/lazy (3.10.0)
  - Locking drupal/link_attributes (1.11.0)
  - Locking drupal/linkit (6.0.0-beta2)
  - Locking drupal/menu_link_attributes (1.2.0)
  - Locking drupal/metatag (1.16.0)
  - Locking drupal/paragraphs (1.12.0)
  - Locking drupal/pathauto (1.8.0)
  - Locking drupal/redirect (1.6.0)
  - Locking drupal/schema_metatag (2.2.0)
  - Locking drupal/search_api (1.20.0)
  - Locking drupal/simple_sitemap (3.10.0)
  - Locking drupal/smtp (1.0.0)
  - Locking drupal/svg_image (1.14.0)
  - Locking drupal/token (1.9.0)
  - Locking drupal/tvi (1.0.0-rc4)
  - Locking drupal/we_megamenu (1.13.0)
  - Locking egulias/email-validator (2.1.25)
  - Locking enshrined/svg-sanitize (0.14.0)
  - Locking guzzlehttp/guzzle (6.5.5)
  - Locking guzzlehttp/promises (1.4.1)
  - Locking guzzlehttp/psr7 (1.8.2)
  - Locking laminas/laminas-diactoros (2.6.0)
  - Locking laminas/laminas-escaper (2.8.0)
  - Locking laminas/laminas-feed (2.14.1)
  - Locking laminas/laminas-stdlib (3.4.0)
  - Locking laminas/laminas-zendframework-bridge (1.3.0)
  - Locking masterminds/html5 (2.7.5)
  - Locking npm-asset/countup (v1.9.3)
  - Locking npm-asset/in-viewport (3.6.0)
  - Locking npm-asset/jquery-ui-touch-punch (0.2.3)
  - Locking npm-asset/object-fit-images (3.2.4)
  - Locking npm-asset/select2 (4.0.13)
  - Locking npm-asset/slick-carousel (1.8.1)
  - Locking pear/archive_tar (1.4.14)
  - Locking pear/console_getopt (v1.4.3)
  - Locking pear/pear-core-minimal (v1.10.10)
  - Locking pear/pear_exception (v1.0.2)
  - Locking phpmailer/phpmailer (v6.5.0)
  - Locking psr/cache (1.0.1)
  - Locking psr/container (1.1.1)
  - Locking psr/http-factory (1.0.1)
  - Locking psr/http-message (1.0.1)
  - Locking psr/log (1.1.4)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking stack/builder (v1.0.6)
  - Locking symfony-cmf/routing (2.3.3)
  - Locking symfony/console (v4.4.29)
  - Locking symfony/debug (v4.4.27)
  - Locking symfony/dependency-injection (v4.4.27)
  - Locking symfony/deprecation-contracts (v2.4.0)
  - Locking symfony/error-handler (v4.4.27)
  - Locking symfony/event-dispatcher (v4.4.27)
  - Locking symfony/event-dispatcher-contracts (v1.1.9)
  - Locking symfony/http-client-contracts (v2.4.0)
  - Locking symfony/http-foundation (v4.4.29)
  - Locking symfony/http-kernel (v4.4.29)
  - Locking symfony/mime (v5.3.4)
  - Locking symfony/polyfill-ctype (v1.23.0)
  - Locking symfony/polyfill-iconv (v1.23.0)
  - Locking symfony/polyfill-intl-idn (v1.23.0)
  - Locking symfony/polyfill-intl-normalizer (v1.23.0)
  - Locking symfony/polyfill-mbstring (v1.23.1)
  - Locking symfony/polyfill-php72 (v1.23.0)
  - Locking symfony/polyfill-php73 (v1.23.0)
  - Locking symfony/polyfill-php80 (v1.23.1)
  - Locking symfony/process (v4.4.27)
  - Locking symfony/psr-http-message-bridge (v2.1.1)
  - Locking symfony/routing (v4.4.27)
  - Locking symfony/serializer (v4.4.27)
  - Locking symfony/service-contracts (v2.4.0)
  - Locking symfony/translation (v4.4.27)
  - Locking symfony/translation-contracts (v2.4.0)
  - Locking symfony/validator (v4.4.29)
  - Locking symfony/var-dumper (v5.3.6)
  - Locking symfony/yaml (v4.4.29)
  - Locking twig/twig (v2.14.6)
  - Locking typo3/phar-stream-wrapper (v3.1.6)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 106 installs, 0 updates, 0 removals
  - Installing symfony/polyfill-php80 (v1.23.1): Extracting archive
  - Installing symfony/polyfill-php73 (v1.23.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.23.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.23.1): Extracting archive
  - Installing symfony/polyfill-php72 (v1.23.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.23.0): Extracting archive
  - Installing symfony/deprecation-contracts (v2.4.0): Extracting archive
  - Installing symfony/mime (v5.3.4): Extracting archive
  - Installing symfony/http-foundation (v4.4.29): Extracting archive
  - Installing symfony/http-client-contracts (v2.4.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v1.1.9): Extracting archive
  - Installing symfony/event-dispatcher (v4.4.27): Extracting archive
  - Installing symfony/var-dumper (v5.3.6): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing symfony/debug (v4.4.27): Extracting archive
  - Installing symfony/error-handler (v4.4.27): Extracting archive
  - Installing symfony/http-kernel (v4.4.29): Extracting archive
  - Installing asm89/stack-cors (1.3.0): Extracting archive
  - Installing bower-asset/colorbox (1.6.4): Extracting archive
  - Installing bower-asset/lazysizes (5.3.1): Extracting archive
  - Installing bower-asset/masonry (v4.2.2): Extracting archive
  - Installing composer/semver (3.2.5): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing doctrine/lexer (1.2.1): Extracting archive
  - Installing doctrine/annotations (1.13.1): Extracting archive
  - Installing doctrine/reflection (1.2.2): Extracting archive
  - Installing typo3/phar-stream-wrapper (v3.1.6): Extracting archive
  - Installing twig/twig (v2.14.6): Extracting archive
  - Installing symfony/yaml (v4.4.29): Extracting archive
  - Installing symfony/translation-contracts (v2.4.0): Extracting archive
  - Installing symfony/validator (v4.4.29): Extracting archive
  - Installing symfony/translation (v4.4.27): Extracting archive
  - Installing symfony/serializer (v4.4.27): Extracting archive
  - Installing symfony/routing (v4.4.27): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing symfony/psr-http-message-bridge (v2.1.1): Extracting archive
  - Installing symfony/process (v4.4.27): Extracting archive
  - Installing symfony/polyfill-iconv (v1.23.0): Extracting archive
  - Installing psr/container (1.1.1): Extracting archive
  - Installing symfony/service-contracts (v2.4.0): Extracting archive
  - Installing symfony/dependency-injection (v4.4.27): Extracting archive
  - Installing symfony/console (v4.4.29): Extracting archive
  - Installing symfony-cmf/routing (2.3.3): Extracting archive
  - Installing stack/builder (v1.0.6): Extracting archive
  - Installing pear/pear_exception (v1.0.2): Extracting archive
  - Installing pear/console_getopt (v1.4.3): Extracting archive
  - Installing pear/pear-core-minimal (v1.10.10): Extracting archive
  - Installing pear/archive_tar (1.4.14): Extracting archive
  - Installing masterminds/html5 (2.7.5): Extracting archive
  - Installing laminas/laminas-zendframework-bridge (1.3.0): Extracting archive
  - Installing laminas/laminas-stdlib (3.4.0): Extracting archive
  - Installing laminas/laminas-escaper (2.8.0): Extracting archive
  - Installing laminas/laminas-feed (2.14.1): Extracting archive
  - Installing psr/http-factory (1.0.1): Extracting archive
  - Installing laminas/laminas-diactoros (2.6.0): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing guzzlehttp/psr7 (1.8.2): Extracting archive
  - Installing guzzlehttp/promises (1.4.1): Extracting archive
  - Installing guzzlehttp/guzzle (6.5.5): Extracting archive
  - Installing egulias/email-validator (2.1.25): Extracting archive
  - Installing drupal/core (9.2.2): Extracting archive
  - Installing drupal/admin_toolbar (3.0.1): Extracting archive
  - Installing drupal/advagg (4.1.0): Extracting archive
  - Installing drupal/jquery_ui (1.4.0): Extracting archive
  - Installing drupal/jquery_ui_touch_punch (1.0.0): Extracting archive
  - Installing drupal/jquery_ui_slider (1.1.0): Extracting archive
  - Installing drupal/jquery_ui_datepicker (1.1.0): Extracting archive
  - Installing drupal/better_exposed_filters (5.0.0-beta3): Extracting archive
  - Installing drupal/checklistapi (2.0.0): Extracting archive
  - Installing drupal/colorbox (1.7.0): Extracting archive
  - Installing drupal/contact_formatter (2.0.0): Extracting archive
  - Installing drupal/entity_reference_display (1.4.0): Extracting archive
  - Installing drupal/facets (1.8.0): Extracting archive
  - Installing drupal/config_update (1.7.0): Extracting archive
  - Installing drupal/features (3.12.0): Extracting archive
  - Installing drupal/field_group (3.1.0): Extracting archive
  - Installing drupal/entity_reference_revisions (1.9.0): Extracting archive
  - Installing drupal/paragraphs (1.12.0): Extracting archive
  - Installing drupal/geysir (1.3.0): Extracting archive
  - Installing drupal/google_analytics (3.1.0): Extracting archive
  - Installing drupal/google_tag (1.4.0): Extracting archive
  - Installing drupal/lazy (3.10.0): Extracting archive
  - Installing drupal/link_attributes (1.11.0): Extracting archive
  - Installing drupal/linkit (6.0.0-beta2): Extracting archive
  - Installing drupal/menu_link_attributes (1.2.0): Extracting archive
  - Installing drupal/token (1.9.0): Extracting archive
  - Installing drupal/ctools (3.7.0): Extracting archive
  - Installing drupal/pathauto (1.8.0): Extracting archive
  - Installing drupal/redirect (1.6.0): Extracting archive
  - Installing drupal/metatag (1.16.0): Extracting archive
  - Installing drupal/schema_metatag (2.2.0): Extracting archive
  - Installing drupal/search_api (1.20.0): Extracting archive
  - Installing drupal/simple_sitemap (3.10.0): Extracting archive
  - Installing phpmailer/phpmailer (v6.5.0): Extracting archive
  - Installing drupal/smtp (1.0.0): Extracting archive
  - Installing enshrined/svg-sanitize (0.14.0): Extracting archive
  - Installing drupal/svg_image (1.14.0): Extracting archive
  - Installing drupal/tvi (1.0.0-rc4): Extracting archive
  - Installing drupal/we_megamenu (1.13.0): Extracting archive
  - Installing npm-asset/countup (v1.9.3): Extracting archive
  - Installing npm-asset/in-viewport (3.6.0): Extracting archive
  - Installing npm-asset/jquery-ui-touch-punch (0.2.3): Extracting archive
  - Installing npm-asset/object-fit-images (3.2.4): Extracting archive
  - Installing npm-asset/select2 (4.0.13): Extracting archive
  - Installing npm-asset/slick-carousel (1.8.1): Extracting archive
41 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

I am using nginx with all the required php modules(Normal drupal works fine) and going to the localhost I get the following error after I choose the language(English):


Required modules
Required modules not found.
The following modules are required but were not found. Move them into the appropriate modules subdirectory, such as /modules. Missing modules:

    Admin_toolbarAdmin_toolbar_toolsAdvaggAdvagg_modAdvagg_js_minifyAdvagg_css_minifyChecklistapiColorboxConfig_updateEntity_reference_revisionsFeaturesFeatures_uiGeysirLazyLink_attributesLinkitMetatagParagraphsPathautoRedirectSimple_sitemapSvg_imageSvg_image_responsiveWe_megamenu

I am very new to Drupal so please kindly forgive me for ignorance. I will be happy to post any other further information and look forward to your help. Thanks!

grzegorz-pietrzak-droptica commented 3 years ago

Hello, I can't see droptica/droopler in your composer log, is it listed in composer.json? If not, please run composer require droptica/droopler.

Abdulee commented 3 years ago

Hello thanks very much for trying to help me but this is what happens

$ composer require droptica/droopler
Using version ^8.3 for droptica/droopler
Root package 'droptica/droopler' cannot require itself in its composer.json

and it stops

grzegorz-pietrzak-droptica commented 3 years ago

This is because you probably require droopler in its own dir. Your project should be started from https://github.com/droptica/droopler_project by running

composer create-project droptica/droopler-project <path> "^8.3.0"

Abdulee commented 3 years ago

Okay so I run the command you gave me

klock@debian10-uni-2:~/droopler1$ composer create-project droptica/droopler-project droopler "^8.3.0" Creating a "droptica/droopler-project" project at "./droopler" Installing droptica/droopler-project (8.3.0.0)

Now I get the following directory structure:

$ ls -al total 572 drwxr-xr-x 4 klock klock 4096 Aug 3 11:33 . drwxr-xr-x 3 klock klock 4096 Aug 3 11:30 .. -rw-r--r-- 1 klock klock 2099 Jul 6 08:28 composer.json -rw-r--r-- 1 klock klock 522558 Aug 3 11:30 composer.lock -rw-r--r-- 1 klock klock 357 Aug 3 11:30 .editorconfig -rw-r--r-- 1 klock klock 3858 Aug 3 11:30 .gitattributes -rw-r--r-- 1 klock klock 468 Jul 6 08:28 .gitignore -rw-r--r-- 1 klock klock 18046 Jul 6 08:28 LICENSE -rw-r--r-- 1 klock klock 5761 Jul 6 08:28 README.md drwxr-xr-x 58 klock klock 4096 Aug 3 11:30 vendor drwxr-xr-x 8 klock klock 4096 Aug 3 11:30 web

The readme.md says that composer install should be ran and also use some npm commands ... Should I follow those? Or just directly put the contents of the web directory to my webserver or in the profiles: Once again sorry if I am being very stupid am quite new to installing stuff via composer and stuff... Thanks for your help

grzegorz-pietrzak-droptica commented 2 years ago

Yes, you should run all npm commands too, we'll try to change it in 3.1.0