Giter Site home page Giter Site logo

dokku / heroku-buildpack-nginx Goto Github PK

View Code? Open in Web Editor NEW
106.0 5.0 78.0 117 KB

Buildpack for static websites on Dokku (nginx)

Home Page: https://florianheinemann.com/github/dokku/2014/11/17/Hosting-static-pages-on-Dokku.html

License: Creative Commons Zero v1.0 Universal

Shell 80.88% Makefile 6.09% HTML 13.03%

heroku-buildpack-nginx's People

Contributors

890f2151c2be69c51db72017546d00fd avatar antoine-duchenet avatar crispy1975 avatar dearlordylord avatar dennmart avatar fc-anjos avatar florianheinemann avatar iliyat avatar j15e avatar joeyates avatar jonbjornn avatar josegonzalez avatar justintemps avatar kmattimo avatar larose avatar leonardowf avatar michaelshobbs avatar mjonuschat avatar nreilly avatar oldhammade avatar pablobm avatar pawurb avatar piranha avatar portokallidis avatar riscie avatar shovon avatar thomasyip avatar vieditcom avatar vkurup avatar zachahn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

heroku-buildpack-nginx's Issues

Unable to deploy with custom config

I have successfully configured my static site to serve a simple index.html file by adding a .static file on the root. However, I want to customise it further by adding in an error_page 404. Adapting it from an existing nginx.conf I had from another instance, I came up with this:

app-nginx.conf.sigil content:

daemon off;
pid nginx.pid;
error_log stderr;
worker_processes 1;

events {
	worker_connections 768;
}

http {
	include mime.types;
	default_type application/octet-stream;
	access_log /dev/stdout;
	types_hash_max_size 2048;
	server {
		listen {{ $.PORT }};
		server_name  _;
		error_page 404 /404.html;
		{{ if ne $.NGINX_ROOT "" }}
			root /app/www/{{ $.NGINX_ROOT }};
		{{ else }}
			root /app/www;
		{{ end }}
		index index.html;
		port_in_redirect off;

		location / {
			try_files $uri $uri/ /index.html;
		}
	}
}

However, deploys fail during the checks stage (I have no checks file) with these in the logs:

Logs content:

2018-01-11T10:56:28.582231410Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:56:29.732266571Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:56:31.981551426Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:56:33.955439778Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:56:35.893227034Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:56:38.638649235Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:56:42.768825528Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:56:51.509072838Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)
2018-01-11T10:57:06.710213971Z app[web.1]: nginx: [emerg] open() "/dev/stdout" failed (13: Permission denied)

Build static files and then serve on deploy

I'm trying to deploy a gatsbyjs app to Digital Ocean via Dokku along the lines suggested by @josegonzalez in #28.

My .buildpack looks like this:

https://github.com/heroku/heroku-buildpack-nodejs
https://github.com/dokku/buildpack-nginx

I can see in the application logs that the files are successfully being built. However the site itself throws a 500 error.

I can see the requests coming in via dokku nginx:access-logs myapp but there are no error messages for those requests dokku nginx:error-logs myapp.

Think I'm doing everything else right. I have an (empty) .static file in my root directory and an ENV variable for NGINX_ROOT set to public/ which is where my static assets are located.

Btw, thanks to all the maintainers for their work on dokku. It's an awesome product--I use it all the time.

Unable to deploy

