Code Monkey home page Code Monkey logo

Comments (4)

juzaweb avatar juzaweb commented on May 23, 2024

To use the install command, you need to configure the database in the .env file before running it. Please delete the file storage/app/installed (if exists) and try again

from cms.

b1fly avatar b1fly commented on May 23, 2024

I switched to the apache service, executed the php artisan juzacms:install command in ssh, and an error occurred, and then an error occurred when I accessed the web page. The storage/app/installed file does not exist, there are only the public folder and the .gitignore file under the APP directory

UnexpectedValueException:
The stream or file "/www/wwwroot/website.com/storage/logs/laravel-2022-07-09.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/www/wwwroot/website.com/storage/logs/laravel-2022-07-09.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The /www/wwwroot/website.com/bootstrap/cache directory must be present and writable.
Context: {"exception":{}}
Context: {"exception":{}}

  at /www/wwwroot/website.com/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:146
  at Monolog\Handler\StreamHandler->write()
     (/www/wwwroot/website.com/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:125)
  at Monolog\Handler\RotatingFileHandler->write()
     (/www/wwwroot/website.com/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48)
  at Monolog\Handler\AbstractProcessingHandler->handle()
     (/www/wwwroot/website.com/vendor/monolog/monolog/src/Monolog/Logger.php:342)
  at Monolog\Logger->addRecord()
     (/www/wwwroot/website.com/vendor/monolog/monolog/src/Monolog/Logger.php:583)
  at Monolog\Logger->error()
     (/www/wwwroot/website.com/vendor/laravel/framework/src/Illuminate/Log/Logger.php:183)
  at Illuminate\Log\Logger->writeLog()
     (/www/wwwroot/website.com/vendor/laravel/framework/src/Illuminate/Log/Logger.php:155)
  at Illuminate\Log\Logger->log()
     (/www/wwwroot/website.com/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:702)
  at Illuminate\Log\LogManager->log()
     (/www/wwwroot/website.com/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:274)
  at Illuminate\Foundation\Exceptions\Handler->report()
     (/www/wwwroot/website.com/modules/CMS/Exceptions/Handler.php:55)
  at Juzaweb\CMS\Exceptions\Handler->report()
     (/www/wwwroot/website.com/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:189)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
     (/www/wwwroot/website.com/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()

image

from cms.

b1fly avatar b1fly commented on May 23, 2024

And there are some tables imported into the database. Don't understand where the problem is.

image

from cms.

juzaweb avatar juzaweb commented on May 23, 2024

Give read and write permissions to your /www/wwwroot/website.com/storage folder and enable symlinks

from cms.

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.