Code Monkey home page Code Monkey logo

Comments (6)

hardware avatar hardware commented on May 26, 2024 1

Look closely my message.

from docker-flarum.

hardware avatar hardware commented on May 26, 2024

docker-compose 1.8.0 is way too old, please update to the latest version :

curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

from docker-flarum.

frankenstein91 avatar frankenstein91 commented on May 26, 2024

now:
docker-compose version 1.19.0, build 9e633ef

But no change, same problem

from docker-flarum.

hardware avatar hardware commented on May 26, 2024

Can you give me output of :

docker logs -f flarum
docker exec -ti flarum ps aux
docker exec -ti flarum curl -v http://127.0.0.1:8888
docker exec -ti flarum tail /tmp/ngx_error.log
docker exec -ti flarum tail /tmp/php_error.log

from docker-flarum.

frankenstein91 avatar frankenstein91 commented on May 26, 2024

docker logs -f flarum do nothing... i only can cancle it via Ctrl + C

# docker exec -ti flarum tail -f ps aux
tail: can't open 'ps': No such file or directory
tail: can't open 'aux': No such file or directory
tail: no files

# docker exec -ti flarum tail -f curl http://127.0.0.1:8888
tail: can't open 'curl': No such file or directory
tail: can't open 'http://127.0.0.1:8888': No such file or directory
tail: no files
# docker exec -ti flarum tail -f /tmp/ngx_error.log
tail: can't open '/tmp/ngx_error.log': No such file or directory
tail: no files
tail: can't open '/tmp/php_error.log': No such file or directory
tail: no files

The output of the command: docker-compose up