Delta compression using up to 8 threads.
Compressing objects: 100% (38/38), done.
Writing objects: 100% (41/41), 9.48 KiB | 0 bytes/s, done.
Total 41 (delta 11), reused 0 (delta 0)
remote: -----> Cleaning up...
remote: -----> Building home from herokuish...
remote: -----> Adding BUILD_ENV to build environment...
remote:        -----> Fetching custom buildpack
remote:        -----> .static app detected
remote: -----> copy static files to www
remote: -----> download and unzip pcre
remote:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
remote:                                  Dload  Upload   Total   Spent    Left  Speed
remote: 100   327  100   327    0     0    812      0 --:--:-- --:--:-- --:--:--   813
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: -----> download and unzip zlib
remote:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
remote:                                  Dload  Upload   Total   Spent    Left  Speed
remote: 100   335  100   335    0     0   2014      0 --:--:-- --:--:-- --:--:--  2018
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: -----> compile static nginx
remote:        checking for OS
remote:        + Linux 4.4.0-59-generic x86_64
remote:        checking for C compiler ... found
remote:        + using GNU C compiler
remote:        + gcc version: 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
remote:        checking for gcc -pipe switch ... found
remote:        checking for --with-ld-opt="-static" ... found
remote:        checking for gcc builtin atomic operations ... found
remote:        checking for C99 variadic macros ... found
remote:        checking for gcc variadic macros ... found
remote:        checking for unistd.h ... found
remote:        checking for inttypes.h ... found
remote:        checking for limits.h ... found
remote:        checking for sys/filio.h ... not found
remote:        checking for sys/param.h ... found
remote:        checking for sys/mount.h ... found
remote:        checking for sys/statvfs.h ... found
remote:        checking for crypt.h ... found
remote:        checking for Linux specific features
remote:        checking for epoll ... found
remote:        checking for EPOLLRDHUP ... found
remote:        checking for O_PATH ... found
remote:        checking for sendfile() ... found
remote:        checking for sendfile64() ... found
remote:        checking for sys/prctl.h ... found
remote:        checking for prctl(PR_SET_DUMPABLE) ... found
remote:        checking for sched_setaffinity() ... found
remote:        checking for crypt_r() ... found
remote:        checking for sys/vfs.h ... found
remote:        checking for nobody group ... not found
remote:        checking for nogroup group ... found
remote:        checking for poll() ... found
remote:        checking for /dev/poll ... not found
remote:        checking for kqueue ... not found
remote:        checking for crypt() ... not found
remote:        checking for crypt() in libcrypt ... found
remote:        checking for F_READAHEAD ... not found
remote:        checking for posix_fadvise() ... found
remote:        checking for O_DIRECT ... found
remote:        checking for F_NOCACHE ... not found
remote:        checking for directio() ... not found
remote:        checking for statfs() ... found
remote:        checking for statvfs() ... found
remote:        checking for dlopen() ... not found
remote:        checking for dlopen() in libdl ... found
remote:        checking for sched_yield() ... found
remote:        checking for SO_SETFIB ... not found
remote:        checking for SO_ACCEPTFILTER ... not found
remote:        checking for TCP_DEFER_ACCEPT ... found
remote:        checking for TCP_KEEPIDLE ... found
remote:        checking for TCP_FASTOPEN ... found
remote:        checking for TCP_INFO ... found
remote:        checking for accept4() ... found
remote:        checking for kqueue AIO support ... not found
remote:        checking for Linux AIO support ... found
remote:        checking for int size ... 4 bytes
remote:        checking for long size ... 8 bytes
remote:        checking for long long size ... 8 bytes
remote:        checking for void * size ... 8 bytes
remote:        checking for uint64_t ... found
remote:        checking for sig_atomic_t ... found
remote:        checking for sig_atomic_t size ... 4 bytes
remote:        checking for socklen_t ... found
remote:        checking for in_addr_t ... found
remote:        checking for in_port_t ... found
remote:        checking for rlim_t ... found
remote:        checking for uintptr_t ... uintptr_t found
remote:        checking for system byte ordering ... little endian
remote:        checking for size_t size ... 8 bytes
remote:        checking for off_t size ... 8 bytes
remote:        checking for time_t size ... 8 bytes
remote:        checking for setproctitle() ... not found
remote:        checking for pread() ... found
remote:        checking for pwrite() ... found
remote:        checking for sys_nerr ... found
remote:        checking for localtime_r() ... found
remote:        checking for posix_memalign() ... found
remote:        checking for memalign() ... found
remote:        checking for mmap(MAP_ANON|MAP_SHARED) ... found
remote:        checking for mmap("/dev/zero", MAP_SHARED) ... found
remote:        checking for System V shared memory ... found
remote:        checking for POSIX semaphores ... not found
remote:        checking for POSIX semaphores in libpthread ... found
remote:        checking for struct msghdr.msg_control ... found
remote:        checking for ioctl(FIONBIO) ... found
remote:        checking for struct tm.tm_gmtoff ... found
remote:        checking for struct dirent.d_namlen ... not found
remote:        checking for struct dirent.d_type ... found
remote:        checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
remote:        checking for openat(), fstatat() ... found
remote:        checking for getaddrinfo() ... found
remote:        checking for md5 in system md library ... not found
remote:        checking for md5 in system md5 library ... not found
remote:        checking for md5 in system OpenSSL crypto library ... found
remote:        creating objs/Makefile
remote:
remote:        Configuration summary
remote:        + using PCRE library: ../pcre-8.38
remote:        + OpenSSL library is not used
remote:        + md5: using system crypto library
remote:        + sha1 library is not used
remote:        + using zlib library: ../zlib-1.2.10
remote:
remote:        nginx path prefix: "/tmp/build/nginx"
remote:        nginx binary file: "/tmp/build/nginx/."
remote:        nginx configuration prefix: "/tmp/build/nginx/."
remote:        nginx configuration file: "/tmp/build/nginx/./nginx.conf"
remote:        nginx pid file: "/tmp/build/nginx/./nginx.pid"
remote:        nginx error log file: "/tmp/build/nginx/logs/error.log"
remote:        nginx http access log file: "/tmp/build/nginx/logs/access.log"
remote:        nginx http client request body temporary files: "client_body_temp"
remote:
remote:        make -f objs/Makefile
remote:        make[1]: Entering directory `/cache/nginx-1.8.1'
remote:        cd ../pcre-8.38  && if [ -f Makefile ]; then make distclean; fi  && CC="cc" CFLAGS="-O2 -fomit-frame-pointer -pipe "        ./configure --disable-shared
remote: /bin/sh: 1: cd: can't cd to ../pcre-8.38
remote: make[1]: *** [../pcre-8.38/Makefile] Error 2
remote: make: *** [build] Error 2
remote:        make[1]: Leaving directory `/cache/nginx-1.8.1'
remote: cp: cannot stat '/tmp/build/nginx/*': No such file or directory```

confusing documentation regarding APP_NAME

The README says:

Add an empty file called .static to your root directory of your web project (regardless if you use a custom value for NGINX_ROOT)

Where $APP_NAME is your application's name.

The second sentence doesn't seem to make much sense. What APP_NAME? Where does it go? Am I missing something? :)

The latest v16 release broke static projects using history routing

After a couple of days of searching for the problem, I figured out why my static projects using Vue-Router start showing 404 after deploy. The reason is in the latest v16 release using try_files $uri $uri/ =404; instead of try_files $uri $uri//index.html;

Overriding the app-nginx.conf.sigil file with try_files $uri $uri//index.html; solves my problem.

Static builds

       objs/src/core/nginx.o: In function `ngx_load_module':
       /cache/nginx-1.17.0/src/core/nginx.c:1523: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
       objs/src/os/unix/ngx_process_cycle.o: In function `ngx_worker_process_init':
       /cache/nginx-1.17.0/src/os/unix/ngx_process_cycle.c:836: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
       objs/src/core/nginx.o: In function `ngx_core_module_init_conf':
       /cache/nginx-1.17.0/src/core/nginx.c:1118: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
       /cache/nginx-1.17.0/src/core/nginx.c:1107: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
       objs/src/core/ngx_inet.o: In function `ngx_inet_resolve_host':
       /cache/nginx-1.17.0/src/core/ngx_inet.c:1137: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

What is the idea behind having a static binary here. Static linking glibc is not a good idea. Also nginx provides pre-built pacakges .

Unable to deploy with dokku buildpacks nginx

Hi,

I'm trying to deploy a static website following the guide provided on readme.md

capture d ecran 2018-06-09 a 20 19 46

but when I deploy it just fails:

MacBook-Pro-de-david:marthe davidscheck$ git push dokku master
Counting objects: 28, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (24/24), done.
Writing objects: 100% (28/28), 31.15 KiB | 7.79 MiB/s, done.
Total 28 (delta 9), reused 0 (delta 0)
-----> Cleaning up...
-----> Building marthe from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Fetching custom buildpack
To marthewery.be:marthe
 ! [remote rejected] master -> master (pre-receive hook declined)

Building fails unknown directive "charset"

I got this error:

=====> docs web container output:
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
2021/02/11 00:35:04 exit status 1
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
2021/02/11 00:35:05 exit status 1
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
2021/02/11 00:35:06 exit status 1
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
2021/02/11 00:35:07 exit status 1
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
2021/02/11 00:35:08 exit status 1
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
2021/02/11 00:35:10 exit status 1
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
2021/02/11 00:35:14 exit status 1

Using it with buildpack python.

how to update heroku-buildpack-nginx ?

noticed this issue - #49 which was closed rather quickly - but when asking on a PM it turned out that it is in fact not solved!

The reason is - no matter if you update dokku to (newest) 0.26.6 - that the heroku-buildpack-nginx is not updated.

how can I / we update that - googling it left me empty ๐Ÿ˜ข

User-provided nginx configuration overwritten

When attempting to use a user-provided nginx configuration (app-nginx.conf.sigil) it is replaced with default when deploying.

Not sure what the issue is, bash script looks in order, but somehow both the if and else command sets for the configuration file are being run.

With a basic static project:

# root project directory
index.html
.static
app-nginx.conf.sigil

Using an app-nginx.conf.sigil identical to the default:

worker_processes 1;
error_log stderr;
pid nginx.pid;
daemon off;

events {
  worker_connections 768;
}

http {
  types_hash_max_size 2048;
  include mime.types;
  server {
    listen {{ $.PORT }};
    server_name  _;
    {{ if ne $.NGINX_ROOT "" }}
      root /app/www/{{ $.NGINX_ROOT }};
    {{ else }}
      root /app/www;
    {{ end }}
    index index.html;

    location / {
      try_files $uri $uri/ /index.html;
    }
  }
}

The user configuration is ignored when deploying:

$> git push dokku master
-----> Cleaning up...
-----> Building auricapps.net from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> .static app detected
-----> Copy static files to www
-----> Reusing nginx binary from cache
-----> Using user provided app-nginx.conf.sigil
-----> Using default app-nginx.conf.sigil
-----> Using default mime.types
-----> Discovering process types
       Default types for  -> web
...

No error message is provided, and if the user-provided configuration is modified, the behavior in the user configuration is not loaded.

Looks like the relevant lines from compile are:

...
# Add support for app-nginx.conf.sigil
if [ -f "$BUILD_DIR/app-nginx.conf.sigil" ] ; then
  echo "-----> Using user provided app-nginx.conf.sigil"
  cp "$BUILD_DIR/app-nginx.conf.sigil" "$BUILD_DIR/nginx/app-nginx.conf.sigil"

# Allow deprecated nginx.conf.erb
elif [ -f "$BUILD_DIR/nginx.conf.erb" ] ; then
  echo "-----> DEPRECATED: using user provided nginx.conf.erb"
  cp "$BUILD_DIR/nginx.conf.erb" "$BUILD_DIR/nginx/nginx.conf.erb"

# ...else, force default file
else
  echo "-----> Using default app-nginx.conf.sigil"
  cp conf/app-nginx.conf.sigil "$BUILD_DIR/nginx/app-nginx.conf.sigil"
fi
...

Not sure what the issue is.

Fresh build fail while downloading pcre.

Hi, when I recently tried to deploy a new dokku static app, build fails on the following:

-----> Cleaning up...
-----> Building knvb from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> .static app detected
-----> Copy static files to www
-----> Download and unzip pcre 8.43 via http
remote: curl: (7) Failed to connect to ftp.pcre.org port 443: Connection timed out

When I go on https://pcre.org/, it reads

Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.

Output of my dokku report:

-----> uname: Linux web-static-2020 4.15.0-1087-gcp #100~16.04.1-Ubuntu SMP Thu Oct 22 10:22:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
-----> memory: 
                     total        used        free      shared  buff/cache   available
       Mem:           1992         303        1266          23         422        1405
       Swap:             0           0           0
-----> docker version: 
       Client: Docker Engine - Community
        Version:           19.03.13
        API version:       1.40
        Go version:        go1.13.15
        Git commit:        4484c46d9d
        Built:             Wed Sep 16 17:02:59 2020
        OS/Arch:           linux/amd64
        Experimental:      false
       
       Server: Docker Engine - Community
        Engine:
         Version:          19.03.13
         API version:      1.40 (minimum version 1.12)
         Go version:       go1.13.15
         Git commit:       4484c46d9d
         Built:            Wed Sep 16 17:01:30 2020
         OS/Arch:          linux/amd64
         Experimental:     false
        containerd:
         Version:          1.3.7
         GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
        runc:
         Version:          1.0.0-rc10
         GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
        docker-init:
         Version:          0.18.0
         GitCommit:        fec3683
-----> docker daemon info: 
       Client:
        Debug Mode: true
       
       Server:
        Containers: 33
         Running: 17
         Paused: 0
         Stopped: 16
        Images: 127
        Server Version: 19.03.13
        Storage Driver: overlay2
         Backing Filesystem: extfs
         Supports d_type: true
         Native Overlay Diff: true
        Logging Driver: json-file
        Cgroup Driver: cgroupfs
        Plugins:
         Volume: local
         Network: bridge host ipvlan macvlan null overlay
         Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
        Swarm: inactive
        Runtimes: runc
        Default Runtime: runc
        Init Binary: docker-init
        containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
        runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
        init version: fec3683
        Security Options:
         apparmor
         seccomp
WARNING: No swap limit support
          Profile: default
        Kernel Version: 4.15.0-1087-gcp
        Operating System: Ubuntu 16.04.7 LTS
        OSType: linux
        Architecture: x86_64
        CPUs: 2
        Total Memory: 1.946GiB
        Name: web-static-2020
        ID: 5XAK:5WTK:32QK:XCOE:6J2Z:RQ2M:VILK:7Z5X:KLO4:JO67:PZOB:JKJX
        Docker Root Dir: /var/lib/docker
        Debug Mode: false
        Registry: https://index.docker.io/v1/
        Labels:
        Experimental: false
        Insecure Registries:
         127.0.0.0/8
        Live Restore Enabled: false
       
-----> sigil version: 0.6.0
-----> herokuish version: 
       herokuish: 0.5.31
       buildpacks:
         heroku-buildpack-multi     v1.0.0
         heroku-buildpack-ruby      v230
         heroku-buildpack-nodejs    v189
         heroku-buildpack-clojure   v87
         heroku-buildpack-python    v201
         heroku-buildpack-java      v69
         heroku-buildpack-gradle    v35
         heroku-buildpack-scala     v91
         heroku-buildpack-play      v26
         heroku-buildpack-php       v199
         heroku-buildpack-go        v156
         buildpack-nginx            v14
         buildpack-null             v3
-----> dokku version: dokku version 0.21.4
-----> dokku plugins: 
       plugn: 0.5.0
         00_dokku-standard    0.21.4 enabled    dokku core standard plugin
         20_events            0.21.4 enabled    dokku core events logging plugin
         app-json             0.21.4 enabled    dokku core app-json plugin
         apps                 0.21.4 enabled    dokku core apps plugin
         builder-dockerfile   0.21.4 enabled    dokku core builder-dockerfile plugin
         builder-herokuish    0.21.4 enabled    dokku core builder-herokuish plugin
         buildpacks           0.21.4 enabled    dokku core buildpacks plugin
         certs                0.21.4 enabled    dokku core certificate management plugin
         checks               0.21.4 enabled    dokku core checks plugin
         common               0.21.4 enabled    dokku core common plugin
         config               0.21.4 enabled    dokku core config plugin
         docker-options       0.21.4 enabled    dokku core docker-options plugin
         domains              0.21.4 enabled    dokku core domains plugin
         enter                0.21.4 enabled    dokku core enter plugin
         git                  0.21.4 enabled    dokku core git plugin
         letsencrypt          0.12.1 enabled    Automated installation of let's encrypt TLS certificates
         logs                 0.21.4 enabled    dokku core logs plugin
         network              0.21.4 enabled    dokku core network plugin
         nginx-vhosts         0.21.4 enabled    dokku core nginx-vhosts plugin
         plugin               0.21.4 enabled    dokku core plugin plugin
         proxy                0.21.4 enabled    dokku core proxy plugin
         ps                   0.21.4 enabled    dokku core ps plugin
         repo                 0.21.4 enabled    dokku core repo plugin
         resource             0.21.4 enabled    dokku core resource plugin
         scheduler-docker-local 0.21.4 enabled    dokku core scheduler-docker-local plugin
         shell                0.21.4 enabled    dokku core shell plugin
         ssh-keys             0.21.4 enabled    dokku core ssh-keys plugin
         storage              0.21.4 enabled    dokku core storage plugin
         tags                 0.21.4 enabled    dokku core tags plugin
         tar                  0.21.4 enabled    dokku core tar plugin
         trace                0.21.4 enabled    dokku core trace plugin
=====> knvb app information
       App deploy source:             
       App dir:                       /home/dokku/knvb
       App locked:                    true
=====> knvb buildpacks information
       Buildpacks list:               
=====> knvb ssl information
       Ssl dir:                       /home/dokku/knvb/tls     
       Ssl enabled:                   false                    
       Ssl hostnames:                                          
       Ssl expires at:                                         
       Ssl issuer:                                             
       Ssl starts at:                                          
       Ssl subject:                                            
       Ssl verified:                                           
=====> knvb checks information
       Checks disabled list:          none                     
       Checks skipped list:           none                     
=====> knvb docker options information
       Docker options build:                                   
       Docker options deploy:         --restart=on-failure:10  
       Docker options run:                                     
=====> knvb domains information
       Domains app enabled:           true                     
       Domains app vhosts:                                     
       Domains global enabled:        true                     
       Domains global vhosts:         footbar.com              
=====> knvb git information
       Git deploy branch:             master                   
       Git global deploy branch:      master                   
       Git keep git dir:              false                    
       Git rev env var:               GIT_REV                  
       Git sha:                       3bb9bc6                  
       Git last updated at:                                    
=====> knvb network information
       Network attach post create:    
       Network attach post deploy:    
       Network bind all interfaces:   false
       Network web listeners:         
=====> knvb nginx information
       Nginx access log path:         /var/log/nginx/knvb-access.log
       Nginx bind address ipv4:                                
       Nginx bind address ipv6:       ::                       
       Nginx error log path:          /var/log/nginx/knvb-error.log
       Nginx hsts:                    true                     
       Nginx hsts include subdomains: true                     
       Nginx hsts max age:            15724800                 
       Nginx hsts preload:            false                    
       Nginx proxy read timeout:      60s                      
       Nginx last visited at:                                  
=====> knvb proxy information
       Proxy enabled:                 true
       Proxy port map:                http:80:5000
       Proxy type:                    nginx
=====> knvb ps information
       Processes:                     0                        
       Deployed:                      false                    
       Running:                       false                    
       Restore:                       true                     
       Restart policy:                on-failure:10            
       Ps can scale:                  true                     
=====> knvb scheduler-docker-local information
       Scheduler docker local disable chown:                          
=====> knvb storage information
       Storage build mounts:                                   
       Storage deploy mounts:                                  
       Storage run mounts:

Buildpack fails on 'Download and unzip pcre' step

-----> Cleaning up...
-----> Building home from herokuish...
-----> Injecting apt repositories and packages ...
-----> Adding BUILD_ENV to build environment...
-----> .static app detected
-----> Copy static files to www
-----> Download and unzip pcre
remote: curl: (7) Failed to connect to ftp.csx.cam.ac.uk port 80: Connection refused

Looks like the curl to ftp.csx.cam.ac.uk is failing. Maybe this is temporary, but I wanted to add a note here in case anyone else is experiencing this.

Build fails with 'unknown directive "charset"'

Description of problem

Build fails with the following output:
nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13

It seems like charset UTF-8; in app-nginx.conf.sigil causes an issue. Full output after running dokku ps:start pcd

-----> Releasing pcd (dokku/pcd:latest)...
-----> Deploying pcd (dokku/pcd:latest)...
-----> Attempting to run scripts.dokku.predeploy from app.json (if defined)
-----> App Procfile file found (/home/dokku/pcd/DOKKU_PROCFILE)
-----> DOKKU_SCALE file found (/home/dokku/pcd/DOKKU_SCALE)
=====> web=1
-----> Attempting pre-flight checks
       For more efficient zero downtime deployments, create a file CHECKS.
       See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples
       CHECKS file not found in container: Running simple container check...
-----> Waiting for 10 seconds ...
56f07c004783277b503e636f4f170ea339f1a0825969b0d55246ecefd8898dd7
App container failed to start!!
=====> pcd web container output:
       nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
       nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
       nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
       nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
       nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
       nginx: [emerg] unknown directive "charset" in /app/nginx/nginx.conf:13
=====> end pcd web container output

How reproducible

  • I'm using dokku 0.13.4
  • I'm using the follwing .buildpacks
https://github.com/heroku/heroku-buildpack-nodejs
https://github.com/dokku/buildpack-nginx

dokku report APP_NAME output

-----> uname: Linux 37-97-228-179 4.4.0-190-generic #220-Ubuntu SMP Fri Aug 28 23:02:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
                     total        used        free      shared  buff/cache   available
       Mem:           3951         778         213           2        2958        2816
       Swap:          4095         866        3229
-----> docker version:
       Client:
        Version:           18.06.1-ce
        API version:       1.38
        Go version:        go1.10.3
        Git commit:        e68fc7a
        Built:             Tue Aug 21 17:24:56 2018
        OS/Arch:           linux/amd64
        Experimental:      false

       Server:
        Engine:
         Version:          18.06.1-ce
         API version:      1.38 (minimum version 1.12)
         Go version:       go1.10.3
         Git commit:       e68fc7a
         Built:            Tue Aug 21 17:23:21 2018
         OS/Arch:          linux/amd64
         Experimental:     false
-----> docker daemon info:
       Containers: 37
        Running: 16
        Paused: 0
        Stopped: 21
       Images: 201
       Server Version: 18.06.1-ce
       Storage Driver: overlay2
        Backing Filesystem: extfs
        Supports d_type: true
        Native Overlay Diff: true
       Logging Driver: json-file
       Cgroup Driver: cgroupfs
       Plugins:
        Volume: local
        Network: bridge host macvlan null overlay
        Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
       Swarm: inactive
       Runtimes: runc
       Default Runtime: runc
       Init Binary: docker-init
       containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
       runc version: 69663f0bd4b60df09991c08812a60108003fa340
       init version: fec3683
       Security Options:
        apparmor
        seccomp
         Profile: default
       Kernel Version: 4.4.0-190-generic
       Operating System: Ubuntu 16.04.4 LTS
       OSType: linux
       Architecture: x86_64
       CPUs: 4
       Total Memory: 3.858GiB
       Name: 37-97-228-179
       ID: WKJI:G4SE:HHH7:DUBA:Y75I:OGFA:GRQL:3L7E:2NB3:TWPX:WFUU:VVNA
       Docker Root Dir: /var/lib/docker
       Debug Mode (client): true
       Debug Mode (server): false
       Registry: https://index.docker.io/v1/
       Labels:
       Experimental: false
       Insecure Registries:
WARNING: No swap limit support
        127.0.0.0/8
       Live Restore Enabled: false

-----> sigil version: 0.4.0
-----> herokuish version:
       herokuish: 0.4.6
       buildpacks:
         heroku-buildpack-multi     v1.0.0
         heroku-buildpack-ruby      v197
         heroku-buildpack-nodejs    v134
         heroku-buildpack-clojure   v82
         heroku-buildpack-python    v146
         heroku-buildpack-java      v62
         heroku-buildpack-gradle    v27
         heroku-buildpack-scala     v83
         heroku-buildpack-play      v26
         heroku-buildpack-php       v148
         heroku-buildpack-go        v98
         buildpack-nginx            v10
-----> dokku version: 0.13.4
-----> dokku plugins:
       plugn: 0.3.0
         00_dokku-standard    0.13.4 enabled    dokku core standard plugin
         20_events            0.13.4 enabled    dokku core events logging plugin
         apps                 0.13.4 enabled    dokku core apps plugin
         apt                  0.4.1 enabled    Inject deb packages into dokku based on files in project
         build-env            0.13.4 enabled    dokku core build-env plugin
         certs                0.13.4 enabled    dokku core certificate management plugin
         checks               0.13.4 enabled    dokku core checks plugin
         common               0.13.4 enabled    dokku core common plugin
         config               0.13.4 enabled    dokku core config plugin
         docker-options       0.13.4 enabled    dokku core docker-options plugin
         domains              0.13.4 enabled    dokku core domains plugin
         enter                0.13.4 enabled    dokku core enter plugin
         git                  0.13.4 enabled    dokku core git plugin
         letsencrypt          0.9.1 enabled    Automated installation of let's encrypt TLS certificates
         logs                 0.13.4 enabled    dokku core logs plugin
         mongo                1.3.0 enabled    dokku mongo service plugin
         network              0.13.4 enabled    dokku core network plugin
         nginx-vhosts         0.13.4 enabled    dokku core nginx-vhosts plugin
         plugin               0.13.4 enabled    dokku core plugin plugin
         proxy                0.13.4 enabled    dokku core proxy plugin
         ps                   0.13.4 enabled    dokku core ps plugin
         repo                 0.13.4 enabled    dokku core repo plugin
         scheduler-docker-local 0.13.4 enabled    dokku core scheduler-docker-local plugin
         shell                0.13.4 enabled    dokku core shell plugin
         ssh-keys             0.13.4 enabled    dokku core ssh-keys plugin
         storage              0.13.4 enabled    dokku core storage plugin
         tags                 0.13.4 enabled    dokku core tags plugin
         tar                  0.13.4 enabled    dokku core tar plugin
=====> pcd app information
       App dir:                       /home/dokku/pcd
       Git sha:                       6eb80d1
       Deploy source:                 git
       Locked:                        true
=====> pcd ssl information
       Ssl dir:                       /home/dokku/pcd/tls
       Ssl enabled:                   true
       Ssl hostnames:                 pcd.stagi.nl
       Ssl expires at:                Nov 19 21:01:40 2020 GMT
       Ssl issuer:                    C=US, O=Lets Encrypt, CN=Lets Encrypt Authority X3
       Ssl starts at:                 Aug 21 21:01:40 2020 GMT
       Ssl subject:                   CN=pcd.stagi.nl
       Ssl verified:                  self signed
=====> pcd checks information
       Checks disabled list:          none
       Checks skipped list:           none
=====> pcd docker options information
       Docker options build:
       Docker options deploy:         --restart=on-failure:10
       Docker options run:
=====> pcd domains information
       Domains app enabled:           true
       Domains app vhosts:            pcd.stagi.nl
       Domains global enabled:        true
       Domains global vhosts:         stagi.nl
=====> pcd git information
       Git rev env var:               GIT_REV
       Git deploy branch:             master
       Git global deploy branch:      master
=====> pcd network information
       Network bind all interfaces:   false
       Network listeners:             172.17.0.8:5000
=====> pcd proxy information
       Proxy enabled:                 true
       Proxy type:                    nginx
       Proxy port map:                http:80:5000 https:443:5000
=====> pcd ps information
       Processes:                     1
       Deployed:                      true
       Running:                       false
       Restore:                       true
       Restart policy:                on-failure:10
       Status web.1:                  missing    (CID: ef8b0e47c210)
=====> pcd scheduler-docker-local information
       Scheduler docker local disable chown:
=====> pcd storage information
       Storage build mounts:
       Storage deploy mounts:
       Storage run mounts:

Question: Build static files on deploy

How can I generate/build the files on the deploy? I've a static web application, to generate the files I depende on node. I would like to execute a node script that generate those static files that can then be server with NGNIX.

Thank you

Specify default buildpack

I get the following warning when trying to deploy a project using a .static file:

-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
       Detected buildpacks: nodejs static
-----> Node.js app detected

While the project does utilize a package.json file, I do not want to serve it as a node.js app. Instead I would like to serve it as a static site.

How do I go about setting the static buildpack as default when deploying?

Charset utf8 by default

The nginx default for charset seems to be ascii which is rather annoying. UTF8 is a much better default.

Default NGINX page post deploy.

It serves the standard nginx page for this application only.

The steps at https://github.com/dokku/dokku/blob/master/docs/troubleshooting.md don't seem to apply - as the other applications on the host all work (with longer names)

Looking at the config file in the container it seems to look good, and curling the address listed in the /home/dokku/app/nginx.conf http section from the host machine works.

Is dokku not registering the new application correctly? Or is it something to do with this applications configuration?

PCRE EOL

Description of problem

Trying to deploy a static site

How reproducible

git push staging staging

Steps to Reproduce

  1. create a new repo
  2. add .static file in root
  3. push it to a docker/dokku enabled server/VM

Actual Results

โˆš battery.rehab % git push staging staging
Enumerating objects: 91, done.
Counting objects: 100% (91/91), done.
Delta compression using up to 8 threads
Compressing objects: 100% (76/76), done.
Writing objects: 100% (91/91), 3.18 MiB | 12.43 MiB/s, done.
Total 91 (delta 12), reused 77 (delta 6), pack-reused 0
-----> Set staging to DOKKU_DEPLOY_BRANCH.
-----> Cleaning up...
-----> Building staging.battery.rehab from herokuish
-----> Adding BUILD_ENV to build environment...
       BUILD_ENV added successfully
-----> .static app detected
-----> Copy static files to www
-----> Download and unzip pcre 8.43 via http
remote: curl: (28) Failed to connect to ftp.pcre.org port 443: Connection timed out
remote: 2021/12/01 13:59:57 exit status 28
To docker1:staging.battery.rehab
 ! [remote rejected] staging -> staging (pre-receive hook declined)
error: failed to push some refs to 'docker1:staging.battery.rehab'

Expected Results

Additional information

I believe the issue at hand is pertaining to this message on https://pcre.org

Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.

Operation not permitted on deploy

Description of problem

Since upgrading to dokku 0.34.1, both my static sites deploy fail with the same error:

=====> Start of  container output (.)
       chown: changing ownership of '/app/.basher': Operation not permitted
       chown: changing ownership of '/app/.basher/bash': Operation not permitted
       chown: changing ownership of '/app/.basher': Operation not permitted
       chown: changing ownership of '/app/.basher/bash': Operation not permitted
       chown: changing ownership of '/app/.basher': Operation not permitted
       chown: changing ownership of '/app/.basher/bash': Operation not permitted
       chown: changing ownership of '/app/.basher': Operation not permitted
       chown: changing ownership of '/app/.basher/bash': Operation not permitted
       chown: changing ownership of '/app/.basher': Operation not permitted
       chown: changing ownership of '/app/.basher/bash': Operation not permitted
       chown: changing ownership of '/app/.basher': Operation not permitted
       chown: changing ownership of '/app/.basher/bash': Operation not permitted
       chown: changing ownership of '/app/.basher': Operation not permitted
       chown: changing ownership of '/app/.basher/bash': Operation not permitted
=====> End of  container output (.)

How reproducible

Reproduced on two static sites.

Steps to Reproduce

  1. Add index.html and .static to a repo
  2. Push to deploy
  3. See fail

Actual Results

Deploy fails

Expected Results

Deploy successful

Environment Information

dokku report APP_NAME output

-----> uname: Linux app 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux
-----> memory: 
                      total        used        free      shared  buff/cache   available
       Mem:           32011        5937        6402         309       19672       25312
       Swap:           1535          79        1456
-----> disk utilization: 
       Filesystem      Size  Used Avail Use% Mounted on
       /dev/md1        1.8T  136G  1.6T   8% /
-----> disk inode utilization: 
       Filesystem     Inodes IUsed IFree IUse% Mounted on
       /dev/md1         117M  1.9M  115M    2% /
-----> docker version: 
       Client: Docker Engine - Community
        Version:           24.0.5
        API version:       1.43
        Go version:        go1.20.6
        Git commit:        ced0996
        Built:             Fri Jul 21 20:35:45 2023
        OS/Arch:           linux/amd64
        Context:           default
       
       Server: Docker Engine - Community
        Engine:
         Version:          24.0.5
         API version:      1.43 (minimum version 1.12)
         Go version:       go1.20.6
         Git commit:       a61e2b4
         Built:            Fri Jul 21 20:35:45 2023
         OS/Arch:          linux/amd64
         Experimental:     false
        containerd:
         Version:          1.6.22
         GitCommit:        8165feabfdfe38c65b599c4993d227328c231fca
        runc:
         Version:          1.1.8
         GitCommit:        v1.1.8-0-g82f18fe
        docker-init:
         Version:          0.19.0
         GitCommit:        de40ad0
-----> docker daemon info: 
       Client: Docker Engine - Community
        Version:    24.0.5
        Context:    default
        Debug Mode: true
        Plugins:
         buildx: Docker Buildx (Docker Inc.)
           Version:  v0.11.2
           Path:     /usr/libexec/docker/cli-plugins/docker-buildx
         compose: Docker Compose (Docker Inc.)
           Version:  v2.20.2
           Path:     /usr/libexec/docker/cli-plugins/docker-compose
         scan: Docker Scan (Docker Inc.)
           Version:  v0.23.0
           Path:     /usr/libexec/docker/cli-plugins/docker-scan
       
       Server:
        Containers: 18
         Running: 17
         Paused: 0
         Stopped: 1
        Images: 66
        Server Version: 24.0.5
        Storage Driver: overlay2
         Backing Filesystem: extfs
         Supports d_type: true
         Using metacopy: false
         Native Overlay Diff: true
         userxattr: false
        Logging Driver: json-file
        Cgroup Driver: systemd
        Cgroup Version: 2
        Plugins:
         Volume: local
         Network: bridge host ipvlan macvlan null overlay
         Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
        Swarm: inactive
        Runtimes: io.containerd.runc.v2 runc
        Default Runtime: runc
        Init Binary: docker-init
        containerd version: 8165feabfdfe38c65b599c4993d227328c231fca
        runc version: v1.1.8-0-g82f18fe
        init version: de40ad0
        Security Options:
         apparmor
         seccomp
          Profile: builtin
         cgroupns
        Kernel Version: 5.10.0-20-amd64
        Operating System: Debian GNU/Linux 11 (bullseye)
        OSType: linux
        Architecture: x86_64
        CPUs: 8
        Total Memory: 31.26GiB
        Name: app
        ID: EYLH:6RE3:JP7B:Y2KD:VSCG:JM27:QG6J:BJUB:G3Z2:RYQ2:LHJO:TDS3
        Docker Root Dir: /var/lib/docker
        Debug Mode: false
         File Descriptors: 124
         Goroutines: 101
         System Time: 2024-03-29T09:41:25.016609434Z
         EventsListeners: 0
        Experimental: false
        Insecure Registries:
         127.0.0.0/8
        Live Restore Enabled: false
       
-----> herokuish version: 
       herokuish: v0.8.0
       buildpacks:
         heroku-buildpack-multi     v1.2.0
         heroku-buildpack-ruby      v267
         heroku-buildpack-nodejs    v240
         heroku-buildpack-clojure   v91
         heroku-buildpack-python    v246
         heroku-buildpack-java      v73
         heroku-buildpack-gradle    v39
         heroku-buildpack-scala     v98
         heroku-buildpack-play      v26
         heroku-buildpack-php       v247
         heroku-buildpack-go        v189
         heroku-buildpack-nginx     v25
         buildpack-null             v3
-----> dokku version: dokku version 0.34.1
-----> dokku-event-listener version: 0.15.0build+5268732                                                             
-----> dokku-update version: dokku-update 0.7.2
-----> docker-container-healthchecker version: 0.9.0                                                                           
-----> docker-image-labeler version: 0.6.1build+c6e15a9                                                              
-----> git version: git version 2.30.2
-----> lambda-builder version:        0.6.0                                                                           
-----> netrc version: 0.8.0build+0751c1b
 !     pack binary is not available
-----> plugn version: plugn: 0.13.0build+fd5297a
-----> sigil version: 0.10.1build+e443be0
-----> sshcommand version: sshcommand 0.17.1
-----> dokku plugins: 
         00_dokku-standard    0.34.1 enabled    dokku core standard plugin
         20_events            0.34.1 enabled    dokku core events logging plugin
         app-json             0.34.1 enabled    dokku core app-json plugin
         apps                 0.34.1 enabled    dokku core apps plugin
         builder              0.34.1 enabled    dokku core builder plugin
         builder-dockerfile   0.34.1 enabled    dokku core builder-dockerfile plugin
         builder-herokuish    0.34.1 enabled    dokku core builder-herokuish plugin
         builder-lambda       0.34.1 enabled    dokku core builder-lambda plugin
         builder-nixpacks     0.34.1 enabled    dokku core builder-nixpacks plugin
         builder-null         0.34.1 enabled    dokku core builder-null plugin
         builder-pack         0.34.1 enabled    dokku core builder-pack plugin
         buildpacks           0.34.1 enabled    dokku core buildpacks plugin
         caddy-vhosts         0.34.1 enabled    dokku core caddy-vhosts plugin
         certs                0.34.1 enabled    dokku core certificate management plugin
         checks               0.34.1 enabled    dokku core checks plugin
         common               0.34.1 enabled    dokku core common plugin
         config               0.34.1 enabled    dokku core config plugin
         cron                 0.34.1 enabled    dokku core cron plugin
         docker-options       0.34.1 enabled    dokku core docker-options plugin
         domains              0.34.1 enabled    dokku core domains plugin
         enter                0.34.1 enabled    dokku core enter plugin
         git                  0.34.1 enabled    dokku core git plugin
         haproxy-vhosts       0.34.1 enabled    dokku core haproxy-vhosts plugin
         letsencrypt          0.20.3 enabled    Automated installation of let's encrypt TLS certificates
         logs                 0.34.1 enabled    dokku core logs plugin
         network              0.34.1 enabled    dokku core network plugin
         nginx-vhosts         0.34.1 enabled    dokku core nginx-vhosts plugin
         openresty-vhosts     0.34.1 enabled    dokku core openresty-vhosts plugin
         plugin               0.34.1 enabled    dokku core plugin plugin
         ports                0.34.1 enabled    dokku core ports plugin
         postgres             1.36.4 enabled    dokku postgres service plugin
         proxy                0.34.1 enabled    dokku core proxy plugin
         ps                   0.34.1 enabled    dokku core ps plugin
         redirect             0.9.1 enabled    Plugin for managing application redirects
         registry             0.34.1 enabled    dokku core registry plugin
         repo                 0.34.1 enabled    dokku core repo plugin
         resource             0.34.1 enabled    dokku core resource plugin
         run                  0.34.1 enabled    dokku core run plugin
         scheduler            0.34.1 enabled    dokku core scheduler plugin
         scheduler-docker-local 0.34.1 enabled    dokku core scheduler-docker-local plugin
         scheduler-k3s        0.34.1 enabled    dokku core scheduler-k3s plugin
         scheduler-null       0.34.1 enabled    dokku core scheduler-null plugin
         shell                0.34.1 enabled    dokku core shell plugin
         ssh-keys             0.34.1 enabled    dokku core ssh-keys plugin
         storage              0.34.1 enabled    dokku core storage plugin
         trace                0.34.1 enabled    dokku core trace plugin
         traefik-vhosts       0.34.1 enabled    dokku core traefik-vhosts plugin
=====> www app-json information
       App json computed selected:    app.json
       App json global selected:      app.json
       App json selected:             
=====> www app information
       App created at:                1711704908
       App deploy source:             
       App deploy source metadata:    
       App dir:                       /home/dokku/www
       App locked:                    false
=====> www builder information
       Builder build dir:             
       Builder computed build dir:    
       Builder computed selected:     
       Builder global build dir:      
       Builder global selected:       
       Builder selected:              
=====> www builder-dockerfile information
       Builder dockerfile computed dockerfile path: Dockerfile               
       Builder dockerfile global dockerfile path: Dockerfile               
       Builder dockerfile dockerfile path:                          
=====> www builder-herokuish information
       Builder herokuish computed allowed: true                     
       Builder herokuish global allowed: true                     
       Builder herokuish allowed:                              
=====> www builder-lambda information
       Builder lambda computed lambdayml path: lambda.yml               
       Builder lambda global lambdayml path: lambda.yml               
       Builder lambda lambdayml path:                          
=====> www builder-nixpacks information
       Builder nixpacks computed nixpackstoml path: nixpacks.toml            
       Builder nixpacks global nixpackstoml path: nixpacks.toml            
       Builder nixpacks nixpackstoml path:                          
       Builder nixpacks computed no cache: false                    
       Builder nixpacks global no cache: false                    
       Builder nixpacks no cache:                              
=====> www builder-pack information
       Builder pack computed projecttoml path: project.toml             
       Builder pack global projecttoml path: project.toml             
       Builder pack projecttoml path:                          
=====> www buildpacks information
       Buildpacks computed stack:     gliderlabs/herokuish:latest-22
       Buildpacks global stack:       
       Buildpacks list:               
       Buildpacks stack:              
=====> www caddy information
       Caddy image:                   lucaslorentz/caddy-docker-proxy:2.8
       Caddy letsencrypt email:                                
       Caddy letsencrypt server:      https://acme-v02.api.letsencrypt.org/directory
       Caddy log level:               ERROR                    
       Caddy polling interval:        5s                       
       Caddy tls internal:            false                    
=====> www ssl information
       Ssl dir:                       /home/dokku/www/tls      
       Ssl enabled:                   false                    
       Ssl hostnames:                                          
       Ssl expires at:                                         
       Ssl issuer:                                             
       Ssl starts at:                                          
       Ssl subject:                                            
       Ssl verified:                                           
=====> www checks information
       Checks disabled list:          none                     
       Checks skipped list:           none                     
       Checks computed wait to retire: 60                       
       Checks global wait to retire:  60                       
       Checks wait to retire:                                  
=====> www docker options information
       Docker options build:                                   
       Docker options deploy:         --restart=on-failure:10  
       Docker options run:                                     
=====> www domains information
       Domains app enabled:           true                     
       Domains app vhosts:            www.app.france.sh        
       Domains global enabled:        true                     
       Domains global vhosts:         app.france.sh            
=====> www git information
       Git deploy branch:             main                     
       Git global deploy branch:      master                   
       Git keep git dir:              false                    
       Git rev env var:               GIT_REV                  
       Git sha:                                                
       Git source image:                                       
       Git last updated at:                                    
=====> www haproxy information
       Haproxy image:                 byjg/easy-haproxy:4.4.0  
       Haproxy letsencrypt email:                              
       Haproxy letsencrypt server:    https://acme-v02.api.letsencrypt.org/directory
       Haproxy log level:             ERROR                    
Can't open /home/dokku/www/tls/server.crt for reading, No such file or directory
140325042730304:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/home/dokku/www/tls/server.crt','r')
140325042730304:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:
unable to load certificate
=====> www letsencrypt information
       Letsencrypt active:            false                    
       Letsencrypt autorenew:         true                     
       Letsencrypt computed dns provider:                          
       Letsencrypt global dns provider:                          
       Letsencrypt dns provider:                               
       Letsencrypt computed email:    [email protected]      
       Letsencrypt global email:      [email protected]      
       Letsencrypt email:                                      
       Letsencrypt expiration:        1711670400               
       Letsencrypt computed graceperiod: 2592000                  
       Letsencrypt global graceperiod:                          
       Letsencrypt graceperiod:                                
       Letsencrypt computed lego docker args:                          
       Letsencrypt global lego docker args:                          
       Letsencrypt lego docker args:                           
       Letsencrypt computed server:   https://acme-v02.api.letsencrypt.org/directory
       Letsencrypt global server:                              
       Letsencrypt server:                                     
=====> www logs information
       Logs computed max size:        10m
       Logs global max size:          10m
       Logs global vector sink:       
       Logs max size:                 
       Logs vector global image:      timberio/vector:0.36.1-debian
       Logs vector sink:              
=====> www network information
       Network attach post create:           
       Network attach post deploy:           
       Network bind all interfaces:          false
       Network computed attach post create:  
       Network computed attach post deploy:  
       Network computed bind all interfaces: false
       Network computed initial network:     
       Network computed tld:                 
       Network global attach post create:    
       Network global attach post deploy:    
       Network global bind all interfaces:   false
       Network global initial network:       
       Network global tld:                   
       Network initial network:              
       Network static web listener:          
       Network tld:                          
       Network web listeners:                
=====> www nginx information
       Nginx access log format:                                
       Nginx computed access log format:                          
       Nginx global access log format:                          
       Nginx access log path:                                  
       Nginx computed access log path: /var/log/nginx/www-access.log
       Nginx global access log path:  /var/log/nginx/www-access.log
       Nginx bind address ipv4:                                
       Nginx computed bind address ipv4:                          
       Nginx global bind address ipv4:                          
       Nginx bind address ipv6:                                
       Nginx computed bind address ipv6: ::                       
       Nginx global bind address ipv6: ::                       
       Nginx client max body size:                             
       Nginx computed client max body size: 1m                       
       Nginx global client max body size: 1m                       
       Nginx disable custom config:                            
       Nginx computed disable custom config: false                    
       Nginx global disable custom config: false                    
       Nginx error log path:                                   
       Nginx computed error log path: /var/log/nginx/www-error.log
       Nginx global error log path:   /var/log/nginx/www-error.log
       Nginx hsts include subdomains:                          
       Nginx computed hsts include subdomains: true                     
       Nginx global hsts include subdomains: true                     
       Nginx hsts max age:                                     
       Nginx computed hsts max age:   15724800                 
       Nginx global hsts max age:     15724800                 
       Nginx hsts preload:                                     
       Nginx computed hsts preload:   false                    
       Nginx global hsts preload:     false                    
       Nginx hsts:                                             
       Nginx computed hsts:           true                     
       Nginx global hsts:             true                     
       Nginx last visited at:                                  
       Nginx nginx conf sigil path:                            
       Nginx computed nginx conf sigil path: nginx.conf.sigil         
       Nginx global nginx conf sigil path: nginx.conf.sigil         
       Nginx proxy buffer size:                                
       Nginx computed proxy buffer size: 4k                       
       Nginx global proxy buffer size: 4k                       
       Nginx proxy buffering:                                  
       Nginx computed proxy buffering: on                       
       Nginx global proxy buffering:  on                       
       Nginx proxy buffers:                                    
       Nginx computed proxy buffers:  8 4k                     
       Nginx global proxy buffers:    8 4k                     
       Nginx proxy busy buffers size:                          
       Nginx computed proxy busy buffers size: 8k                       
       Nginx global proxy busy buffers size: 8k                       
       Nginx proxy read timeout:                               
       Nginx computed proxy read timeout: 60s                      
       Nginx global proxy read timeout: 60s                      
       Nginx underscore in headers:                            
       Nginx computed underscore in headers: off                      
       Nginx global underscore in headers: off                      
       Nginx x forwarded for value:                            
       Nginx computed x forwarded for value: $remote_addr             
       Nginx global x forwarded for value: $remote_addr             
       Nginx x forwarded port value:                           
       Nginx computed x forwarded port value: $server_port             
       Nginx global x forwarded port value: $server_port             
       Nginx x forwarded proto value:                          
       Nginx computed x forwarded proto value: $scheme                  
       Nginx global x forwarded proto value: $scheme                  
       Nginx x forwarded ssl:                                  
       Nginx computed x forwarded ssl:                          
       Nginx global x forwarded ssl:                           
/var/lib/dokku/plugins/available/openresty-vhosts/command-functions: line 64: fn-openresty-allowed-letsencrypt-domains-func-base64: command not found
=====> www openresty information
       Openresty access log format:                            
       Openresty access log path:     /var/log/nginx/www-access.log
       Openresty allowed letsencrypt domains func base64:                          
       Openresty bind address ipv4:                            
       Openresty bind address ipv6:   ::                       
       Openresty client max body size:                          
       Openresty error log path:      /var/log/nginx/www-error.log
       Openresty global hsts:         true                     
       Openresty computed hsts:       true                     
       Openresty hsts:                                         
       Openresty hsts include subdomains: true                     
       Openresty hsts max age:        15724800                 
       Openresty hsts preload:        false                    
       Openresty image:               dokku/openresty-docker-proxy:0.7.0
       Openresty letsencrypt email:                            
       Openresty letsencrypt server:  https://acme-v02.api.letsencrypt.org/directory
       Openresty proxy buffer size:   4k                       
       Openresty proxy buffering:     on                       
       Openresty proxy buffers:       8 4k                     
       Openresty proxy busy buffers size: 8k                       
       Openresty proxy read timeout:  60s                      
       Openresty underscore in headers: off                      
       Openresty x forwarded for value: $remote_addr             
       Openresty x forwarded port value: $server_port             
       Openresty x forwarded proto value: $scheme                  
       Openresty x forwarded ssl:                              
=====> www ports information
       Ports map:                     
       Ports map detected:            http:80:5000
=====> www proxy information
       Proxy computed type:           nginx
       Proxy enabled:                 true
       Proxy global type:             nginx
       Proxy type:                    
=====> www ps information
       Deployed:                      false
       Processes:                     0
       Ps can scale:                  true
       Ps computed procfile path:     Procfile
       Ps global procfile path:       Procfile
       Ps procfile path:              
       Ps restart policy:             on-failure:10
       Restore:                       true
       Running:                       false
=====> www registry information
       Registry computed image repo:        dokku/www
       Registry computed push on release:   false
       Registry computed server:            
       Registry global image repo template: 
       Registry global push on release:     
       Registry global server:              
       Registry image repo:                 
       Registry push extra tags:            
       Registry push on release:            
       Registry server:                     
       Registry tag version:                
=====> www resource information
=====> www scheduler information
       Scheduler computed selected:   docker-local
       Scheduler global selected:     docker-local
       Scheduler selected:            
=====> www scheduler-docker-local information
       Scheduler docker local init process: true                     
       Scheduler docker local parallel schedule count:                          
=====> www scheduler-k3s information
       Scheduler k3s computed deploy timeout:       300s
       Scheduler k3s computed image pull secrets:   
       Scheduler k3s computed letsencrypt server:   prod
       Scheduler k3s computed namespace:            default
       Scheduler k3s computed rollback on failure:  false
       Scheduler k3s deploy timeout:                
       Scheduler k3s global deploy timeout:         300s
       Scheduler k3s global image pull secrets:     
       Scheduler k3s global ingress class:          nginx
       Scheduler k3s global kube context:           
       Scheduler k3s global kubeconfig path:        /etc/rancher/k3s/k3s.yaml
       Scheduler k3s global letsencrypt email prod: 
       Scheduler k3s global letsencrypt email stag: 
       Scheduler k3s global letsencrypt server:     prod
       Scheduler k3s global namespace:              default
       Scheduler k3s global network interface:      eth0
       Scheduler k3s global rollback on failure:    false
       Scheduler k3s image pull secrets:            
       Scheduler k3s letsencrypt server:            
       Scheduler k3s namespace:                     
       Scheduler k3s rollback on failure:           
=====> www storage information
       Storage build mounts:                                   
       Storage deploy mounts:                                  
       Storage run mounts:                                     
=====> www traefik information
       Traefik api enabled:           false                    
       Traefik api vhost:             traefik.dokku.me         
       Traefik basic auth password:                            
       Traefik basic auth username:                            
       Traefik dashboard enabled:     false                    
       Traefik image:                 traefik:2.11.0           
       Traefik letsencrypt email:                              
       Traefik letsencrypt server:    https://acme-v02.api.letsencrypt.org/directory
       Traefik log level:             ERROR                    

How (deb/make) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:

Physical server on Debian with bootstrap script, upgraded via dokku-update

Additional information

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.