cancel
Showing results for 
Search instead for 
Did you mean: 

CLI Problem findet bin/magento nicht

SOLVED

CLI Problem findet bin/magento nicht

Hallo Community,

 

ich würde gerne eine Testmodul "enablen" bei Eingabe bin/magent module:enable ** kommt die Meldung

 

app@xxx-xxx-xxx-cmbl:/$ bin/magento module:enable Thisisastart_HelloWorld
bash: bin/magento: No such file or directory

 

Habe schon mehrere Anläufe unternommen, ich muss in ein bestehendes System springen deswegen könnte die Ordnungerstruktur komplexer sein wie bei einer Neuinstallation...

 

Bitte um Hilfe, danke und Gruß

1 ACCEPTED SOLUTION

Accepted Solutions

Re: CLI Problem findet bin/magento nicht

I found the correct folder in the document root, thank you.

 

Greetz

View solution in original post

4 REPLIES 4

Re: CLI Problem findet bin/magento nicht

Hi @racexwebde2b71 ,

Es scheint, dass Sie den Befehl nicht aus dem richtigen Verzeichnis auf dem Server ausführen.
Sie müssen zunächst in das Root-Verzeichnis Ihrer Magento-Installation wechseln und dann denselben Befehl ausführen.
Beispiel:

cd /var/www/html/magento2

bin/magento module:enable Thisisastart_HelloWorld

 

Problem gelöst? Als Lösung akzeptieren!

 

Thanks

Ankit

Ankit Jasani

Re: CLI Problem findet bin/magento nicht

Ill get this message when I try to get to root folder:

 

app@levfl5-capalus2dev-magweb-cmbl:/var/www$ dir
dir: cannot open directory '.': Permission denied

Re: CLI Problem findet bin/magento nicht

Hi @racexwebde2b71 ,

You need to confirm about server user and path where magento 2 folder structure available (root folder for magento2)

After that only I suggest to execute any commands as it can affect whole website if you are not aware about permissions and proper user before executing commands.

 

Ankit Jasani

Re: CLI Problem findet bin/magento nicht

I found the correct folder in the document root, thank you.

 

Greetz

OSZAR »