Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25336

composer-clean-install (per INSTALL.md) of ezplatform, FAILs display of root URI ("No input file specified."), ok if "/app.php" appended

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: High High
    • None
    • 2015.12
    • Install
    • None

    Description

      Installing (https://github.com/ezsystems/ezplatform/blob/master/INSTALL.md) ezplatform on linux64
      
      composer --version
      	Composer version 1.0-dev (f31799b739265e7cb1797b395050ffcd57671335) 2015-12-27 13:58:20
      php -v
      	PHP 7.0.1-dev (cli) (built: Dec  3 2015 06:05:27) ( NTS )
      	Copyright (c) 1997-2015 The PHP Group
      	Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
      	    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
      nginx -v
      	nginx version: nginx/1.9.9
      
      EZ_DB_NAME="ez_db"
      EZ_DB_USR="ez_usr"
      EZ_DB_USR_PWD="ez_pwd"
      
      SQL_CMD=""
      SQL_CMD+="CREATE DATABASE ${EZ_DB_NAME} CHARACTER SET utf8;"
      SQL_CMD+="GRANT ALL ON ${EZ_DB_NAME}.* TO ${EZ_DB_USR}@localhost IDENTIFIED BY \"${EZ_DB_USR_PWD}\";"
      SQL_CMD+="FLUSH PRIVILEGES;"
      
      cd /srv/www/eztest
      rm -rf ezplatform
      composer \
       --prefer-dist \
       --no-dev \
       --keep-vcs \
       --no-interaction \
      create-project ezsystems/ezplatform ezplatform ~1.0.0
      
      TOKEN=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${1:-64} | head -n 1)
      cat << EOF > ./ezplatform/app/config/parameters.yml
      parameters:
          secret: ${TOKEN}
          locale_fallback: en
          mailer_transport: smtp
          mailer_host: 127.0.0.1
          mailer_user: null
          mailer_password: null
          database_driver: pdo_mysql
          database_host: localhost
          database_port: null
          database_name: ${EZ_DB_NAME}
          database_user: ${EZ_DB_USR}
          database_password: "${EZ_DB_USR_PWD}"
          search_engine: legacy
          solr_dsn: 'http://localhost:8983/solr'
      EOF
      wwwown ./ezplatform/app/config/parameters.yml
      cat    ./ezplatform/app/config/parameters.yml
      
      mysqladmin --force drop   ${EZ_DB_NAME}
      echo ${SQL_CMD}
      	CREATE DATABASE ez_db CHARACTER SET utf8;GRANT ALL ON ez_db.* TO ez_usr@localhost IDENTIFIED BY "ez_pwd";FLUSH PRIVILEGES;
      mysql -e "${SQL_CMD}"
      mysqlshow ${EZ_DB_NAME}
      	Database: ez_db
      	+--------+
      	| Tables |
      	+--------+
      	+--------+
      
      cd ezplatform
      rm -rf app/cache/* app/logs/*
      setfacl  -R -m u:wwwrun:rwx app/cache app/logs web
      setfacl -dR -m u:wwwrun:rwx app/cache app/logs web
      
      php -d memory_limit=-1 app/console ezplatform:install --env prod clean
      	Executing 659 queries from vendor/ezsystems/ezpublish-kernel/data/mysql/schema.sql on database ez_db
      	Executing 1946 queries from vendor/ezsystems/ezpublish-kernel/data/cleandata.sql on database ez_db
      	Clearing cache for directory /srv/www/eztest/ezplatform/app/cache/prod
      mysqlshow ${EZ_DB_NAME}
      	Database: ez_db
      	+--------------------------------+
      	|             Tables             |
      	+--------------------------------+
      	| ezapprove_items                |
      	| ezbasket                       |
      	| ezbinaryfile                   |
      	| ezcobj_state                   |
      	| ezcobj_state_group             |
      	| ezcobj_state_group_language    |
      	| ezcobj_state_language          |
      	| ezcobj_state_link              |
      	| ezcollab_group                 |
      	| ezcollab_item                  |
      	| ezcollab_item_group_link       |
      	| ezcollab_item_message_link     |
      	| ezcollab_item_participant_link |
      	| ezcollab_item_status           |
      	| ezcollab_notification_rule     |
      	| ezcollab_profile               |
      	| ezcollab_simple_message        |
      	| ezcomment                      |
      	| ezcomment_notification         |
      	| ezcomment_subscriber           |
      	| ezcomment_subscription         |
      	| ezcontent_language             |
      	| ezcontentbrowsebookmark        |
      	| ezcontentbrowserecent          |
      	| ezcontentclass                 |
      	| ezcontentclass_attribute       |
      	| ezcontentclass_classgroup      |
      	| ezcontentclass_name            |
      	| ezcontentclassgroup            |
      	| ezcontentobject                |
      	| ezcontentobject_attribute      |
      	| ezcontentobject_link           |
      	| ezcontentobject_name           |
      	| ezcontentobject_trash          |
      	| ezcontentobject_tree           |
      	| ezcontentobject_version        |
      	| ezcurrencydata                 |
      	| ezdiscountrule                 |
      	| ezdiscountsubrule              |
      	| ezdiscountsubrule_value        |
      	| ezenumobjectvalue              |
      	| ezenumvalue                    |
      	| ezforgot_password              |
      	| ezgeneral_digest_user_settings |
      	| ezgmaplocation                 |
      	| ezimagefile                    |
      	| ezinfocollection               |
      	| ezinfocollection_attribute     |
      	| ezisbn_group                   |
      	| ezisbn_group_range             |
      	| ezisbn_registrant_range        |
      	| ezkeyword                      |
      	| ezkeyword_attribute_link       |
      	| ezm_block                      |
      	| ezm_pool                       |
      	| ezmedia                        |
      	| ezmessage                      |
      	| ezmodule_run                   |
      	| ezmultipricedata               |
      	| eznode_assignment              |
      	| eznotificationcollection       |
      	| eznotificationcollection_item  |
      	| eznotificationevent            |
      	| ezoperation_memento            |
      	| ezorder                        |
      	| ezorder_item                   |
      	| ezorder_nr_incr                |
      	| ezorder_status                 |
      	| ezorder_status_history         |
      	| ezpackage                      |
      	| ezpaymentobject                |
      	| ezpdf_export                   |
      	| ezpending_actions              |
      	| ezpolicy                       |
      	| ezpolicy_limitation            |
      	| ezpolicy_limitation_value      |
      	| ezpreferences                  |
      	| ezprest_authcode               |
      	| ezprest_authorized_clients     |
      	| ezprest_clients                |
      	| ezprest_token                  |
      	| ezproductcategory              |
      	| ezproductcollection            |
      	| ezproductcollection_item       |
      	| ezproductcollection_item_opt   |
      	| ezpublishingqueueprocesses     |
      	| ezrole                         |
      	| ezrss_export                   |
      	| ezrss_export_item              |
      	| ezrss_import                   |
      	| ezscheduled_script             |
      	| ezsearch_object_word_link      |
      	| ezsearch_return_count          |
      	| ezsearch_search_phrase         |
      	| ezsearch_word                  |
      	| ezsection                      |
      	| ezsession                      |
      	| ezsite_data                    |
      	| ezstarrating                   |
      	| ezstarrating_data              |
      	| ezsubtree_notification_rule    |
      	| eztipafriend_counter           |
      	| eztipafriend_request           |
      	| eztrigger                      |
      	| ezurl                          |
      	| ezurl_object_link              |
      	| ezurlalias                     |
      	| ezurlalias_ml                  |
      	| ezurlalias_ml_incr             |
      	| ezurlwildcard                  |
      	| ezuser                         |
      	| ezuser_accountkey              |
      	| ezuser_discountrule            |
      	| ezuser_role                    |
      	| ezuser_setting                 |
      	| ezuservisit                    |
      	| ezvatrule                      |
      	| ezvatrule_product_category     |
      	| ezvattype                      |
      	| ezview_counter                 |
      	| ezwaituntildatevalue           |
      	| ezwishlist                     |
      	| ezworkflow                     |
      	| ezworkflow_assign              |
      	| ezworkflow_event               |
      	| ezworkflow_group               |
      	| ezworkflow_group_link          |
      	| ezworkflow_process             |
      	+--------------------------------+
      
      
      NGINX vhost conf
      
      	index app.php;
      
      	server {
      		server_name dev.loc;
      		listen      10.10.1.17:80;
      		rewrite ^(.*) https://dev.loc$1 permanent;
      		break;
      	}
      
      	server {
      		server_name dev.loc;
      		listen 10.10.1.17:443 ssl http2;
      		root /srv/www/eztest/ezplatform/web;
      
      		access_log  /var/log/nginx/dev.loc.443.access.log   main;
      		error_log   /var/log/nginx/dev.loc.443.error.log    error;
      		rewrite_log on;
      
      		autoindex  on;
      		client_header_buffer_size 10k;
      		gzip              on;
      		large_client_header_buffers 16 32k;
      
      		ssl on;
      		include includes/ssl_protocol.conf;
      		ssl_verify_client off;
      		ssl_certificate "ssl/devloc.crt";
      		ssl_trusted_certificate "ssl/devloc.crt";
      		ssl_certificate_key "ssl/devloc.key";
      
      		include includes/ez_params.d/ez_prod_rewrite_params;
      		include includes/ez_params.d/ez_rewrite_params;
      
      		location / {
      			location ~ ^/app(_dev)?\.php($|/) {
      				include includes/ez_params.d/ez_fastcgi_params;
      				fastcgi_pass   phpfpm;
      				fastcgi_param SYMFONY_ENV prod;
      				fastcgi_param SYMFONY_DEBUG 1;
      				fastcgi_param SYMFONY_HTTP_CACHE 1;
      		    }
      		}
      		include includes/ez_params.d/ez_server_params;
      	}
      
      
      restart NGINX
      
      nav to:
      
      	https://dev.loc
      
      @ browser:
      
      	"No input file specified."
      
      nav to:
      
      	https://dev.loc/app.php
      
      @ browser:
      
      		eZ Platform
      		name
      		Welcome to eZ Platform
      		short_description
      
      		This is the clean install coming with eZ Platform. It’s a barebone setup of the platform, an excellent foundation to build upon if you want to build from scratch. For more ready to go base designs or demo sites, please check the documentation.
      
      I've tried a number of different installation approaches, found on different docs, to no avail -- all result in the same error, as above.
      
      also, no change installing 'dev-master' branch
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pgnd pgnd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: