ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. harshmehta
    H
    • Profile
    • Following 1
    • Followers 1
    • Topics 3
    • Posts 11
    • Groups 0

    harshmehta

    @harshmehta

    1
    Reputation
    432
    Profile views
    11
    Posts
    1
    Followers
    1
    Following
    Joined
    Last Online

    harshmehta Unfollow Follow

    Best posts made by harshmehta

    • RE: Error while installing Snipe IT

      @jaredbusch

      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

      posted in IT Discussion
      H
      harshmehta

    Latest posts made by harshmehta

    • Error generating Certificate with Lets Encrypt

      Hi All,

      When I am trying to generate a certificate for my fqdn domain name I am unable to do so , looks like a bug to me but not really sure

      Any help on this would be really great

      Please find below the error for same

      Waiting for verification...
      Cleaning up challenges
      Failed authorization procedure. gitlab.binex.cc (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://gitlab.binex.cc/.well-known/acme-challenge/xZk9yy56AiTn1bmyTC4GZZW0GAja5qiKwqem4ejVbjQ: Timeout during connect (likely firewall problem)

      IMPORTANT NOTES:

      • The following errors were reported by the server:

        Domain: gitlab.binex.cc
        Type: connection
        Detail: Fetching
        http://gitlab.binex.cc/.well-known/acme-challenge/xZk9yy56AiTn1bmyTC4GZZW0GAja5qiKwqem4ejVbjQ:
        Timeout during connect (likely firewall problem)

        To fix these errors, please make sure that your domain name was
        entered correctly and the DNS A/AAAA record(s) for that domain
        contain(s) the right IP address. Additionally, please check that
        your computer has a publicly routable IP address and that no
        firewalls are preventing the server from communicating with the
        client. If you're using the webroot plugin, you should also verify
        that you are serving files from the webroot path you provided.
        root@gitlab:/var/opt/gitlab/nginx/www/.well-known/acme-challenge#

      posted in IT Discussion
      H
      harshmehta
    • RE: Error while installing Snipe IT

      @jaredbusch

      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

      posted in IT Discussion
      H
      harshmehta
    • RE: Error while installing Snipe IT

      @jaredbusch

      Hi just in case will it be possible for you to share you .env file I can try that

      posted in IT Discussion
      H
      harshmehta
    • RE: Error while installing Snipe IT

      @scottalanmiller

      Yes giving a couple of more tries
      lets see

      posted in IT Discussion
      H
      harshmehta
    • RE: Error while installing Snipe IT

      @scottalanmiller

      Read this issue under their Common issues documentation .env looks all good and I did a manual installation did not run the install script

      posted in IT Discussion
      H
      harshmehta
    • RE: Error while installing Snipe IT

      @scottalanmiller

      😞

      posted in IT Discussion
      H
      harshmehta
    • RE: Error while installing Snipe IT

      @scottalanmiller

      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
      
      posted in IT Discussion
      H
      harshmehta
    • Error while installing Snipe IT

      artisan key generate gives error

      [root@localhost snipe-it]# cat /etc/redhat-release
      CentOS Linux release 7.4.1708 (Core)
      [root@localhost snipe-it]#

      [root@localhost snipe-it]# uname -a
      Linux localhost.localdomain 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

      [root@localhost snipe-it]# php -v
      PHP 7.0.24 (cli) (built: Sep 30 2017 10:10:28) ( NTS )
      Copyright (c) 1997-2017 The PHP Group
      Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
      with Zend OPcache v7.0.24, Copyright (c) 1999-2017, by Zend Technologies
      [root@localhost snipe-it]#

      Please find below the error

      [root@localhost snipe-it]# php artisan key:generate
      PHP Fatal error: Uncaught Error: Class 'Log' not found in /var/www/new/snipe-it/app/Exceptions/Handler.php:39
      Stack trace:
      #0 /var/www/new/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(320): App\Exceptions\Handler->report(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
      #1 /var/www/new/snipe-it/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(132): Illuminate\Foundation\Console\Kernel->reportException(Object(Symfony\Component\Debug\Exception\FatalThrowableError))
      #2 /var/www/new/snipe-it/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #3 {main}
      thrown in /var/www/new/snipe-it/app/Exceptions/Handler.php on line 39
      [root@localhost snipe-it]#

      Please help

      posted in IT Discussion snipe-it
      H
      harshmehta
    • RE: Infected Windows Laptop

      @dbeato Cool let me try that thanks 🙂

      posted in IT Discussion
      H
      harshmehta
    • RE: Infected Windows Laptop

      @scottalanmiller exactly the behaviour is different will go with any paid anti virus with the new installation

      posted in IT Discussion
      H
      harshmehta