Creating mariadb ... done
Creating flarum ... done
Creating flarum ... 
Attaching to mariadb, flarum
mariadb    | Initializing database
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] /usr/sbin/mysqld (mysqld 10.1.31-MariaDB-1~jessie) starting as process 65 ...
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Using Linux native AIO
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Using SSE crc32 instructions
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Completed initialization of buffer pool
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
mariadb    | 2018-03-11 15:08:05 139937533519808 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
mariadb    | 2018-03-11 15:08:06 139937533519808 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
mariadb    | 2018-03-11 15:08:07 139937533519808 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
mariadb    | 2018-03-11 15:08:07 139937533519808 [Warning] InnoDB: New log files created, LSN=45781
mariadb    | 2018-03-11 15:08:07 139937533519808 [Note] InnoDB: Doublewrite buffer not found: creating new
mariadb    | 2018-03-11 15:08:08 139937533519808 [Note] InnoDB: Doublewrite buffer created
mariadb    | 2018-03-11 15:08:08 139937533519808 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb    | 2018-03-11 15:08:08 139937533519808 [Warning] InnoDB: Creating foreign key constraint system tables.
mariadb    | 2018-03-11 15:08:08 139937533519808 [Note] InnoDB: Foreign key constraint system tables created
mariadb    | 2018-03-11 15:08:08 139937533519808 [Note] InnoDB: Creating tablespace and datafile system tables.
mariadb    | 2018-03-11 15:08:08 139937533519808 [Note] InnoDB: Tablespace and datafile system tables created.
mariadb    | 2018-03-11 15:08:08 139937533519808 [Note] InnoDB: Waiting for purge to start
mariadb    | 2018-03-11 15:08:08 139937533519808 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-83.0 started; log sequence number 0
mariadb    | 2018-03-11 15:08:09 139936707639040 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] /usr/sbin/mysqld (mysqld 10.1.31-MariaDB-1~jessie) starting as process 93 ...
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: Using Linux native AIO
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: Using SSE crc32 instructions
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb    | 2018-03-11 15:08:25 139631979157440 [Note] InnoDB: Completed initialization of buffer pool
mariadb    | 2018-03-11 15:08:26 139631979157440 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb    | 2018-03-11 15:08:26 139631979157440 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb    | 2018-03-11 15:08:26 139631979157440 [Note] InnoDB: Waiting for purge to start
mariadb    | 2018-03-11 15:08:26 139631979157440 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-83.0 started; log sequence number 1616697
mariadb    | 2018-03-11 15:08:26 139631160981248 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] /usr/sbin/mysqld (mysqld 10.1.31-MariaDB-1~jessie) starting as process 122 ...
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Using Linux native AIO
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Using SSE crc32 instructions
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Completed initialization of buffer pool
mariadb    | 2018-03-11 15:08:31 139729899452352 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb    | 2018-03-11 15:08:33 139729899452352 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb    | 2018-03-11 15:08:33 139729899452352 [Note] InnoDB: Waiting for purge to start
mariadb    | 2018-03-11 15:08:33 139729899452352 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-83.0 started; log sequence number 1616707
mariadb    | 2018-03-11 15:08:34 139729081202432 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb    | 
mariadb    | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mariadb    | To do so, start the server, then issue the following commands:
mariadb    | 
mariadb    | '/usr/bin/mysqladmin' -u root password 'new-password'
mariadb    | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
mariadb    | 
mariadb    | Alternatively you can run:
mariadb    | '/usr/bin/mysql_secure_installation'
mariadb    | 
mariadb    | which will also give you the option of removing the test
mariadb    | databases and anonymous user created by default.  This is
mariadb    | strongly recommended for production servers.
mariadb    | 
mariadb    | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
mariadb    | MySQL manual for more instructions.
mariadb    | 
mariadb    | Please report any problems at http://mariadb.org/jira
mariadb    | 
mariadb    | The latest information about MariaDB is available at http://mariadb.org/.
mariadb    | You can find additional information about the MySQL part at:
mariadb    | http://dev.mysql.com
mariadb    | Consider joining MariaDB's strong and vibrant community:
mariadb    | https://mariadb.org/get-involved/
mariadb    | 
mariadb    | Database initialized
mariadb    | MySQL init process in progress...
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] mysqld (mysqld 10.1.31-MariaDB-1~jessie) starting as process 155 ...
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: Using Linux native AIO
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: Using SSE crc32 instructions
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb    | 2018-03-11 15:08:38 140406000547776 [Note] InnoDB: Completed initialization of buffer pool
mariadb    | 2018-03-11 15:08:39 140406000547776 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb    | 2018-03-11 15:08:39 140406000547776 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb    | 2018-03-11 15:08:39 140406000547776 [Note] InnoDB: Waiting for purge to start
mariadb    | 2018-03-11 15:08:39 140406000547776 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-83.0 started; log sequence number 1616717
mariadb    | MySQL init process in progress...
mariadb    | 2018-03-11 15:08:40 140405182035712 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb    | 2018-03-11 15:08:40 140406000547776 [Note] Plugin 'FEEDBACK' is disabled.
mariadb    | MySQL init process in progress...
mariadb    | 2018-03-11 15:08:41 140406000547776 [Warning] 'user' entry 'root@1f1d28ba863e' ignored in --skip-name-resolve mode.
mariadb    | 2018-03-11 15:08:41 140406000547776 [Warning] 'proxies_priv' entry '@% root@1f1d28ba863e' ignored in --skip-name-resolve mode.
mariadb    | 2018-03-11 15:08:41 140406000547776 [Note] mysqld: ready for connections.
mariadb    | Version: '10.1.31-MariaDB-1~jessie'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
mariadb    | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mariadb    | 2018-03-11 15:08:43 140405999680256 [Warning] 'proxies_priv' entry '@% root@1f1d28ba863e' ignored in --skip-name-resolve mode.
mariadb    | 2018-03-11 15:08:43 140405999680256 [Warning] 'proxies_priv' entry '@% root@1f1d28ba863e' ignored in --skip-name-resolve mode.
mariadb    | 
mariadb    | 2018-03-11 15:08:43 140405999377152 [Note] mysqld: Normal shutdown
mariadb    | 2018-03-11 15:08:43 140405999377152 [Note] Event Scheduler: Purging the queue. 0 events
mariadb    | 2018-03-11 15:08:43 140405274306304 [Note] InnoDB: FTS optimize thread exiting.
mariadb    | 2018-03-11 15:08:43 140405999377152 [Note] InnoDB: Starting shutdown...
mariadb    | 2018-03-11 15:08:44 140405999377152 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
mariadb    | 2018-03-11 15:08:46 140405999377152 [Note] InnoDB: Shutdown completed; log sequence number 1616727
mariadb    | 2018-03-11 15:08:46 140405999377152 [Note] mysqld: Shutdown complete
mariadb    | 
mariadb    | 
mariadb    | MySQL init process done. Ready for start up.
mariadb    | 
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] mysqld (mysqld 10.1.31-MariaDB-1~jessie) starting as process 1 ...
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Using Linux native AIO
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Using SSE crc32 instructions
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Initializing buffer pool, size = 256.0M
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Completed initialization of buffer pool
mariadb    | 2018-03-11 15:08:46 139780290070464 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb    | 2018-03-11 15:08:49 139780290070464 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb    | 2018-03-11 15:08:49 139780290070464 [Note] InnoDB: Waiting for purge to start
mariadb    | 2018-03-11 15:08:49 139780290070464 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-83.0 started; log sequence number 1616727
mariadb    | 2018-03-11 15:08:50 139779471570688 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb    | 2018-03-11 15:08:50 139780290070464 [Note] Plugin 'FEEDBACK' is disabled.
mariadb    | 2018-03-11 15:08:50 139780290070464 [Note] Server socket created on IP: '::'.
mariadb    | 2018-03-11 15:08:50 139780290070464 [Warning] 'proxies_priv' entry '@% root@1f1d28ba863e' ignored in --skip-name-resolve mode.
mariadb    | 2018-03-11 15:08:50 139780290070464 [Note] mysqld: ready for connections.
mariadb    | Version: '10.1.31-MariaDB-1~jessie'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution


