Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 30 22:16
    johanjanssens edited #457
  • Oct 30 22:15
    johanjanssens edited #457
  • Oct 30 21:41
    johanjanssens commented #455
  • Oct 30 18:24
    johanjanssens edited #455
  • Oct 30 15:02
    johanjanssens labeled #457
  • Oct 30 15:02
    johanjanssens assigned #457
  • Oct 30 15:02
    johanjanssens opened #457
  • Oct 30 15:00
    johanjanssens labeled #456
  • Oct 30 15:00
    johanjanssens milestoned #456
  • Oct 30 15:00
    johanjanssens commented #456
  • Oct 30 11:15
    yiendos labeled #456
  • Oct 30 11:15
    yiendos assigned #456
  • Oct 30 11:15
    yiendos opened #456
  • Oct 30 00:13
    johanjanssens edited #455
  • Oct 30 00:09
    johanjanssens edited #455
  • Oct 30 00:09
    johanjanssens edited #455
  • Oct 29 23:44
    johanjanssens edited #455
  • Oct 29 23:43
    johanjanssens edited #455
  • Oct 29 23:42
    johanjanssens edited #455
  • Oct 29 23:37
    johanjanssens opened #455
Johan Janssens
@johanjanssens
What is the exact command you used?
PH-MarcAndre
@PHMarcAndre_twitter
im actually not having this error anymore by using --use-webroot-dir
heres the command
joomla site:create --www=<PATH> --use-webroot-dir --mysql-login=<LOGIN>--mysql-database=<DB> SITE
but now i have --> Can not find SQL dump file /home/qzhubfyc/public_html/installation/sql/mysql/joomla.sql
Johan Janssens
@johanjanssens
you are doing a bit too much
a simple joomla site:create testsite is the base command
PH-MarcAndre
@PHMarcAndre_twitter
im actually using this on a server using apache doc root
i need to specify the path ??
Johan Janssens
@johanjanssens
the other arguments are provided for special scenarios, like if you want to automate cli scripts, but not required
PH-MarcAndre
@PHMarcAndre_twitter
i want to automate the installation
Johan Janssens
@johanjanssens
it does that :)
PH-MarcAndre
@PHMarcAndre_twitter
from another interface
now the error i got is --> Can not find SQL dump file /home/qzhubfyc/public_html/installation/sql/mysql/joomla.sql
Johan Janssens
@johanjanssens
define => from another interface?
PH-MarcAndre
@PHMarcAndre_twitter
the specified path is /home/qzhubfyc/public_html/
its like the installation files not downloaded
i have a gui for users that can install multiple cms
now i want to include joomla
and i need to manage dabatase and all that thats why it is specified
ok i have a access denied .. the error not realy accurate
PH-MarcAndre
@PHMarcAndre_twitter
ok i understand the problem now
is there a possibility to use an existing database ?
Johan Janssens
@johanjanssens
the create command will install a site and dump the installation data in the database it creates
what you mean exactly with use an existing database?
PH-MarcAndre
@PHMarcAndre_twitter
using a pre-create database
like i create the database before running the command
maybe i'll need to use site:download site:configure etc
Johan Janssens
@johanjanssens
yes but then you need to run multiple commands yourself
PH-MarcAndre
@PHMarcAndre_twitter
i see
Johan Janssens
@johanjanssens
https://www.joomlatools.com/developer/tools/console/commands/site#siteinstall you can use the install command, if there is already a database it will only install the files
you might want to check the actual code to get an better understanding what the commands do
PH-MarcAndre
@PHMarcAndre_twitter
cool thank you
Johan Janssens
@johanjanssens
if you have very specific needs you could create your own plugin for console
PH-MarcAndre
@PHMarcAndre_twitter
yes just saw that
thanks i'll take a look around
Johan Janssens
@johanjanssens
PH-MarcAndre
@PHMarcAndre_twitter
yea im now actually try to use site:download
to get the codebase before configuring installation
[qzhubfyc@staging-3 public_html]$ joomla site:download --www=/home/qzhubfyc/public_html --use-webroot-dir -- gfghf.com [qzhubfyc@staging-3 public_html]$
no error
but no files ...
the joomla console actually giving me hard time lol

joomlatools/joomlatools-console#89 see also

i dont need to create the vhost its already created

juste need to download files and configure
Johan Janssens
@johanjanssens
the download command is build to get a site from a git repo
you are trying to do a few things we never really tested as use-cases, will take a bit of fiddling, but Rome wasn't build in a day either :)
PH-MarcAndre
@PHMarcAndre_twitter
ok i see