• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

CLI "Permission Denied" initializing Tenants

Version
4.4.0
Website URL
https://camp-pix.com
PHP version
8.2.29
Database driver
MySQL
Database version
8.0.44-Oubuntu0.22.04.1
Web browser
chrome

SteveSlusser

Chevereto Member
Pro
Attention: No official support is provided at Community Help, this is for users helping each other. If you want official support go to chevereto.com/support

root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html# app/bin/tenants -C help
-bash: app/bin/tenants: Permission denied

I tried -C init and got this same response.

So... What step did I miss?

Steve
 
File is executable. app/bin/tenants - C help
- provides the command list as expected - so it is now executable

root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html# app/bin/tenants -C init
Tenants system is not enabled (CHEVERETO_ENABLE_TENANTS != 1)

root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html#
root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html# CHEVERETO_ENABLE_TENANTS=1
root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html# CHEVERETO_ENCRYPTION_KEY=P3S+EU/DoxDvSrC2Raq9776+N3QShkf9Dp6YKEyUbes=
root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html# CHEVERETO_PROVIDER_NAME=digitalocean
root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html# CHEVERETO_PROVIDER_URL=https://camp-pix.com

root@ubuntu-s-1vcpu-1gb-nyc3-01:/var/www/html# app/bin/tenants -C init
Tenants system is not enabled (CHEVERETO_ENABLE_TENANTS != 1)

Steve
 
You are setting a session variable, on the command line. You need a system level env, like at app/env.php or at Docker compose file or at container run options.
 
Back
Top