from docker-flarum.

frankenstein91 avatar frankenstein91 commented on May 26, 2024

did you make a edit? I did copy&paste?

# docker exec -ti flarum ps aux
PID   USER     TIME   COMMAND
    1 991        0:00 /bin/s6-svscan /services
   43 991        0:00 s6-supervise php
   44 991        0:00 s6-supervise nginx
   45 991        0:00 {php-fpm7} php-fpm: master process (/etc/php7/php-fpm.con
   46 991        0:00 nginx: master process nginx
   47 991        0:00 nginx: worker process
   48 991        0:00 nginx: worker process
   49 991        0:00 nginx: worker process
   50 991        0:00 nginx: worker process
   51 991        0:00 nginx: worker process
   52 991        0:00 nginx: worker process
   53 991        0:00 nginx: worker process
   54 991        0:00 nginx: worker process
   55 root       0:00 ps aux
# docker exec -ti flarum curl -v http://127.0.0.1:8888
* Rebuilt URL to: http://127.0.0.1:8888/
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8888 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:8888
> User-Agent: curl/7.58.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Server: nginx
< Date: Sun, 11 Mar 2018 15:27:57 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept-Encoding
< Set-Cookie: flarum_session=rfurf66seh7jt10jr8esck94i4; path=/
< X-CSRF-Token: 8TWxIxjMvJoTqsDbChBwrfN3SiSMF0S20exXiJ3z
< Set-Cookie: flarum_session=rfurf66seh7jt10jr8esck94i4; Path=/; HttpOnly
< 
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Install Flarum</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">

    <style>
      @import url(//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,600);

      body {
        background: #fff;
        margin: 0;
        padding: 0;
        line-height: 1.5;
      }
      body, input, button {
        font-family: 'Open Sans', sans-serif;
        font-size: 16px;
        color: #7E96B3;
      }
      .container {
        max-width: 515px;
        margin: 0 auto;
        padding: 100px 30px;
        text-align: center;
      }
      a {
        color: #e7652e;
        text-decoration: none;
      }
      a:hover {
        text-decoration: underline;
      }

      h1 {
        margin-bottom: 40px;
      }
      h2 {
        font-size: 28px;
        font-weight: normal;
        color: #3C5675;
        margin-bottom: 0;
      }

      form {
        margin-top: 40px;
      }
      .FormGroup {
        margin-bottom: 20px;
      }
      .FormGroup .FormField:first-child input {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
      }
      .FormGroup .FormField:last-child input {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
      }
      .FormField input {
        background: #EDF2F7;
        margin: 0 0 1px;
        border: 2px solid transparent;
        transition: background 0.2s, border-color 0.2s, color 0.2s;
        width: 100%;
        padding: 15px 15px 15px 180px;
        box-sizing: border-box;
      }
      .FormField input:focus {
        border-color: #e7652e;
        background: #fff;
        color: #444;
        outline: none;
      }
      .FormField label {
        float: left;
        width: 160px;
        text-align: right;
        margin-right: -160px;
        position: relative;
        margin-top: 18px;
        font-size: 14px;
        pointer-events: none;
        opacity: 0.7;
      }
      button {
        background: #3C5675;
        color: #fff;
        border: 0;
        font-weight: bold;
        border-radius: 4px;
        cursor: pointer;
        padding: 15px 30px;
        -webkit-appearance: none;
      }
      button[disabled] {
        opacity: 0.5;
      }

      #error {
        background: #D83E3E;
        color: #fff;
        padding: 15px 20px;
        border-radius: 4px;
        margin-bottom: 20px;
      }

      .animated {
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;

        -webkit-animation-duration: 0.5s;
        animation-duration: 0.5s;

        animation-delay: 1.7s;
        -webkit-animation-delay: 1.7s;
      }
      @-webkit-keyframes fadeIn {
        0% {opacity: 0}
        100% {opacity: 1}
      }
      @keyframes fadeIn {
        0% {opacity: 0}
        100% {opacity: 1}
      }
      .fadeIn {
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn;
      }

      .Errors {
        margin-top: 50px;
      }
      .Errors .Error:first-child {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
      }
      .Errors .Error:last-child {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
      }
      .Error {
        background: #EDF2F7;
        margin: 0 0 1px;
        padding: 20px 25px;
        text-align: left;
      }
      .Error-message {
        font-size: 16px;
        color: #3C5675;
        font-weight: normal;
        margin: 0;
      }
      .Error-detail {
        font-size: 13px;
        margin: 5px 0 0;
      }
    </style>
  </head>

  <body>
    <div class="container">
      <h1>
        <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="300px" height="80px" viewBox="0 0 300 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
    <!-- Generator: Sketch 3.3 (11970) - http://www.bohemiancoding.com/sketch -->
    <title>Bottom + Top</title>
    <desc>Created with Sketch.</desc>
    <defs>
        <rect id="path-1" x="32" y="0" width="32" height="76">
            <animate begin="0.5s" dur="0.3s" attributeName="x" values="32;0" fill="freeze"  calcMode="spline" keySplines="0.2 1 0.5 1" keyTimes="0;1" />
        </rect>
        <linearGradient x1="50%" y1="100%" x2="50%" y2="0%" id="linearGradient-3">
            <stop stop-color="#E7762E" offset="0%">
                <animate begin="0.8s" dur="0.3s" attributeName="stop-color" values="#E7762E;#D22929" fill="freeze" />
            </stop>
            <stop stop-color="#E7562E" offset="100%">
                <animate begin="0.8s" dur="0.3s" attributeName="stop-color" values="#E7562E;#B71717" fill="freeze" />
            </stop>
        </linearGradient>
        <rect id="path-4" x="0" y="-10" width="0" height="76">
            <animate begin="0.8s" dur="0.5s" attributeName="width" values="0;56" fill="freeze"  calcMode="spline" keySplines="0.2 1 0.5 1" keyTimes="0;1" />
        </rect>
        <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-6">
            <stop stop-color="#E7762E" offset="0%"></stop>
            <stop stop-color="#E7562E" offset="100%"></stop>
        </linearGradient>
    </defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
        <g id="Bottom-+-Top" sketch:type="MSLayerGroup">
            <g id="Bottom" transform="translate(0.000000, 7.000000)">
                <mask id="mask-2" sketch:name="Mask" fill="white">
                    <use xlink:href="#path-1"></use>
                </mask>
                <use id="Mask" opacity="0" fill="#D8D8D8" sketch:type="MSShapeGroup" xlink:href="#path-1"></use>
                <path d="M0.0145378441,47.0458273 L0.000987815598,5.99282032 C0.000442260108,4.3399313 1.13889694,3.71181059 2.53773397,4.58608373 L32,23 L32,69 L4.39928747,52.2490987 C0.574247043,50.1665474 0.0199042738,48.873991 0.0145378441,47.0458273 Z" fill="url(#linearGradient-3)" sketch:type="MSShapeGroup" mask="url(#mask-2)">
                    <animate begin="0.5s" dur="0.3s" attributeName="d" values="M0.0145378441,47.0458273 L0.000987815598,5.99282032 C0.000442260108,4.3399313 1.13889694,3.71181059 2.53773397,4.58608373 L32,0 L32,46 L4.39928747,52.2490987 C0.574247043,50.1665474 0.0199042738,48.873991 0.0145378441,47.0458273 Z;
                        M0.0145378441,47.0458273 L0.000987815598,5.99282032 C0.000442260108,4.3399313 1.13889694,3.71181059 2.53773397,4.58608373 L32,23 L32,69 L4.39928747,52.2490987 C0.574247043,50.1665474 0.0199042738,48.873991 0.0145378441,47.0458273 Z" fill="freeze"  calcMode="spline" keySplines="0.2 1 0.8 1" keyTimes="0;1" />
                </path>
                <animate begin="0.5s" dur="0.3s" attributeName="opacity" values="0;1" fill="freeze" />
                <animateTransform begin="0.5s" attributeName="transform" type="translate" dur="0.3s" from="0 12" to="0 7" fill="freeze" calcMode="spline" keySplines="0.2 0.5 0.3 1" keyTimes="0;1" />
            </g>
            <g id="Top" transform="translate(0.000000, 10.000000)">
                <mask id="mask-5" sketch:name="Mask" fill="white">
                    <use xlink:href="#path-4"></use>
                </mask>
                <use id="Mask" opacity="0" fill="#D8D8D8" sketch:type="MSShapeGroup" xlink:href="#path-4"></use>
                <path d="M3.00269837,1.27897692e-13 C1.34435385,1.27897692e-13 -4.39794873e-15,1.34085738 -1.03476577e-15,3.0069809 L8.17124146e-14,44 C0.0832958827,45.4090137 0.0117058737,46.8780591 4.48557525,49.2828738 C4.48557525,49.2828738 0.101798528,45.0234689 7,45 L56,45 L56,1.27897692e-13 L3.00269837,1.27897692e-13 Z" fill="url(#linearGradient-6)" sketch:type="MSShapeGroup" mask="url(#mask-5)">
                    <animate begin="0.8s" dur="0.5s" attributeName="d" values="M3.00269837,1.27897692e-13 C1.34435385,1.27897692e-13 -4.39794873e-15,1.34085738 -1.03476577e-15,3.0069809 L8.17124146e-14,44 C0.0832958827,45.4090137 0.0117058737,46.8780591 4.48557525,49.2828738 C4.48557525,49.2828738 0.101798528,45.0234689 7,45 L51,25 L51,-20 L3.00269837,1.27897692e-13 Z;
                        M3.00269837,1.27897692e-13 C1.34435385,1.27897692e-13 -4.39794873e-15,1.34085738 -1.03476577e-15,3.0069809 L8.17124146e-14,44 C0.0832958827,45.4090137 0.0117058737,46.8780591 4.48557525,49.2828738 C4.48557525,49.2828738 0.101798528,45.0234689 7,45 L56,45 L56,1.27897692e-13 L3.00269837,1.27897692e-13 Z" fill="freeze"  calcMode="spline" keySplines="0.2 1 0.8 1" keyTimes="0;1" />
                </path>
            </g>
            <g transform="translate(20, 7)">
                <path d="M61,15 L61,29 L76,29 L76,42 L61,42 L61,69 L49,69 L49,3 L78,3 L78,15 L61,15 Z M82,69 L82,3 L94,3 L94,57 L111,57 L111,69 L82,69 Z M138,56 L129,56 L127,69 L114,69 L126,3 L141,3 L153,69 L140,69 L138,56 Z M132,33 L131,44 L137,44 L136,33 L134,20 L132,33 Z M172,3 C174.651923,3 177.052072,3.33189323 179,4 C181.427094,4.65948608 183.310756,5.76579685 185,7 C186.470494,8.86351349 187.70095,10.8864818 189,13 C189.463112,15.8807596 189.903646,18.9310165 190,23 C189.903646,27.0230109 189.326395,30.6896409 188,34 C187.017355,36.3793246 185.25522,38.6551639 183,40 L192,69 L179,69 L172,43 L169,43 L169,69 L157,69 L157,3 L172,3 Z M169,15 L169,31 L171,31 C171.936847,31 172.821049,30.88618 174,31 C174.463162,30.4308932 175.20526,29.9918732 176,29 C176.531582,28.6910537 177.05263,27.8292737 177,27 C177.810528,25.6829215 178,24.2683015 178,23 C178,19.9105561 177.384217,18.0081361 176,17 C174.921046,15.60162 173.326326,15 171,15 L169,15 Z M226,3 L226,53 C226,58.9130101 224.647901,63.1502478 222,66 C219.239423,68.630066 215.243219,70 210,70 C199.318257,70 194,64.3928283 194,53 L194,3 L206,3 L206,53 C206.259155,54.9943015 206.619715,56.0615757 207,57 C208.061975,57.2722332 208.933328,57.574893 210,58 C210.976531,57.574893 211.83286,57.2722332 213,57 C213.215027,56.0615757 213.560563,54.9943015 214,53 L214,3 L226,3 Z M250,56 L248,48 L245,38 L244,38 L244,69 L232,69 L232,3 L244,3 L250,21 L254,34 L255,34 L259,20 L265,3 L277,3 L277,69 L265,69 L265,38 L264,38 L261,48 L259,56 L250,56 Z" id="FLARUM" fill="url(#linearGradient-6)" sketch:type="MSShapeGroup" opacity="0">
                    <animate begin="1.2s" dur="0.2s" attributeType="CSS" attributeName="opacity" from="0" to="1" fill="freeze" />
                    <!-- <animateTransform begin="1.2s" attributeName="transform" type="translate" dur="0.5s" from="-2 0" to="0 0" fill="freeze" calcMode="spline" keySplines="0.2 0.5 0.3 1" keyTimes="0;1" /> -->
                </path>
            </g>
        </g>
    </g>
</svg>
      </h1>

      <div class="animated fadeIn">
        <h2>Install Flarum</h2>

<p>Set up your forum by filling out your details below. If you have any trouble, get help on the <a href="http://flarum.org/docs/installation" target="_blank">Flarum website</a>.</p>

<form method="post">
  <div id="error" style="display:none"></div>

  <div class="FormGroup">
    <div class="FormField">
      <label>Forum Title</label>
      <input name="forumTitle">
    </div>
  </div>

  <div class="FormGroup">
    <div class="FormField">
      <label>MySQL Host</label>
      <input name="mysqlHost" value="localhost">
    </div>

    <div class="FormField">
      <label>MySQL Database</label>
      <input name="mysqlDatabase">
    </div>

    <div class="FormField">
      <label>MySQL Username</label>
      <input name="mysqlUsername">
    </div>

    <div class="FormField">
      <label>MySQL Password</label>
      <input type="password" name="mysqlPassword">
    </div>

    <div class="FormField">
      <label>Table Prefix</label>
      <input type="text" name="tablePrefix">
    </div>
  </div>

  <div class="FormGroup">
    <div class="FormField">
      <label>Admin Username</label>
      <input name="adminUsername">
    </div>

    <div class="FormField">
      <label>Admin Email</label>
      <input name="adminEmail">
    </div>

    <div class="FormField">
      <label>Admin Password</label>
      <input type="password" name="adminPassword">
    </div>

    <div class="FormField">
      <label>Confirm Password</label>
      <input type="password" name="adminPasswordConfirmation">
    </div>
  </div>

  <div class="FormButtons">
    <button type="submit">Install Flarum</button>
  </div>
</form>

<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script>
$(function() {
  $('form :input:first').select();

  $('form').on('submit', function(e) {
    e.preventDefault();

    var $button = $(this).find('button')
      .text('Please Wait...')
      .prop('disabled', true);

    $.post('', $(this).serialize())
      .done(function() {
        window.location.reload();
      })
      .fail(function(data) {
        $('#error').show().text('Something went wrong:\n\n' + data.responseText);

        $button.prop('disabled', false).text('Install Flarum');
      });

    return false;
  });
});
</script>
      </div>
    </div>
  </body>
</html>
* Connection #0 to host 127.0.0.1 left intact
# docker exec -ti flarum tail /tmp/php_error.log
[11-Mar-2018 15:24:33] NOTICE: fpm is running, pid 45
[11-Mar-2018 15:24:33] NOTICE: ready to handle connections
# docker logs -f flarum
[INFO] First launch, you must install flarum by opening your browser and setting database parameters.

It works now

from docker-flarum.

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.