Giter VIP home page Giter VIP logo

Comments (3)

ziishaned avatar ziishaned commented on August 15, 2024

@SalahAdDin You need to enable ext-zip php extension in your php.ini file.

from opus.

SalahAdDin avatar SalahAdDin commented on August 15, 2024

Yes, i did it, it solve, but i have a new problem:

Step 13/15 : RUN php artisan migrate
 ---> Running in 2c6d7789faae
**************************************
*     Application In Production!     *
**************************************

Command Cancelled!
 ---> 60dee6200062
Removing intermediate container 2c6d7789faae
Step 14/15 : RUN php artisan key:generate
 ---> Running in e213da367195

                                                                               
  [ErrorException]                                                             
  file_get_contents(/var/www/html/~/opus/.env): failed to open stream: No suc  
  h file or directory 

I added the three final commands:

RUN php artisan migrate
RUN php artisan key:generate
RUN php artisan db:seed

What happen here?

from opus.

SalahAdDin avatar SalahAdDin commented on August 15, 2024

Ok, i change the file and i get this error now:

 ---> Running in 865b1d47f86c

                                                                               
  [Illuminate\Database\QueryException]                                         
  SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name o  
  r service not known (SQL: select * from information_schema.tables where tab  
  le_schema = opus and table_name = migrations)                                
                                                                               

                                                                               
  [Doctrine\DBAL\Driver\PDOException]                                          
  SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name o  
  r service not known                                                          
                                                                               

                                                                               
  [PDOException]                                                               
  SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name o  
  r service not known                                                          
                                                                               

                                                                               
  [PDOException]                                                               
  PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or s  
  ervice not known

The change was this:

WORKDIR /var/www/html/
RUN git clone -q https://github.com/zeeshanu/opus.git opus
WORKDIR opus
ADD conf/.env .env

from opus.

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.