Questions tagged [setup]
Denotes question related to Magento installation
175
questions
0
votes
0
answers
19
views
Trouble running Magento on Linux
My friend was trying to run a source code for a store on Magento. His setting up for magento includes PHP 7.4, Docker and Composer.
However, this was what he got:
I'm new to Magento so I too have no ...
0
votes
0
answers
26
views
PWA env MAGENTO_BACKEND_URL change to local virtual host problem
Passed a lot of solutions but didn't get the success
The task if the replace the default local virtual host pwa02.wsl wher M2 installed
M2 vesion: 2.4.5 (working well)
Venia varsion: 13.2.0
Istalled ...
1
vote
1
answer
24
views
Plugin for Magento\Setup\Model\ConfigOptionsList::validate
Is it possible to make a plugin for Magento\Setup\Model\ConfigOptionsList::validate()?
This function checks the validity of connection to DB and since I am dynamically generating password for DB, I ...
0
votes
1
answer
32
views
The store that was requested wasn't found during a clean setup
During my store setup, I received this error message below.
The store that was requested wasn't found. Verify the store and try again.
Why is it happening since the database is empty?
0
votes
0
answers
60
views
Quick local setup of existing project
I have been developing web apps for the last 2 years. A friend of mine owns a website built with Magento with which he needs some help. I've no experience with Magento as of yet, but I've been trying ...
1
vote
3
answers
501
views
Install Magento 2 PWA
Can Anybody suggest to me the best guide to install the Magento 2 PWA step by step?
I tried many things, but face this issue on using this command :
yarn buildpack create-custom-origin packages/venia-...
0
votes
1
answer
18
views
How to create morethan oneproduct attribute and assign it to specific attribute set-Magento2
I have an attributeset named dealz and attribute set group with name DealzInformation.Also I have some customproductattributes like dealdate,dealqty,dealprize...etc. Then how to show this group with ...
0
votes
4
answers
289
views
What is the best way to setup existing magento project with apple M2 chip?
I have tried to install it using markshust/docker-magento but it gives errors in elasticsearch as elasticsearch is now deprecated in M2 chips and I am not sure how to configure magento2 with ...
0
votes
1
answer
278
views
public static function getVersion() : m2
Setup Data Patch script is executed successfully after running setup:upgrade command.
Now i want to execute same script with public static function getVersion() function.
Module version is :
<?xml ...
0
votes
2
answers
1k
views
How to install Magento 2.4.4 from archive with sample data?
i would like to know how to install Magento 2.4.4 starting from the archive with sample data.
The archive can be downloaded here: https://magento.com/tech-resources/download#archive-releases
While the ...
0
votes
1
answer
331
views
Magent 2.3.4 Installation error
I was do setup the magento 2.3.4 version in Php 7.3 version
But Frontend throw error
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">...
1
vote
1
answer
243
views
magento 2 cloud docker setup for 2.4.3-p1 failed gives error
I am trying to setup magento2.4.3-p1 with cloud docker when I run the docker.sh command
curl -sL https://github.com/magento/magento-cloud-docker/releases/download/1.2.0/init-docker.sh | bash -s -- --...
0
votes
1
answer
119
views
Error on setup:install step 4
I am installing magento in clean database but it throws an error
In StoreRepository.php line 112:
The store that was ...
0
votes
1
answer
110
views
error when doing setup install on clean database magento2
Here is an error that occurs when I run setup:install command on clean database magento2
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clean.core_confi
g_data' doesn't exist
I added ...
0
votes
1
answer
528
views
Magento 2.4, How to autofill value of Page Builder/textarea instead of Page Builder(form details) initialized as blank
In admin Catalog->Category->content
I would like this Form detail:Page Builder to have Layout->Row and Element->HTML Code="Default Value" at setup.
<?php
namespace Justins\...
0
votes
2
answers
109
views
couldn't start dockergento and pull images
I am trying to setup new project locally but can't pull any docker images, tried on old project and still same issue.
tried restarting everything, re logging in docker etc.
pulled docker-hello ...
0
votes
2
answers
612
views
Magento after setup ReflectionException Class Magento\Search\ViewModel\ConfigProvider does not exist
I setup my project in localhost and I get the below error when try to access frontend.
Exception #0 (ReflectionException): Class Magento\Search\ViewModel\ConfigProvider does not exist
My project is ...
0
votes
2
answers
131
views
php -dmemory_limit=-1 bin/magento setup:di:compile
I am trying to install our live website into the localhost
But I have encountered this error while running command
php -dmemory_limit=-1 bin/magento setup:di:compile
Parse error: syntax error, ...
0
votes
1
answer
96
views
Error during compilation - Extra parameters passed to parent construct
During deployment when i run setup:di:compile i got error in one of my block, Extra parameters passed to parent construct: $data
Guide me on this issue
File name:index.php
File location:app/code/...
0
votes
1
answer
628
views
Transport Exception : Content-Length mismatch Installing Magento 2.3.6
I have to install the magento 2.3.6 on my vagrant VM it actually already working on other VMs but today I have created another VM and start installing the magento2 but got this weird error at some ...
0
votes
0
answers
137
views
Magento CLI Install Error Megento_Catalog
I'm trying to install Magento 2.3 from the terminal and I find the following error, does anyone know how to fix it?
In PatchApplier.php line 170:
...
1
vote
2
answers
336
views
Class NewRelic\Monolog\Enricher\Handler does not exist
I just reinstalled magento using composer install
Then I tried to run this command php bin/magento setup:upgrade and also tried running other setup commands.
I got the following error:
Class NewRelic\...
0
votes
1
answer
134
views
Magento 2 Frontend Page shows Try clearing your cookies
I have installed magento through command line by using
bin/magento setup:install --base-url=http://127.0.0.1/magento2/
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento
--...
0
votes
1
answer
697
views
magento 2.4 setup is not displaying, showing the page isn't working, HTTP error 500
magento 2.4 setup is not displaying, showing the page isn't working HTTP error 500, but i tried with simple php code.server is working fine. what may be the error, i am using php 7.3
0
votes
3
answers
511
views
What are System Requirements for Magento 2.4?
I am using ubuntu 18.04 with PHP 7.3 and MySQL 5.7 Magento 2.3.5 is working fine what are requirements for Magento 2.4
6
votes
7
answers
10k
views
Magento 2.4 Best way setup with Docker environment
What is the best way to Configure Docker environment with Magento 2.4. If some know please give me a solution.
0
votes
1
answer
389
views
Magento2.4 : How to setup PWA with Angular
I want to setup PWA with Angular. I search but I only found Magento 2 project setup with react. I correctly set up with react but not found the best practice and correct way to setup Magento 2.4 with ...
0
votes
1
answer
3k
views
Composer installation fails with "failed to open stream: Too many open files"
When trying to install Magento 2 Open Source with the following command, I get the following error. I've already upped my maxfiles to kingdom come, without any positive effect. How do I fix this?
...
1
vote
2
answers
1k
views
Magneto 2 setup - incorrect permissions
After install magento 2.3.5-p1 i got exception on setup page (in web setup).
PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/magento2/var/page_cache" is not writable in /var/...
1
vote
1
answer
1k
views
Cant install magento/pwa
I am trying to install Magento with pwa,but when i run in terminal command yarn create @magento/pwa,
and after answer of the question-
Im getting an error-- Invalid directory path; contains illegal ...
0
votes
1
answer
272
views
Magento 2 Angular js error while run setup
I am new to Magento, I am trying to set up Magento with ddev. So, Downloaded setup version 2.3 with sample data. When I run the setup it shows AngularJs errors in the console (See the screenshot).
...
0
votes
2
answers
1k
views
An error has happened during application run. See exception log for details. during deployment
hope you can help me out!
Best regards
Joost
[2020-03-28 19:24:43] main.CRITICAL: Class Magento\Framework\Session\Config\ConfigInterface\Proxy does not exist {"exception":"[object] (...
0
votes
0
answers
46
views
installed project on local and have an error
I installed project on local , used dump in the database but I have an error
{"0":"The website with code base that was requested wasn't found. Verify the website and try again.","1":"<pre>#1 ...
0
votes
1
answer
254
views
How to override a file in root/setup/src/Magento/ in Magento?
I'm working on a solution that requires adding a bit of functionality to the magento installation process. How do I override a file in root/setup/src/Magento/...
How would i override setup/src/...
0
votes
1
answer
2k
views
Missing setup_module table in Magento 2.3.2 database
i am missing a table setup_module in magent 2.3.2 database,
the site is working, however i cannot install any extensions as the new tables are not being created due to missing setup_module.
i could ...
2
votes
2
answers
1k
views
how to override the Setup/Patch/Data file in magento2
How to override the core "module-store/Setup/Patch/Data/DisableSid.php" into "app/code/Mymodule/Test/" module.
can anyone please help me.
Thanks
4
votes
2
answers
4k
views
Magento 2: Setup Magento project after clone git repository
I want to set up a git project on my local machine.
I have successfully set up the database.
I have run git clone command and clone the project from git but some repository is blank.
so how can I ...
0
votes
2
answers
139
views
Magento 2.3.3 - How to setup theme after migrate M1 to M2?
After successful migration theme setup not working, setup Magento luma theme not working.
Theme Setup :
My website look like:
Debug.log:
main.ERROR: Unable to load theme by specified key: '...
2
votes
3
answers
3k
views
Magento Update to 2.3.3 backend after login Specified invalid parent id Magento_Analytics
i have a problem while upgrading Magento from 2.3.2 to 2.3.3. The update works fine and i have all done which mentioned here: https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
...
0
votes
0
answers
29
views
I am getting an error when i run setup : Magento 1
I am getting below error:
Call to a member function getDefaultStore() on boolean in
D:\wampstack\apache2\htdocs\juliasvn\app\code\core\Mage\Core\Model\App.php
on line 562
can anyone have any ...
1
vote
1
answer
66
views
InstallSchema.php fails to execute
I've read various posts here but none of them have been helpful.
Steps I have taken:
Remove My_Module from setup_module in DB
Add Setup/InstallSchema.php
Clear generated/* directory
Clear cache
...
0
votes
1
answer
28
views
Magento 1.3 installaton
i am trying to do magento 1.3 setup on local.
The setup is not fresh, its a server setup i am doing it on local
and i am getting this error. https://prnt.sc/opxr9g
Can anyone help me out please
0
votes
0
answers
28
views
White Screen During Setup. Tried everything
I'm trying to set up Magento locally using MAMP, and I'm getting the WSOD.
I've changed permissions, to the point that just about everything has full permissions, and still nothing
I'm running PHP 7....
6
votes
2
answers
3k
views
How to convert install/upgrade schema scripts to db_schema.xml files?
I'm following the guide from Magento DevDocs about the Declarative Schema
I created a new module with old setup way (InstallSchema.php, InstallData.php) to test the convert install/upgrade schema ...
4
votes
1
answer
3k
views
phpcs Use ::class notation instead warning on attribute source field
I've created a setup script to load from a source model
$eavSetup->addAttribute(
\Magento\Catalog\Model\Category::ENTITY,
'location_reference',
[
'type' => 'varchar',
...
0
votes
2
answers
1k
views
Magento 2 installation settings - mysql database password problem
I am trying to run the magento 2 install (default shown below). However, if I add a symbol into the password it complains and says
Your password must include both numeric and alphabetic characters.
...
1
vote
3
answers
313
views
Magento installation error from command line
I tried to install magento CE- v2.3.1, from the windows command line interface.
Instead of full command i used the short one, as
"magento setup:install "
I did not provide the full arguments ...
0
votes
2
answers
1k
views
Magento 2: How do I enable or disable all modules (or subset) of a vendor in 1 command?
Seeing we are installing, upgrading, removing a new M2 (2.3.1) install we wouldlike a fast way to enable or disable modules from vendors in 1 go. Either by the Vendor name or for a Subset of modules ...
4
votes
0
answers
223
views
How to solve Magento 2.3 Setup Version Errors
When running the command n98-magerun2 sys:setup:compare-versions I'm receiving the following errors:
+-------------------------------------+---------+---------+---------+--------+
| Setup ...
2
votes
1
answer
680
views
How this InstallData works each line in Magento 2?
My questions:
I want know how this works by each and every line of code
I want to add new attribute here
Difference between InstallData and InstallSchema
Here is InstallData.php
<?php
...