# CLI install crashes on meaningless error

**URL:** https://forums.concretecms.org/t/cli-install-crashes-on-meaningless-error/3645
**Category:** Installation
**Created:** [August 1, 2022, 1:37am UTC](https://forums.concretecms.org/t/cli-install-crashes-on-meaningless-error/3645 "2022-08-01T01:37:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ntisithoj](https://forums.concretecms.org/user_avatar/forums.concretecms.org/ntisithoj/32/2950_2.png) [@ntisithoj](https://forums.concretecms.org/u/ntisithoj)
#### Post date: [August 1, 2022, 1:37am UTC](https://forums.concretecms.org/t/cli-install-crashes-on-meaningless-error/3645/1 "2022-08-01T01:37:47Z")

</div>

I am installing with the command line. I clone the repo, run compose, make db, fix perms, etc., then execute the following:

```auto
concrete/bin/concrete5 c5:install \
--db-server "127.0.0.1" \
--db-username "blah" \
--db-password "blahblah" \
--db-database "blahblahblah" \
--site "BlahBlah" \
--starting-point "atomik_full" \
--admin-email "blah@blah.com \
--admin-password "bl8h" \
--timezone "America/Argentina/Buenos_Aires" \
--language "en_US" \
--site-locale "en_US"

```

but I get an error…

```auto

22%: Installing permissions & workflow.

In Key.php line 519:
                         
  Undefined array key 1  
                         

c5:install [--env ENV] [--allow-as-root] [--db-server DB-SERVER] [--db-username DB-USERNAME] [--db-password DB-PASSWORD] [--db-database DB-DATABASE] [--timezone TIMEZONE] [--site SITE] [--canonical-url CANONICAL-URL] [--canonical-url-alternative CANONICAL-URL-ALTERNATIVE] [--starting-point STARTING-POINT] [--session-handler SESSION-HANDLER] [--admin-email ADMIN-EMAIL] [--admin-password ADMIN-PASSWORD] [--demo-username DEMO-USERNAME] [--demo-password DEMO-PASSWORD] [--demo-email DEMO-EMAIL] [--language LANGUAGE] [--site-locale SITE-LOCALE] [--config CONFIG] [--attach] [--force-attach] [-i|--interactive] [--ignore-warnings]

```

Key.php appears to be `concrete/src/Permission/Key/Key.php`, and it is crashing on the empty query

```auto
 "select pkID, pkName, pkDescription, pkHandle, pkCategoryHandle, pkCanTriggerWorkflow, pkHasCustomClass, PermissionKeys.pkCategoryID, PermissionKeyCategories.pkgID
from PermissionKeys
inner join PermissionKeyCategories on PermissionKeyCategories.pkCategoryID = PermissionKeys.pkCategoryID"

```

Any ideas or suggestions?

Thank

---

<div class="post-metadata">

### Author: ![EvanCooper](https://forums.concretecms.org/user_avatar/forums.concretecms.org/evancooper/32/4597_2.png) [@EvanCooper](https://forums.concretecms.org/u/EvanCooper)
#### Post date: [August 26, 2022, 10:53pm UTC](https://forums.concretecms.org/t/cli-install-crashes-on-meaningless-error/3645/2 "2022-08-26T22:53:09Z")

</div>

Hi @ [ntisithoj](https://forums.concretecms.org/u/ntisithoj) - can you confirm what PHP version and Concrete version you’re using?

It sounds like you’re potentially using PHP 8 on a Concrete version that doesn’t support it.

---

<div class="post-metadata">

### Author: ![ntisithoj](https://forums.concretecms.org/user_avatar/forums.concretecms.org/ntisithoj/32/2950_2.png) [@ntisithoj](https://forums.concretecms.org/u/ntisithoj)
#### Post date: [August 27, 2022, 4:08pm UTC](https://forums.concretecms.org/t/cli-install-crashes-on-meaningless-error/3645/3 "2022-08-27T16:08:39Z")

</div>

That sounds reasonable. Is there s plan to support PHP8 in the near future? Not a critical issue; just curious. BTW, the site works fine in PHP8. just the CLI install doesn’t work

---

<div class="post-metadata">

### Author: ![EvanCooper](https://forums.concretecms.org/user_avatar/forums.concretecms.org/evancooper/32/4597_2.png) [@EvanCooper](https://forums.concretecms.org/u/EvanCooper)
#### Post date: [September 1, 2022, 7:26pm UTC](https://forums.concretecms.org/t/cli-install-crashes-on-meaningless-error/3645/4 "2022-09-01T19:26:03Z")

</div>

I would imagine so - you might post an issue here and if it’s something that’s been resolved or will be resolved soon, you should get some feedback to that effect: [Issues · concretecms/concretecms · GitHub](https://github.com/concretecms/concretecms/issues)

Thanks!
