Install Guide.

Profile picture for user garthphilpot
garthphilpot
HI, if anyone would be so kind as to provide an install guide like this one (except for 2.0 and using composer), I'd be happy to screen record the process and turn it into a video, for the community. websiteforstudents.com/install-opigno-lms-on-ubuntu-16-04-17-10-18-04-with-apache2-mariadb-and-php-7-1/
pat

Im thinking.. id be about the

Im thinking.. id be about the same thing here except for step 5 where you'd be calling the install composer command: composer create-project opigno/opigno-composer opigno
axel

Hi garthphilpot

Hi garthphilpot

Did you check our user manual ? https://opigno.atlassian.net/wiki/spaces/OUM20/pages/361922562/Installation+with+Composer

 

Profile picture for user garthphilpot
garthphilpot

Composer install

Hi Axel, I had a brief look at it, but have never used composer before. I have installed opigno with the above tutorial before, and I found it great to be given a step by step walk through of what to do to get it up for those of us that aren't web server administrators. Id be happy to have a video for the youtube channel if you guys see some value in that.
axel

Hi garthphilpot,

Hi garthphilpot,

What operating system are you using ?

Profile picture for user garthphilpot
garthphilpot

I have an ubuntu 18.04 box up

I have an ubuntu 18.04 box up and running, and I followed this guide yesterday https://websiteforstudents.com/install-opigno-lms-latest-via-composer-on-ubuntu-16-04-18-04-18-10-with-apache2-mariadb-and-php-7-2/ I got to the site up, but every item on the top menu returns a 404.
axel

Are clean URLs enabled in

Are clean URLs enabled in your Apache config ?

Could you provide an example of URL that returns a 404 error ?

Is your .htaccess at the root of the filesystem ?

Can you check the files ownership (are they readable by www-data user) ?

Profile picture for user garthphilpot
garthphilpot

I formatted it in the hopes

I formatted it in the hopes of trying again. The issue I have is that how do we know that this is required if its not documented somewhere... Thats why id like to put a thorough guide together...
Profile picture for user garthphilpot
garthphilpot

does anyone have a good

does anyone have a good tutorial or course to understand the install process better, I can follow a tutorial, but if one thing is out of place, i cant get it working. I got it all up by the above tutorial, but the virtual server does not work, it tries to go online and look for example.com. the installer also said that I dont have clean URLS enabled, and I just dont know how to do that, there is so much conflicting information on the web, and none of it is specific to Opigno, seems different for certain types of drupal sites. its really not an easy technology to understand.
axel

Can you try running on your

Can you try running on your Ubuntu terminal:

a2enmod rewrite

and then:

service apache2 restart

then clean url should be enabled.

Profile picture for user garthphilpot
garthphilpot

Hi axel

is there any updated guide. I have tried all of these, and it seems these updated scripts are putting files in other places. will the fact that I use Sudo Gedit to edit the files instead of nano matter? I cant find these strings in Nano. the terminal does give some sort of metadata warning whilst I edit. is there another editor I could use, I find nano too convoluted. https://websiteforstudents.com/install-opigno-lms-latest-via-composer-on-ubuntu-16-04-18-04-18-10-with-apache2-mariadb-and-php-7-2/#comment-18180 https://websiteforstudents.com/setup-opigno-via-composer-on-ubuntu-16-04-18-04-18-10-with-nginx-mariadb-and-php-7-2-fpm/ https://websiteforstudents.com/a-redesigned-opigno-lms-based-on-drupal-8-released-heres-how-to-install-upgrade-on-ubuntu-16-04-18-04-18-10/
Profile picture for user garthphilpot
garthphilpot

1.35 works with this

must be some fundamental changes here, because i got 1.3.5 working via this tutorial.
axel

hi,

hi,

The guides you mention are related to Opigno 2.x, not Opigno 1.x

They seem pretty nicely done, if you follow them step by step you should have a working Opigno 2.x instance running.

 

Profile picture for user garthphilpot
garthphilpot

Thanks Axel

Thanks for that. no glaring issues you can see? I get it to install perfectly with 1.35 using this guide. 2.1 installs but I get that same issue where the dashboard loads but every page thereafter returns a 404. very frustrating, as I believe its the best Light open source LMS out there. I just wish it was easier to run and maintain. i am trying to upskill in this but dont know if i am starting in the right place. Also, I think I have asked before, but what can cause a rise scorm to not have the full screen expand button in the top right window? it is there for other scorms, just not one made in rise. thanks for all your hard work
juping

Incorrect document root, and further problems with installation

I followed the same guide at https://websiteforstudents.com/install-opigno-lms-latest-via-composer-on-ubuntu-16-04-18-04-18-10-with-apache2-mariadb-and-php-7-2/ Encoutering the same problem, I explored the folder structure and found out that the Document Root is off by a single folder. It should be/var/www/html/opigno/web/Rather than/var/www/html/opigno/As stated in the opigno.conf file. Simply add web/ to all mentions. The problem is what happens later after I finished installing. The installer loops back to the language selection page where if I select English, this error message is displayed:The website encountered an unexpected error. Please try again later. Drupal\Core\Config\UnmetDependenciesException: Configuration objects provided by platon have unmet dependencies: image.style.frontpage_slider (image) in Drupal\Core\Config\UnmetDependenciesException::create() (line 98 of core/lib/Drupal/Core/Config/UnmetDependenciesException.php). Drupal\Core\Config\UnmetDependenciesException::create('platon', Array) (Line: 485) Drupal\Core\Config\ConfigInstaller->checkConfigurationToInstall('theme', 'platon') (Line: 132) Drupal\Core\ProxyClass\Config\ConfigInstaller->checkConfigurationToInstall('theme', 'platon') (Line: 169) Drupal\Core\Extension\ThemeInstaller->install(Array, 1) (Line: 166) Drupal\Core\Extension\ThemeHandler->install(Array) (Line: 1649) install_profile_themes(Array) (Line: 709) install_run_task(Array, Array) (Line: 584) install_run_tasks(Array, NULL) (Line: 125) install_drupal(Object) (Line: 44)Unfortunately, https://opigno.atlassian.net/wiki/spaces/OUM20/pages/361922562/Installation+with+Composer is rather sparse in it's instructions for installing opigno, so it is hard to use that as a guide.
juping

Resolved by not using composer

I integrated the steps in the writeup, but installed without using composer, and it worked out of the box with 2.3 from the releases page. https://www.opigno.org/en/download
grindlay

Problems with installation, using Composer

I tried to install using composer create-project opigno/opigno-composer opignoIt installed a folder structure with /drush, /scripts, /vendor and /web. It looks as though the installer should run from /web but when I visit that directory, I just get the folder list. There are no files in /web, just directories. This doesn't look right. I'm on Centos6.10 and Apache 2.4, PHP7.2 Previous attempt to install without composer worked until I ran some updates, then I hit the dreaded "website encountered an error" and could not find any errors logged anywhere. Help !
teckfine

Im thinking.. id be about the

Im thinking.. id be about the same thing here except for step 5 where you'd be calling the install composer command: composer create-project opigno/opigno-composer opigno