Error while installing Snipe IT
-
Checked my .env file all looks good
Still have a look might have missed out on something######################################## # -------------------------------------------- # REQUIRED: BASIC APP SETTINGS # -------------------------------------------- APP_ENV=production APP_DEBUG=false APP_KEY=ChangeMe APP_URL=http://192.168.1.101 APP_TIMEZONE='Asia/Kolkata' APP_LOCALE=en # -------------------------------------------- # REQUIRED: DATABASE SETTINGS # -------------------------------------------- DB_CONNECTION=mysql DB_HOST=localhost DB_DATABASE=snipeit_db DB_USERNAME=snipeit_user DB_PASSWORD=admin123 DB_PREFIX=null DB_DUMP_PATH='/usr/bin' DB_CHARSET=utf8mb4 DB_COLLATION=utf8mb4_unicode_ci # -------------------------------------------- # OPTIONAL: SSL DATABASE SETTINGS # -------------------------------------------- DB_SSL=false DB_SSL_KEY_PATH=null DB_SSL_CERT_PATH=null DB_SSL_CA_PATH=null DB_SSL_CIPHER=null # -------------------------------------------- # REQUIRED: OUTGOING MAIL SERVER SETTINGS # -------------------------------------------- MAIL_DRIVER=smtp MAIL_HOST=email-smtp.us-west-2.amazonaws.com MAIL_PORT=587 MAIL_USERNAME=YOURUSERNAME MAIL_PASSWORD=YOURPASSWORD MAIL_ENCRYPTION=null [email protected] MAIL_FROM_NAME='Snipe-IT' [email protected] MAIL_REPLYTO_NAME='Snipe-IT' # -------------------------------------------- # REQUIRED: IMAGE LIBRARY # This should be gd or imagick # -------------------------------------------- IMAGE_LIB=gd # -------------------------------------------- # OPTIONAL: SESSION SETTINGS # -------------------------------------------- SESSION_LIFETIME=12000 EXPIRE_ON_CLOSE=false ENCRYPT=false COOKIE_NAME=snipeit_session COOKIE_DOMAIN=null SECURE_COOKIES=false # -------------------------------------------- # OPTIONAL: SECURITY HEADER SETTINGS # -------------------------------------------- REFERRER_POLICY=same-origin ENABLE_CSP=false # -------------------------------------------- # OPTIONAL: CACHE SETTINGS # -------------------------------------------- CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync # -------------------------------------------- # OPTIONAL: REDIS SETTINGS # -------------------------------------------- REDIS_HOST=null REDIS_PASSWORD=null REDIS_PORT-null # -------------------------------------------- # OPTIONAL: AWS S3 SETTINGS # -------------------------------------------- AWS_SECRET=null AWS_KEY=null AWS_REGION=null AWS_BUCKET=null # -------------------------------------------- # OPTIONAL: LOGIN THROTTLING # -------------------------------------------- LOGIN_MAX_ATTEMPTS=5 LOGIN_LOCKOUT_DURATION=60 # -------------------------------------------- # OPTIONAL: MISC # -------------------------------------------- APP_LOG=daily APP_LOG_MAX_FILES=10 APP_LOCKED=false FILESYSTEM_DISK=local APP_TRUSTED_PROXIES=192.168.1.1,10.0.0.1 ALLOW_IFRAMING=false APP_CIPHER=AES-256-CBC
-
I don't see anything that looks wrong
-
-
Snipe-IT has a lot of fragility around their install scripts, and not a huge user base so issues are difficult to track down.
-
Read this issue under their Common issues documentation .env looks all good and I did a manual installation did not run the install script
-
@harshmehta said in Error while installing Snipe IT:
Read this issue under their Common issues documentation .env looks all good and I did a manual installation did not run the install script
Yeah, saw that.
-
Yes giving a couple of more tries
lets see -
@scottalanmiller said in Error while installing Snipe IT:
Snipe-IT has a lot of fragility around their install scripts, and not a huge user base so issues are difficult to track down.
I disagree with this.
Their install script has worked everytime I have ever used it.
-
Hi just in case will it be possible for you to share you .env file I can try that
-
@harshmehta said in Error while installing Snipe IT:
Hi just in case will it be possible for you to share you .env file I can try that
I have not ran a new install since 4.0 came out.
I have one planned for a client sometime int he next couple days though. -
I'm testing an install now with the installer script and will update in a minute or two.
-
If you were installing Snipe-IT manually, did you install the dependencies before generating the app key?
https://snipe-it.readme.io/docs/install-dependencies -
Just cloned the repo and recreated my prior updates for Fedora
Installing now.
-
-
Works perfectly.
-
That's great can you please just list me the steps
I will try on a fresh Centos 7 and also please help me with the Php version we should be using -
@harshmehta said in Error while installing Snipe IT:
That's great can you please just list me the steps
I will try on a fresh Centos 7 and also please help me with the Php version we should be usingThere i s nothing to do but follow the instructions.
From a CentOS 7 minimal install, you need to install wget and open the firewall, then run the script as instructed in the SnipeIT documentation.
# Pre install setup yum -y install wget firewall-cmd --zone=public --add-port=http/tcp --permanent firewall-cmd --reload # Official Snipe instructions downlaoding option 3 # https://snipe-it.readme.io/docs/downloading wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
-
@scottalanmiller said in Error while installing Snipe IT:
Snipe-IT has a lot of fragility around their install scripts, and not a huge user base so issues are difficult to track down.
I can personally promise that v4 installs under Debian 8 & 9.1, Ubuntu 14.04.5 & 16.04.3 & 17.04 and CentOS 6 & 7.
If it doesn't ping me.
-
@tiagom said in Error while installing Snipe IT:
@scottalanmiller said in Error while installing Snipe IT:
Snipe-IT has a lot of fragility around their install scripts, and not a huge user base so issues are difficult to track down.
I can personally promise that v4 installs under Debian 8 & 9.1, Ubuntu 14.04.5 & 16.04.3 & 17.04 and CentOS 6 & 7.
If it doesn't ping me.
And on Fedora with my pull request ( that I have to clean up and resubmit).