[OJS3] cannot install

Hi,
I’m trying to install a clean installation of ojs 3, cloned the project from git, installed all the sub modules, get mysql started.
I tried to install via web, after all the configuration asked it gets a blank page.
I tired to install via command line and I get installation successful, but when I access via web I get a blank page.

I checked in config.inc.php the parameter installed = off/on, setting it to off before installation and checking it’s on after installation.
enabled php error log but no clue.

where to start?

Thanks.

You didn’t mention the step of initializing Composer dependencies. Did you notice that new requirement in the documentation?

With any blank page, the key will usually be to check the error log for relevant messages. If nothing is immediately apparent, follow the advanced steps from the FAQ:

yes, I used composer, here is my steps for cloning the source code:

[root@raco-dev dades]# git clone https://github.com/pkp/ojs.git
Cloning into ‘ojs’…
remote: Counting objects: 306719, done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 306719 (delta 43), reused 0 (delta 0), pack-reused 306602
Receiving objects: 100% (306719/306719), 140.04 MiB | 3.56 MiB/s, done.
Resolving deltas: 100% (176255/176255), done.
[root@raco-dev dades]# cd ojs
[root@raco-dev ojs]# git submodule update --init --recursive
Submodule ‘docs/manual’ (GitHub - pkp/ojs-user-guide: OJS User Guide) registered for path ‘docs/manual’
Submodule ‘lib/pkp’ (https://github.com/pkp/pkp-lib.git) registered for path ‘lib/pkp’
Submodule ‘plugins/blocks/makeSubmission’ (https://github.com/pkp/makeSubmission.git) registered for path ‘plugins/blocks/makeSubmission’
Submodule ‘plugins/generic/customBlockManager’ (https://github.com/pkp/customBlockManager.git) registered for path ‘plugins/generic/customBlockManager’
Submodule ‘plugins/generic/googleAnalytics’ (https://github.com/pkp/googleAnalytics.git) registered for path ‘plugins/generic/googleAnalytics’
Submodule ‘plugins/generic/lensGalley’ (GitHub - asmecher/lensGalley: Galley viewer plugin integrating eLife Lens for OJS 3.0) registered for path ‘plugins/generic/lensGalley’
Submodule ‘plugins/generic/orcidProfile’ (https://github.com/pkp/orcidProfile.git) registered for path ‘plugins/generic/orcidProfile’
Submodule ‘plugins/generic/pdfJsViewer’ (https://github.com/pkp/pdfJsViewer.git) registered for path ‘plugins/generic/pdfJsViewer’
Submodule ‘plugins/generic/staticPages’ (https://github.com/pkp/staticPages.git) registered for path ‘plugins/generic/staticPages’
Submodule ‘plugins/generic/tinymce’ (https://github.com/pkp/tinymce.git) registered for path ‘plugins/generic/tinymce’
Submodule ‘plugins/generic/translator’ (https://github.com/pkp/translator.git) registered for path ‘plugins/generic/translator’
Cloning into ‘docs/manual’…
remote: Counting objects: 271, done.
remote: Total 271 (delta 0), reused 0 (delta 0), pack-reused 271
Receiving objects: 100% (271/271), 79.76 KiB | 0 bytes/s, done.
Resolving deltas: 100% (147/147), done.
Submodule path ‘docs/manual’: checked out ‘f5940c8eac0a8049c262568fee5cdb0899c57d62’
Cloning into ‘lib/pkp’…
remote: Counting objects: 116694, done.
remote: Compressing objects: 100% (123/123), done.
remote: Total 116694 (delta 54), reused 0 (delta 0), pack-reused 116569
Receiving objects: 100% (116694/116694), 53.79 MiB | 7.26 MiB/s, done.
Resolving deltas: 100% (73717/73717), done.
Submodule path ‘lib/pkp’: checked out ‘d0082bdd7c0b82c4507b01b354a33b8edeaebc9f’
Submodule ‘js/lib/jquery/plugins/spectrum’ (https://github.com/bgrins/spectrum.git) registered for path ‘js/lib/jquery/plugins/spectrum’
Submodule ‘js/lib/pnotify’ (https://github.com/sciactive/pnotify.git) registered for path ‘js/lib/pnotify’
Submodule ‘lib/swordappv2’ (https://github.com/swordapp/swordappv2-php-library.git) registered for path ‘lib/swordappv2’
Cloning into ‘js/lib/jquery/plugins/spectrum’…
remote: Counting objects: 2875, done.
remote: Total 2875 (delta 0), reused 0 (delta 0), pack-reused 2875
Receiving objects: 100% (2875/2875), 1.73 MiB | 1.57 MiB/s, done.
Resolving deltas: 100% (1712/1712), done.
Submodule path ‘lib/pkp/js/lib/jquery/plugins/spectrum’: checked out ‘74ccb0e48f43a069b45c8b6cdf981a59ded3e271’
Cloning into ‘js/lib/pnotify’…
remote: Counting objects: 4170, done.
remote: Total 4170 (delta 0), reused 0 (delta 0), pack-reused 4170
Receiving objects: 100% (4170/4170), 16.40 MiB | 2.53 MiB/s, done.
Resolving deltas: 100% (787/787), done.
Submodule path ‘lib/pkp/js/lib/pnotify’: checked out ‘bb727c99f50f8c9819ad5e7446729a957cd1e54c’
Cloning into ‘lib/swordappv2’…
remote: Counting objects: 606, done.
remote: Total 606 (delta 0), reused 0 (delta 0), pack-reused 606
Receiving objects: 100% (606/606), 2.27 MiB | 1.42 MiB/s, done.
Resolving deltas: 100% (357/357), done.
Submodule path ‘lib/pkp/lib/swordappv2’: checked out ‘c9b7b4c2a5bcd24459cd39c795b4d98f39ce0439’
Cloning into ‘plugins/blocks/makeSubmission’…
remote: Counting objects: 26, done.
remote: Total 26 (delta 0), reused 0 (delta 0), pack-reused 26
Unpacking objects: 100% (26/26), done.
Submodule path ‘plugins/blocks/makeSubmission’: checked out ‘4119c62e323d7283080841076f3874247dd89aed’
Cloning into ‘plugins/generic/customBlockManager’…
remote: Counting objects: 409, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 409 (delta 0), reused 0 (delta 0), pack-reused 399
Receiving objects: 100% (409/409), 74.80 KiB | 0 bytes/s, done.
Resolving deltas: 100% (204/204), done.
Submodule path ‘plugins/generic/customBlockManager’: checked out ‘bfef9d107747954c1be72423046fdb00ba2b0d50’
Cloning into ‘plugins/generic/googleAnalytics’…
remote: Counting objects: 93, done.
remote: Total 93 (delta 0), reused 0 (delta 0), pack-reused 93
Unpacking objects: 100% (93/93), done.
Submodule path ‘plugins/generic/googleAnalytics’: checked out ‘bf83b8c4cd1170403b879f69f26c405ae3b486e0’
Cloning into ‘plugins/generic/lensGalley’…
remote: Counting objects: 183, done.
remote: Total 183 (delta 0), reused 0 (delta 0), pack-reused 183
Receiving objects: 100% (183/183), 420.51 KiB | 492.00 KiB/s, done.
Resolving deltas: 100% (73/73), done.
Submodule path ‘plugins/generic/lensGalley’: checked out ‘64ba87ca763863aa5b98e074594d990cc698dd66’
Cloning into ‘plugins/generic/orcidProfile’…
remote: Counting objects: 387, done.
remote: Total 387 (delta 0), reused 0 (delta 0), pack-reused 387
Receiving objects: 100% (387/387), 74.57 KiB | 0 bytes/s, done.
Resolving deltas: 100% (219/219), done.
Submodule path ‘plugins/generic/orcidProfile’: checked out ‘ee08f0226bd31f2b9529491ad9777104fbb9a1ad’
Cloning into ‘plugins/generic/pdfJsViewer’…
remote: Counting objects: 720, done.
remote: Total 720 (delta 0), reused 0 (delta 0), pack-reused 720
Receiving objects: 100% (720/720), 2.22 MiB | 1.47 MiB/s, done.
Resolving deltas: 100% (234/234), done.
Submodule path ‘plugins/generic/pdfJsViewer’: checked out ‘c50b5a8b1ba9e2f329542d2c850c9aa4e64dbf9d’
Cloning into ‘plugins/generic/staticPages’…
remote: Counting objects: 694, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 694 (delta 1), reused 0 (delta 0), pack-reused 678
Receiving objects: 100% (694/694), 137.04 KiB | 0 bytes/s, done.
Resolving deltas: 100% (339/339), done.
Submodule path ‘plugins/generic/staticPages’: checked out ‘59aa1106de6a31210f789d3f3dda0907395a0563’
Cloning into ‘plugins/generic/tinymce’…
remote: Counting objects: 463, done.
remote: Total 463 (delta 0), reused 0 (delta 0), pack-reused 463
Receiving objects: 100% (463/463), 162.69 KiB | 0 bytes/s, done.
Resolving deltas: 100% (182/182), done.
Submodule path ‘plugins/generic/tinymce’: checked out ‘8d70bfe1ac23a60440c2eba0034a26f73cd90994’
Cloning into ‘plugins/generic/translator’…
remote: Counting objects: 310, done.
remote: Total 310 (delta 0), reused 0 (delta 0), pack-reused 310
Receiving objects: 100% (310/310), 94.09 KiB | 0 bytes/s, done.
Resolving deltas: 100% (156/156), done.
Submodule path ‘plugins/generic/translator’: checked out ‘df850ad0a52dcc331080b4dd767febe94316c3df’
[root@raco-dev ojs]# cd lib/pkp
[root@raco-dev pkp]# curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading 1.2.2…

Composer successfully installed to: /dades/ojs/lib/pkp/composer.phar
Use it: php composer.phar
[root@raco-dev pkp]# php composer.phar update
Your version of PHP, 5.4.16, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
Loading composer repositories with package information
Updating dependencies (including require-dev)

  • Installing symfony/process (v2.8.13)
    Loading from cache
  • Installing kriswallsmith/assetic (v1.4.0)
    Loading from cache
  • Installing robloach/component-installer (0.2.3)
    Loading from cache
  • Installing components/jquery (1.11.0)
    Loading from cache
  • Installing components/jqueryui (1.11.0)
    Loading from cache
  • Installing oyejorge/less.php (v1.7.0.3)
    Loading from cache
  • Installing phpmailer/phpmailer (v5.2.8)
    Loading from cache
  • Installing smarty/smarty (v2.6.28)
    Loading from cache
  • Installing ezyang/htmlpurifier (v4.6.0)
    Loading from cache
  • Installing tinymce/tinymce (4.1.7)
    Loading from cache
  • Installing ircmaxell/password-compat (v1.0.4)
    Loading from cache
  • Installing michelf/php-markdown (1.5.0)
    Loading from cache
  • Installing sebastian/recursion-context (1.0.4)
    Loading from cache
  • Installing sebastian/exporter (1.2.2)
    Loading from cache
  • Installing sebastian/diff (1.4.1)
    Loading from cache
  • Installing sebastian/comparator (1.2.0)
    Loading from cache
  • Installing symfony/yaml (v2.8.13)
    Loading from cache
  • Installing sebastian/version (1.0.6)
    Loading from cache
  • Installing sebastian/global-state (1.1.1)
    Loading from cache
  • Installing sebastian/environment (1.3.8)
    Loading from cache
  • Installing doctrine/instantiator (1.0.5)
    Loading from cache
  • Installing phpunit/php-text-template (1.2.1)
    Loading from cache
  • Installing phpunit/phpunit-mock-objects (2.3.8)
    Loading from cache
  • Installing phpunit/php-timer (1.0.8)
    Loading from cache
  • Installing phpunit/php-file-iterator (1.4.1)
    Loading from cache
  • Installing phpunit/php-token-stream (1.4.9)
    Downloading: 100%
  • Installing phpunit/php-code-coverage (2.2.4)
    Loading from cache
  • Installing phpdocumentor/reflection-docblock (2.0.4)
    Loading from cache
  • Installing phpspec/prophecy (v1.6.1)
    Loading from cache
  • Installing phpunit/phpunit (4.8.28)
    Loading from cache
  • Installing phpunit/phpunit-selenium (1.4.2)
    Loading from cache
  • Installing moxiecode/plupload (v2.1.9)
    Loading from cache

kriswallsmith/assetic suggests installing twig/twig (Assetic provides the integration with the Twig templating engine)
kriswallsmith/assetic suggests installing leafo/lessphp (Assetic provides the integration with the lessphp LESS compiler)
kriswallsmith/assetic suggests installing leafo/scssphp (Assetic provides the integration with the scssphp SCSS compiler)
kriswallsmith/assetic suggests installing ptachoire/cssembed (Assetic provides the integration with phpcssembed to embed data uris)
kriswallsmith/assetic suggests installing leafo/scssphp-compass (Assetic provides the integration with the SCSS compass plugin)
kriswallsmith/assetic suggests installing patchwork/jsqueeze (Assetic provides the integration with the JSqueeze JavaScript compressor)
sebastian/global-state suggests installing ext-uopz ()
phpunit/phpunit-mock-objects suggests installing ext-soap (
)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files

ComponentInstaller\Installer::postAutoloadDump
Compiling component files
[root@raco-dev pkp]#

nothing in apache/php logs. all ojs folders included cache ones are with apache owner and permissions.

The installation steps look solid. Any blank white screen should translate into an error in the PHP log. Once case where I’ve seen this not happen is when a PHP module dependency is not present - for example, when I tried to run the install without having installed the php-mysql package.

This, or similar situations, should be detectable with the “further troubleshooting” step in the previously linked FAQ. Were you able to try setting display_errors to “E_ALL” and removing the error suppression on the includes?

seems the problem was with the branch master, I moved to ojs-stable-3_0_0 and no more blank pages.

Hi @pir,

It’s a good idea to stick with one of the stable branches, or you’re likely to run into minor glitches and problems – but have you considered the ojs-stable-3_0_1 branch instead? We’ve recently released OJS 3.0.1 with many improvements over OJS 3.0.0.

Regards,
Alec Smecher
Public Knowledge Project Team