Question

Run Artisan command to set up Microweber multisite

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@site.com admin password storage/database1.sqlite microweber microweber nopass sqlite -p site_ -t dream -d 1 -c 1 --env=second-domain.com

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.

Thanks!


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
November 1, 2020
Accepted 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:

  1. cd /var/www/html

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

Regards, Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel