Coder Social home page Coder Social logo

Comments (14)

poppabear8883 avatar poppabear8883 commented on August 16, 2024 2

The issue is this MAIL_FROM_NAME=My Test

(Note the space after My)

This is in-fact an issue with the installer and should be fixed.

Related issue #5

I am marking this as a critical bug and will commit a fix asap.

I'm also noticing you don't have a APP_KEY ?

from unit3d-installer.

poppabear8883 avatar poppabear8883 commented on August 16, 2024

interesting, can you post the .env file here ?

BE SURE TO USE *'s TO REMOVE SENSITIVE DATA

from unit3d-installer.

JohnyBeGood avatar JohnyBeGood commented on August 16, 2024

Sure. Please advise where that file is located?

from unit3d-installer.

poppabear8883 avatar poppabear8883 commented on August 16, 2024

it is in your project root which is likely /var/www/html

from unit3d-installer.

JohnyBeGood avatar JohnyBeGood commented on August 16, 2024

Got it. Here we go:

APP_ENV=prod
APP_KEY=
APP_DEBUG=false
APP_URL=http://bt.tld.com

LOG_CHANNEL=daily

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=**********
DB_DATABASE=unit3d
DB_USERNAME=myusername
DB_PASSWORD=**********

BROADCAST_DRIVER=redis
CACHE_DRIVER=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=120
QUEUE_DRIVER=database

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
REDIS_DEFAULT_DB=0
REDIS_SESSION_DB=1

MAIL_DRIVER=smtp
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=myusername
MAIL_PASSWORD=**********
MAIL_ENCRYPTION=TLS
MAIL_FROM_NAME=My Test
MAIL_FROM_ADDRESS=mysystemuser

DEFAULT_OWNER_NAME=myusername
[email protected]
DEFAULT_OWNER_PASSWORD=**********

TMDB_API_KEY=45478
OMDB_API_KEY=43434

from unit3d-installer.

JohnyBeGood avatar JohnyBeGood commented on August 16, 2024

How will I know when its fixed and how can I update it?

No, I did not enter real APP_KEY because I just wanted to install.

from unit3d-installer.

poppabear8883 avatar poppabear8883 commented on August 16, 2024

This issue will be closed when its been fixed.

You can manually edit the file and just remove the space from MAIL_FROM_NAME=My Test

Like this MAIL_FROM_NAME=MyTest

And you will want to make sure you have a APP_KEY

You can generate one by running this command cd /var/www/html && php artisan key:generate

Taking care of those things should fix your issues in regards to the .env file.

from unit3d-installer.

JohnyBeGood avatar JohnyBeGood commented on August 16, 2024

Got it.

Lets say if I wanted to wait for the fix what command would I use to pull new updated files,
would I just clone GitHub Repository using this command git clone https://github.com/ServNX/UNIT3D-INSTALLER.git ?

For some reason it does not want to generate?

user@bt:/var/www/html$ sudo cd /var/www/html && php artisan key:generate
[sudo] password for user:
sudo: cd: command not found
user@bt:/var/www/html$ cd /var/www/html
user@bt:/var/www/html$ ls
app                 composer.json      _config.yml        laravel-echo-server.json  package-lock.json  resources   todo.php
artisan             composer.lock      CONTRIBUTING.md    LICENSE                   phpunit.xml        routes      vendor
bootstrap           composer-setup.sh  database           node_modules              public             server.php  webpack.mix.js
CODE_OF_CONDUCT.md  config             ISSUE_TEMPLATE.md  package.json              README.md          storage
user@bt:/var/www/html$ php artisan key:generate
Could not open input file: artisan
user@bt:/var/www/html$

from unit3d-installer.

poppabear8883 avatar poppabear8883 commented on August 16, 2024

Yes you can re-clone the repository
OR
Just go into the repository you have already cloned and run git pull origin master

As per your other issue cd /var/www/html && sudo php artisan key:generate

from unit3d-installer.

JohnyBeGood avatar JohnyBeGood commented on August 16, 2024

Got it.

With that command I was able to generate APP_KEY

So I've made changes and renamed it to MAIL_FROM_NAME=MyTest but now when I try to open bt.mydomain.com it redirects to bt.mydomain.com/login
and displayes standard browser error

This page isn’t working
bt.tld.com is currently unable to handle this request.
HTTP ERROR 500

from unit3d-installer.

poppabear8883 avatar poppabear8883 commented on August 16, 2024

Your new issue is unrelated to this issue. Please visit the discord server and seek general support in the #support channel.

from unit3d-installer.

JohnyBeGood avatar JohnyBeGood commented on August 16, 2024

Ok, what's the discord server address? Can't find it anywhere.

from unit3d-installer.

poppabear8883 avatar poppabear8883 commented on August 16, 2024

https://discord.gg/Yk4NBUU

from unit3d-installer.

JohnyBeGood avatar JohnyBeGood commented on August 16, 2024

Thanks!

from unit3d-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.