Forums
Hi, I'm having a nightmare time trying to install Opigno on my AWS Linux server. I have installed it multiple times with no success.
Problem #1:
Composer running out of memory.
Solution: $ php -d memory_limit=-1 ./composer.phar create-project opigno/opigno-composer op
Problem #2:
In the verification check, module Ggroups is not found.
Solution: In modules/contrib/groups, $ git apply ~/port-subgroups-2736233-261.patch
There were a bunch of other patches that were skipped during the composer process for some reason, the most important (I think) being core patches 2898635-27.patch and 2924061-14.patch.
However, when I run those 2 patches in the core directory, I get the following output:
[[email protected] core]$ git apply ~/2898635-27.patch
error: core/modules/views/src/EntityViewsData.php: No such file or directory
error: core/modules/views/views.views.inc: No such file or directory
[[email protected] core]$ git apply ~/2924061-14.patch
error: core/modules/datetime/datetime.views.inc: No such file or directory
error: core/modules/datetime/src/Plugin/views/argument/Date.php: No such file or directory
error: core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php: No such file or directory
error: core/modules/datetime_range/datetime_range.views.inc: No such file or directory
I checked the files and they are actually there, but not sure why git is complaining. However, I was still able to carry on to create the DB etc.
After the final step, I get:
The website encountered an unexpected error. Please try again later.
In the httpd error_log, there is this error:
Error: Call to a member function getGranularity() on bool in /var/www/html/op/web/modules/contrib/calendar/src/Plugin/views/area/CalendarHeader.php on line 67 #0 /var/www/html/op/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2268): Drupal\calendar\Plugin\views\area\CalendarHeader->render(true)\n#1 /var/www/html/op/web/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2213): Drupal\views\Plugin\views\display\DisplayPluginBase->renderArea('header', true)\n#2 [internal function]: Drupal\views\Plugin\views\display\DisplayPluginBase->elementPreRender(Array)\n#3 /var/www/html/op/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(100): call_user_func_array(Array, Array)\n#4 /var/www/html/op/web/core/lib/Drupal/Core/Render/Renderer.php(781): Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_ren...', 'silenced_deprec...', 'Drupal\\Core\\Ren...')\n#5 /var/www/html/op/web/core/lib/Drupal/Core/Render/Renderer.php(372): Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array)\n#6 /var/www/html/op/web/core/lib/Drupal/Core/Render/Renderer.php(444): Drupal\Core\Render\Renderer->doRender(Array)\n#7 /var/www/html/op/web/core/lib/Drupal/Core/Render/Renderer.php(200): Drupal\Core\Render\Renderer->doRender(Array, false)\n#8 /var/www/html/op/web/core/lib/Drupal/Core/Template/TwigExtension.php(501): Drupal\Core\Render\Renderer->render(Array)\n#9 /var/www/html/op/web/sites/default/files/php/twig/5e44b315cb65e_block.html.twig_CatA333jX4zFmuLBRywxOJECi/Vkc_CujMU5BBOuReXdwZbl1w7fkGhXRDEjTqFaoonkM.php(91): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, ........
I tried using drush to remove the calendar module, but then I get a different error saying something about a route to calendar module is not found.
PHP version is 7.3
Hope someone can help me get it up and running.
Multiple Issues Installing with Composer
#1 Make the memory limit 4. Now that means your server needs that much physical memory.
#2. With AWS make sure the proper ports are open...
That didn't help very much.
Hi,
Hi,
Did you try to install Opigno without composer, by downloading it from https://www.opigno.org/en#download ?
Thanks. Installing without
Problems installing under composer
I am having problem with composer installation
In reply to Problems installing under composer by drupauler
Hi drupauler,
Hi drupauler,
None of the patches seem to be applying, so most probably the patch command is not installed on the server.
Try running patch in the command line to confirm its available, otherwise run in verbose mode to check why the patches are not applying.
The group sub module missing error is there because its added via a patch.
Best regards
In reply to I am having problem with composer installation by Anaconda
Hi Anaconda,
Hi Anaconda,
In drupal the files/styles are not created until they are needed/used for the first time.
So i would say there is no issue with the installation, it think the only issue is that the webserver user does not have permissions to write there. You should take a look at /files folder ownership/group permissions. Each time an image style is used, and its not available drupal will try creating it again, so and soon as you fix the folder permission issue it should work fine.
Best regards
In reply to Hi Anaconda, by admin
Hi,
Changed the folder 777 and www-data:www-data
In reply to Changed the folder 777 and www-data:www-data by Anaconda
Hi Anaconda,
In reply to Hi Anaconda, by admin
Hi,
AWS + Opigno
In reply to AWS + Opigno by asikuy
I have been using AWS for 6
AWS