-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 2 0.74.0-beta11 sample-data-0.74.0-beta11 successfully installed but won't show up. #1324
Comments
Hi @pccomfrank ,
Could you, please, clarify what method did you use? |
http://devdocs.magento.com/guides/v1.0/install-gde/install/install-cli-install.html php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ |
Sample data is a module now, as of -beta10. So, be sure you've declared the magento repository and listed the sample data module properly in your config.json BEFORE you run composer install. If you didn't, it's no big deal, but does explain why the data isn't in your database. What you showed above is only a list of tables, and these are installed at the beginning of the install process and not during the data load process, which typically is the LAST thing the system does during install. To load it AFTER you run composer install, try:
and then
After the dependencies are loaded and your command prompt returns enter the following in order:
|
I did all above procedures except the last two. When I was trying to I got the following errors: When I do I got the following error: This is my composer.json: root@bell:/usr/local/www/bell.shopeveryday.us # cat composer.json |
I got a debug.log instead of install.log after fake successful installation: root@bell:/usr/local/www/bell.shopeveryday.us/var/log # cat debug.log After I visit the home page, I got a system.log root@bell:/usr/local/www/bell.shopeveryday.us/var/log # cat system.log |
Couple things to check:
|
Yes. I started working with a new git clone. The old ones(beta9) are still working: http://kerynn.ca:8280. I do not know how to upgrade from beta9 to beta11. Thanks! |
OK, here are a couple more options for you:
You already had it changed to beta, which is correct, at the beginning of the file, but you changed it back at the end. Just delete that line.
When you get to the page where modules are installed/loaded, please make sure to check the Sample Data box. Continue with the installation as directed by the system. Be patient when you get to the sample data installation at the 98% complete mark. It can take more than ten minutes to complete this final step. |
When I use the browser to install it, the sample data check box dimmed. That is the problem. It seems that the sample data never installed. I was trying to run the upgrade and sampledata:install admin command root@bell:/usr/local/www/bell.shopeveryday.us/bin # /usr/local/www/bell.shopeveryday.us/bin/magento setup:upgrade [Magento\Setup\Exception] setup:upgrade [--magento-init-params MAGENTO-INIT-PARAMS] This is the main problem. So the main problem is that the config.php and env.php files are missing from the git clone. |
I'm just curious, based on your comments, did you try ANY of the corrective steps I described? |
Yes. But app/etc/config.php and env.php are missing. Cannot follow your steps. If you git clone magento 2 here, there is no such file called config.php and env.php in app/etc/ directory. Where did you get them? |
@pccomfrank if the |
@pccomfrank , |
Thanks. I used browser to check readiness then use command to install it. I got sample data installed , but the images are not showing. |
@pccomfrank , hm, looks like all products are not displayed. Do you see products visible in the Admin Panel? |
I used command line to install. i never got an install.log. Debug.log instead. Now there is a big exception.log root@bell:/usr/local/www/bell.shopeveryday.us/var/log # tail exception.log cache flushed several times. Products won't show up. seems products already installed: mysql> select * from catalog_category_entity; |
@pccomfrank , thanks for the information. Unfortunately, the exception log starts from #68 trace level, while to know the issue, we need the beginning of the whole exception message. I see that looks like you have the products because there are search criteria for them. Could you, please, try to clean cache? And possibly also run re-indexing (see |
root@bell:/usr/local/www/bell.shopeveryday.us # ./bin/magento cache:clean root@bell:/usr/local/www/bell.shopeveryday.us # ./bin/magento indexer:reindex This is the exception.log: ... |
Thanks for the info. Looks like something's wrong with images processing. Could you, please include lines from exception.log that go right before "#0" line? |
root@bell:/usr/local/www/bell.shopeveryday.us/var/log # tail -n 200 exception.log root@bell:/usr/local/www/bell.shopeveryday.us/var/log # php -m [Zend Modules] |
root@bell:/usr/local/www/bell.shopeveryday.us/var/log # php -i System => FreeBSD bell.shopeveryday.us 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 PHP API => 20131106 Registered PHP Streams => compress.bzip2, php, file, glob, data, http, ftp, https, ftps, compress.zlib, zip, phar This program makes use of the Zend Scripting Language Engine: Configuration bz2 BZip2 Support => Enabled Core PHP Version => 5.6.9 Directive => Local Value => Master Value ctype ctype functions => enabled curl cURL support => enabled date date/time support => enabled Directive => Local Value => Master Value dba DBA support => enabled Directive => Local Value => Master Value dom DOM/XML => enabled ereg Regex Library => Bundled library enabled fileinfo fileinfo support => enabled filter Input Validation and Filtering => enabled Directive => Local Value => Master Value gd GD Support => enabled Directive => Local Value => Master Value hash hash support => enabled iconv iconv support => enabled Directive => Local Value => Master Value intl Internationalization support => enabled Directive => Local Value => Master Value json json support => enabled libxml libXML support => active mbstring Multibyte Support => enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Multibyte (japanese) regex support => enabled Directive => Local Value => Master Value mcrypt mcrypt support => enabled Directive => Local Value => Master Value mhash MHASH support => Enabled mssql MSSQL Support => enabled Directive => Local Value => Master Value mysql MySQL Support => enabled Directive => Local Value => Master Value mysqli MysqlI Support => enabled Directive => Local Value => Master Value mysqlnd mysqlnd => enabled mysqlnd statistics => odbc ODBC Support => enabled Directive => Local Value => Master Value openssl OpenSSL support => enabled Directive => Local Value => Master Value pcre PCRE (Perl Compatible Regular Expressions) Support => enabled Directive => Local Value => Master Value PDFlib PDFlib Support => enabled PDO PDO support => enabled pdo_mysql PDO Driver for MySQL => enabled Directive => Local Value => Master Value PDO_ODBC PDO Driver for ODBC (unixODBC) => enabled pdo_pgsql PDO Driver for PostgreSQL => enabled pdo_sqlite PDO Driver for SQLite 3.x => enabled pgsql PostgreSQL Support => enabled Directive => Local Value => Master Value Phar Phar: PHP Archive support => enabled Phar based on pear/PHP_Archive, original concept by Davey Shafik. posix Revision => Reflection Reflection => enabled session Session Support => enabled Directive => Local Value => Master Value SimpleXML Simplexml support => enabled soap Soap Client => enabled Directive => Local Value => Master Value SPL SPL support => enabled sqlite3 SQLite3 support => enabled Directive => Local Value => Master Value standard Dynamic Library Support => enabled Directive => Local Value => Master Value tokenizer Tokenizer Support => enabled xml XML Support => active xmlreader XMLReader => enabled xmlwriter XMLWriter => enabled Zend OPcache Opcode Caching => Disabled Directive => Local Value => Master Value zip Zip => enabled zlib ZLib Support => enabled Directive => Local Value => Master Value Additional Modules Module Name Environment Variable => Value PHP Variables Variable => Value _SERVER["argc"] => 0 PHP License This program is distributed in the hope that it will be useful, If you did not receive a copy of the PHP license, or have any |
@pccomfrank , thanks for the details.
And did you have any errors during sample data installation? As I understand, you used command line for it. Or you can try to make uninstall ( |
root@bell:/usr/local/www/bell.shopeveryday.us # ./bin/magento setup:uninstall root@bell:/usr/local/www/bell.shopeveryday.us # php bin/magento setup:install --base-url=http://bell.shopeveryday.us/ --backend-frontname=admin --db-host=localhost --db-name=m2bellshopeverydayus --db-user=root --db-password=xxxxxxxx --admin-firstname=Frank --admin-lastname=Peng --admin-email=pccom.frank@gmail.com --admin-user=frank --admin-password=xxxxxxx --language=en_US --currency=CAD --timezone=America/Chicago --use-sample-data [Progress: 269 / 272] thank you! It works. root@bell:/usr/local/www/bell.shopeveryday.us/var/log # ls root@bell:/usr/local/www/bell.shopeveryday.us/var/log # cat system.log |
@pccomfrank , so as I understand everything works now? If the installation may have public access or it's on a shared hosting, I'd suggest to play with permissions to the folders, as it may be insecure to give permissions to any user. Maybe these |
I was installing the Magento 2 by user root. The directories in var owned by root. Apache24 is owned by user www. user www could not access root's directories in var. I cannot install Magento by user www because I cannot su to www. root@bell:/usr/local/www/bell.shopeveryday.us/var # su www root@bell:/usr/local/www/bell.shopeveryday.us/var # cat /etc/passwd To fix this problem, Hopefully I fixed the problem. |
@pccomfrank, can we consider that this issue is resolved? |
Yes. Please. |
how can you run magento2.0 in the chrome? |
can you solve this problem:"One or more of the indexers are not valid. Please add Magento cron file to crontab or launch cron.php manually."? I try to run command the run.php ,but it didn`t work. |
You can run cron in a browser or using the command line: http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html#config-cli-cron-browser You must run it twice; first time to determine what jobs need to be run and the second time to run them. |
Hi, Any one can help me in this issue, After reindexing we got an error message for category pages Thanks. |
Doesn't help for me. |
It seems the data are in the database:
mysql> show tables;
+---------------------------------------------+
| Tables_in_m2bellshopeverydayus |
+---------------------------------------------+
| admin_system_messages |
| admin_user |
| adminnotification_inbox |
| authorization_role |
| authorization_rule |
| cache |
| cache_tag |
| captcha_log |
| catalog_category_entity |
| catalog_category_entity_datetime |
| catalog_category_entity_decimal |
| catalog_category_entity_int |
| catalog_category_entity_text |
| catalog_category_entity_varchar |
| catalog_category_product |
| catalog_category_product_index |
| catalog_category_product_index_tmp |
| catalog_compare_item |
| catalog_eav_attribute |
| catalog_product_bundle_option |
| catalog_product_bundle_option_value |
| catalog_product_bundle_price_index |
| catalog_product_bundle_selection |
| catalog_product_bundle_selection_price |
| catalog_product_bundle_stock_index |
| catalog_product_entity |
| catalog_product_entity_datetime |
| catalog_product_entity_decimal |
| catalog_product_entity_gallery |
| catalog_product_entity_group_price |
| catalog_product_entity_int |
| catalog_product_entity_media_gallery |
| catalog_product_entity_media_gallery_value |
| catalog_product_entity_text |
| catalog_product_entity_tier_price |
| catalog_product_entity_varchar |
| catalog_product_index_eav |
| catalog_product_index_eav_decimal |
| catalog_product_index_eav_decimal_idx |
| catalog_product_index_eav_decimal_tmp |
| catalog_product_index_eav_idx |
| catalog_product_index_eav_tmp |
| catalog_product_index_group_price |
| catalog_product_index_price |
| catalog_product_index_price_bundle_idx |
| catalog_product_index_price_bundle_opt_idx |
| catalog_product_index_price_bundle_opt_tmp |
| catalog_product_index_price_bundle_sel_idx |
| catalog_product_index_price_bundle_sel_tmp |
| catalog_product_index_price_bundle_tmp |
| catalog_product_index_price_cfg_opt_agr_idx |
| catalog_product_index_price_cfg_opt_agr_tmp |
| catalog_product_index_price_cfg_opt_idx |
| catalog_product_index_price_cfg_opt_tmp |
| catalog_product_index_price_downlod_idx |
| catalog_product_index_price_downlod_tmp |
| catalog_product_index_price_final_idx |
| catalog_product_index_price_final_tmp |
| catalog_product_index_price_idx |
| catalog_product_index_price_opt_agr_idx |
| catalog_product_index_price_opt_agr_tmp |
| catalog_product_index_price_opt_idx |
| catalog_product_index_price_opt_tmp |
| catalog_product_index_price_tmp |
| catalog_product_index_tier_price |
| catalog_product_index_website |
| catalog_product_link |
| catalog_product_link_attribute |
| catalog_product_link_attribute_decimal |
| catalog_product_link_attribute_int |
| catalog_product_link_attribute_varchar |
| catalog_product_link_type |
| catalog_product_option |
| catalog_product_option_price |
| catalog_product_option_title |
| catalog_product_option_type_price |
| catalog_product_option_type_title |
| catalog_product_option_type_value |
| catalog_product_relation |
| catalog_product_super_attribute |
| catalog_product_super_attribute_label |
| catalog_product_super_attribute_pricing |
| catalog_product_super_link |
| catalog_product_website |
| catalog_url_rewrite_product_category |
| cataloginventory_stock |
| cataloginventory_stock_item |
| cataloginventory_stock_status |
| cataloginventory_stock_status_idx |
| cataloginventory_stock_status_tmp |
| catalogrule |
| catalogrule_affected_product |
| catalogrule_customer_group |
| catalogrule_group_website |
| catalogrule_product |
| catalogrule_product_price |
| catalogrule_website |
| catalogsearch_fulltext |
| checkout_agreement |
| checkout_agreement_store |
| cms_block |
| cms_block_store |
| cms_page |
| cms_page_store |
| core_config_data |
| cron_schedule |
| customer_address_entity |
| customer_address_entity_datetime |
| customer_address_entity_decimal |
| customer_address_entity_int |
| customer_address_entity_text |
| customer_address_entity_varchar |
| customer_eav_attribute |
| customer_eav_attribute_website |
| customer_entity |
| customer_entity_datetime |
| customer_entity_decimal |
| customer_entity_int |
| customer_entity_text |
| customer_entity_varchar |
| customer_form_attribute |
| customer_group |
| customer_log |
| customer_visitor |
| design_change |
| directory_country |
| directory_country_format |
| directory_country_region |
| directory_country_region_name |
| directory_currency_rate |
| downloadable_link |
| downloadable_link_price |
| downloadable_link_purchased |
| downloadable_link_purchased_item |
| downloadable_link_title |
| downloadable_sample |
| downloadable_sample_title |
| eav_attribute |
| eav_attribute_group |
| eav_attribute_label |
| eav_attribute_option |
| eav_attribute_option_value |
| eav_attribute_set |
| eav_entity |
| eav_entity_attribute |
| eav_entity_datetime |
| eav_entity_decimal |
| eav_entity_int |
| eav_entity_store |
| eav_entity_text |
| eav_entity_type |
| eav_entity_varchar |
| eav_form_element |
| eav_form_fieldset |
| eav_form_fieldset_label |
| eav_form_type |
| eav_form_type_entity |
| email_template |
| flag |
| gift_message |
| googleoptimizer_code |
| googleshopping_attributes |
| googleshopping_items |
| googleshopping_types |
| importexport_importdata |
| indexer_state |
| integration |
| layout_link |
| layout_update |
| log_customer |
| log_quote |
| log_summary |
| log_summary_type |
| log_url |
| log_url_info |
| log_visitor |
| log_visitor_info |
| log_visitor_online |
| mview_state |
| newsletter_problem |
| newsletter_queue |
| newsletter_queue_link |
| newsletter_queue_store_link |
| newsletter_subscriber |
| newsletter_template |
| oauth_consumer |
| oauth_nonce |
| oauth_token |
| persistent_session |
| product_alert_price |
| product_alert_stock |
| quote |
| quote_address |
| quote_address_item |
| quote_id_mask |
| quote_item |
| quote_item_option |
| quote_payment |
| quote_shipping_rate |
| rating |
| rating_entity |
| rating_option |
| rating_option_vote |
| rating_option_vote_aggregated |
| rating_store |
| rating_title |
| report_compared_product_index |
| report_event |
| report_event_types |
| report_viewed_product_aggregated_daily |
| report_viewed_product_aggregated_monthly |
| report_viewed_product_aggregated_yearly |
| report_viewed_product_index |
| review |
| review_detail |
| review_entity |
| review_entity_summary |
| review_status |
| review_store |
| sales_bestsellers_aggregated_daily |
| sales_bestsellers_aggregated_monthly |
| sales_bestsellers_aggregated_yearly |
| sales_creditmemo |
| sales_creditmemo_comment |
| sales_creditmemo_grid |
| sales_creditmemo_item |
| sales_invoice |
| sales_invoice_comment |
| sales_invoice_grid |
| sales_invoice_item |
| sales_invoiced_aggregated |
| sales_invoiced_aggregated_order |
| sales_order |
| sales_order_address |
| sales_order_aggregated_created |
| sales_order_aggregated_updated |
| sales_order_grid |
| sales_order_item |
| sales_order_payment |
| sales_order_status |
| sales_order_status_history |
| sales_order_status_label |
| sales_order_status_state |
| sales_order_tax |
| sales_order_tax_item |
| sales_payment_transaction |
| sales_refunded_aggregated |
| sales_refunded_aggregated_order |
| sales_sequence_meta |
| sales_sequence_profile |
| sales_shipment |
| sales_shipment_comment |
| sales_shipment_grid |
| sales_shipment_item |
| sales_shipment_track |
| sales_shipping_aggregated |
| sales_shipping_aggregated_order |
| salesrule |
| salesrule_coupon |
| salesrule_coupon_aggregated |
| salesrule_coupon_aggregated_order |
| salesrule_coupon_aggregated_updated |
| salesrule_coupon_usage |
| salesrule_customer |
| salesrule_customer_group |
| salesrule_label |
| salesrule_product_attribute |
| salesrule_website |
| search_query |
| sendfriend_log |
| sequence_creditmemo_0 |
| sequence_creditmemo_1 |
| sequence_invoice_0 |
| sequence_invoice_1 |
| sequence_order_0 |
| sequence_order_1 |
| sequence_shipment_0 |
| sequence_shipment_1 |
| session |
| setup_module |
| shipping_tablerate |
| sitemap |
| store |
| store_group |
| store_website |
| tax_calculation |
| tax_calculation_rate |
| tax_calculation_rate_title |
| tax_calculation_rule |
| tax_class |
| tax_order_aggregated_created |
| tax_order_aggregated_updated |
| theme |
| theme_file |
| translation |
| ui_bookmark |
| url_rewrite |
| variable |
| variable_value |
| vde_theme_change |
| weee_tax |
| widget |
| widget_instance |
| widget_instance_page |
| widget_instance_page_layout |
| wishlist |
| wishlist_item |
| wishlist_item_option |
+---------------------------------------------+
308 rows in set (0.00 sec)
mysql>
I used the same method to install beta9, which is successfully installed the sample-data.074.0-beta9.
The text was updated successfully, but these errors were encountered: