Run Artisan command to set up Microweber multisite

Posted November 1, 2020 656 views

So on a fresh install, I login to the root of Microweber and run (an edited version of this for my own site): php artisan microweber:install admin password storage/database1.sqlite microweber microweber nopass sqlite -p site_ -t dream -d 1 -c 1 –

However it just returns Could not open input file: artisan

Same if I just run PHP artisan list - is there a folder I need to go to first before I run that command?

To confirm I go - SSH root@[MY-IP] > Confirm Key and it shows root@microweber-ubuntu-s-[rest-of-info]:

I then run the command.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @BigElectricBlueCoral,

Yes, you need to go to the directory where the Microweber is installed at. To do that you can use the following command:

  • cd /var/www/html

After that, you can run the artisan commands as normal.