Phpmyadmin on Info :: LinuxServer.iohttps://info.linuxserver.io/affected/phpmyadmin/Historygithub.com/cstateen2022-08-20T18:00:00+00:002022-08-20T18:00:00+00:00Notification: Significant changes to nginx based imageshttps://info.linuxserver.io/issues/2022-08-20-nginx-base/Sat, 20 Aug 2022 18:00:00 +0000https://info.linuxserver.io/issues/2022-08-20-nginx-base/<p>Most images using our alpine-nginx base image are being updated to alpine 3.15 with php8 and some significant changes to the nginx configs.</p> <p>Changes you will likely notice:</p> <ul> <li>Bring our default shipped configs as close as possible to alpine upstream defaults <ul> <li><a href="https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.15-stable">https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.15-stable</a></li> </ul> </li> <li>Include <code>worker_processes.conf</code> and init script to generate it in the base</li> <li>Include <code>resolver.conf</code> and init script to generate it in the base</li> <li>Include <code>ssl.conf</code> in the base (the same as what is currently shipped in SWAG, but adjusted to use the self-signed certs generated by the base)</li> <li><code>include /config/nginx/site-confs/*.conf;</code> with <code>*.conf</code> extension (rename existing user files automatically)</li> <li>Rework <code>default.conf</code> <ul> <li>Expect applications inside containers to exist at <code>/app/www/public/</code>, and if that does not exist, use <code>/config/www</code></li> <li>Include ipv6 support</li> <li>deny access to <code>.htaccess</code>/<code>.htpasswd</code> files</li> <li>adjust php location and <code>fastcgi_params</code> to use <code>PATH_INFO</code> and mitigate <code>HTTP_PROXY</code> vulnerability</li> </ul> </li> <li>Restructure nginx configs <ul> <li>Configs in <code>/defaults/nginx/</code> are recursively copied to the user&rsquo;s <code>/config/nginx/</code> (maintaining the structure)</li> <li>All configs are now named <code>*.sample</code> and all include <code>## Version YYYY/MM/DD - Changelog: &lt;url to repo history&gt;</code> used by <code>/etc/cont-init.d/85-version-checks</code> <ul> <li>Required configs (<code>/config/nginx/nginx.conf</code>, <code>/config/nginx/server-confs/ssl.conf</code> and <code>/config/nginx/site-confs/default.conf</code>) are enabled by default. Downstream images can include and/or enable others as needed (ex: SWAG will enable <code>/config/nginx/location-confs/proxy.conf</code> and <code>/config/nginx/server-confs/502.conf</code>)</li> </ul> </li> <li>Folder structure is as follows (in the <code>/config/nginx/</code> context): <ul> <li>All nginx based images: <ul> <li>Includes <code>nginx.conf</code> (enabled by default)</li> <li>Includes <code>resolver.conf</code> (enabled by default)</li> <li>Includes <code>ssl.conf</code> (enabled by default)</li> <li>Includes <code>worker_processes.conf</code> (enabled by default)</li> <li><code>/config/nginx/site-confs/*</code> included inside the <code>http</code> context in <code>/config/nginx/nginx.conf</code> <ul> <li>Includes <code>default.conf</code> (enabled by default)</li> </ul> </li> </ul> </li> <li>SWAG: <ul> <li>Includes <code>502.conf</code> (enabled by default)</li> <li>Includes <code>authelia-location.conf</code></li> <li>Includes <code>authelia-server.conf</code></li> <li>Includes <code>ldap-location.conf</code></li> <li>Includes <code>ldap-server.conf</code></li> <li>Includes <code>proxy.conf</code> (enabled by default)</li> </ul> </li> </ul> </li> </ul> </li> </ul> <p>Under the hood:</p><p>Most images using our alpine-nginx base image are being updated to alpine 3.15 with php8 and some significant changes to the nginx configs.</p> <p>Changes you will likely notice:</p> <ul> <li>Bring our default shipped configs as close as possible to alpine upstream defaults <ul> <li><a href="https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.15-stable">https://git.alpinelinux.org/aports/tree/main/nginx/nginx.conf?h=3.15-stable</a></li> </ul> </li> <li>Include <code>worker_processes.conf</code> and init script to generate it in the base</li> <li>Include <code>resolver.conf</code> and init script to generate it in the base</li> <li>Include <code>ssl.conf</code> in the base (the same as what is currently shipped in SWAG, but adjusted to use the self-signed certs generated by the base)</li> <li><code>include /config/nginx/site-confs/*.conf;</code> with <code>*.conf</code> extension (rename existing user files automatically)</li> <li>Rework <code>default.conf</code> <ul> <li>Expect applications inside containers to exist at <code>/app/www/public/</code>, and if that does not exist, use <code>/config/www</code></li> <li>Include ipv6 support</li> <li>deny access to <code>.htaccess</code>/<code>.htpasswd</code> files</li> <li>adjust php location and <code>fastcgi_params</code> to use <code>PATH_INFO</code> and mitigate <code>HTTP_PROXY</code> vulnerability</li> </ul> </li> <li>Restructure nginx configs <ul> <li>Configs in <code>/defaults/nginx/</code> are recursively copied to the user&rsquo;s <code>/config/nginx/</code> (maintaining the structure)</li> <li>All configs are now named <code>*.sample</code> and all include <code>## Version YYYY/MM/DD - Changelog: &lt;url to repo history&gt;</code> used by <code>/etc/cont-init.d/85-version-checks</code> <ul> <li>Required configs (<code>/config/nginx/nginx.conf</code>, <code>/config/nginx/server-confs/ssl.conf</code> and <code>/config/nginx/site-confs/default.conf</code>) are enabled by default. Downstream images can include and/or enable others as needed (ex: SWAG will enable <code>/config/nginx/location-confs/proxy.conf</code> and <code>/config/nginx/server-confs/502.conf</code>)</li> </ul> </li> <li>Folder structure is as follows (in the <code>/config/nginx/</code> context): <ul> <li>All nginx based images: <ul> <li>Includes <code>nginx.conf</code> (enabled by default)</li> <li>Includes <code>resolver.conf</code> (enabled by default)</li> <li>Includes <code>ssl.conf</code> (enabled by default)</li> <li>Includes <code>worker_processes.conf</code> (enabled by default)</li> <li><code>/config/nginx/site-confs/*</code> included inside the <code>http</code> context in <code>/config/nginx/nginx.conf</code> <ul> <li>Includes <code>default.conf</code> (enabled by default)</li> </ul> </li> </ul> </li> <li>SWAG: <ul> <li>Includes <code>502.conf</code> (enabled by default)</li> <li>Includes <code>authelia-location.conf</code></li> <li>Includes <code>authelia-server.conf</code></li> <li>Includes <code>ldap-location.conf</code></li> <li>Includes <code>ldap-server.conf</code></li> <li>Includes <code>proxy.conf</code> (enabled by default)</li> </ul> </li> </ul> </li> </ul> </li> </ul> <p>Under the hood:</p> <ul> <li>Split out init scripts <ul> <li><code>root/migrations/01-nginx-site-confs-default</code> migrate existing <code>default</code> to <code>default.conf</code></li> <li><code>root/etc/cont-init.d/11-folders</code> creates all the folders needed in <code>/config</code></li> <li><code>root/etc/cont-init.d/12-samples</code> removes existing <code>*.sample</code> files from <code>/config/nginx</code> and copies any included <code>*.sample</code> files from the image</li> <li><code>root/etc/cont-init.d/13-nginx</code> enable required configs (<code>nginx.conf</code>, <code>ssl.conf</code> and <code>default.conf</code>) if they don&rsquo;t exist, setup <code>dhparams.pem</code>, setup <code>resolver.conf</code>, setup <code>worker_processes.conf</code></li> <li><code>root/etc/cont-init.d/14-php</code> configure php</li> <li><code>root/etc/cont-init.d/15-keygen</code> create self signed certificates for <code>ssl.conf</code></li> <li><code>root/etc/cont-init.d/20-permissions</code> set <code>/config</code> permissions</li> <li><code>root/etc/cont-init.d/85-version-checks</code> check all enabled <code>*.conf</code> files against all <code>*.sample</code> files shipped with the image and alert the user about updates</li> </ul> </li> </ul> <p>Status of affected images:</p> <table> <thead> <tr> <th>Image</th> <th>Branch</th> <th>PR</th> <th>Notes</th> </tr> </thead> <tbody> <tr> <td>baseimage-alpine-nginx</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/84">https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/84</a></td> <td></td> </tr> <tr> <td>bookstack</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-bookstack/pull/113">https://github.com/linuxserver/docker-bookstack/pull/113</a></td> <td></td> </tr> <tr> <td>cops</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-cops/pull/34">https://github.com/linuxserver/docker-cops/pull/34</a></td> <td>composer downgraded to v1 for compatibility</td> </tr> <tr> <td>diskover</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-diskover/pull/43">https://github.com/linuxserver/docker-diskover/pull/43</a></td> <td></td> </tr> <tr> <td>dokuwiki</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-dokuwiki/pull/43">https://github.com/linuxserver/docker-dokuwiki/pull/43</a></td> <td></td> </tr> <tr> <td>freshrss</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-freshrss/pull/40">https://github.com/linuxserver/docker-freshrss/pull/40</a></td> <td></td> </tr> <tr> <td>grav</td> <td>main</td> <td><a href="https://github.com/linuxserver/docker-grav/pull/9">https://github.com/linuxserver/docker-grav/pull/9</a></td> <td></td> </tr> <tr> <td>grocy</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-grocy/pull/52">https://github.com/linuxserver/docker-grocy/pull/52</a></td> <td></td> </tr> <tr> <td>heimdall</td> <td>main</td> <td><a href="https://github.com/linuxserver/docker-heimdall/pull/79">https://github.com/linuxserver/docker-heimdall/pull/79</a></td> <td></td> </tr> <tr> <td>librespeed</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-librespeed/pull/15">https://github.com/linuxserver/docker-librespeed/pull/15</a></td> <td></td> </tr> <tr> <td>lychee</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-lychee/pull/51">https://github.com/linuxserver/docker-lychee/pull/51</a></td> <td></td> </tr> <tr> <td>muximux</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-muximux/pull/26">https://github.com/linuxserver/docker-muximux/pull/26</a></td> <td></td> </tr> <tr> <td>nextcloud</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-nextcloud/pull/219">https://github.com/linuxserver/docker-nextcloud/pull/219</a></td> <td></td> </tr> <tr> <td>nginx</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-nginx/pull/79">https://github.com/linuxserver/docker-nginx/pull/79</a></td> <td></td> </tr> <tr> <td>photoshow</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-photoshow/pull/28">https://github.com/linuxserver/docker-photoshow/pull/28</a></td> <td><a href="https://info.linuxserver.io/issues/2022-10-14-photoshow/">Deprecated</a></td> </tr> <tr> <td>phpmyadmin</td> <td>main</td> <td><a href="https://github.com/linuxserver/docker-phpmyadmin/pull/12">https://github.com/linuxserver/docker-phpmyadmin/pull/12</a></td> <td></td> </tr> <tr> <td>piwigo</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-piwigo/pull/49">https://github.com/linuxserver/docker-piwigo/pull/49</a></td> <td></td> </tr> <tr> <td>pixapop</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-pixapop/pull/11">https://github.com/linuxserver/docker-pixapop/pull/11</a></td> <td><a href="https://info.linuxserver.io/issues/2022-10-14-pixapop">Deprecated</a></td> </tr> <tr> <td>projectsend</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-projectsend/pull/22">https://github.com/linuxserver/docker-projectsend/pull/22</a></td> <td></td> </tr> <tr> <td>snapdrop</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-snapdrop/pull/6">https://github.com/linuxserver/docker-snapdrop/pull/6</a></td> <td></td> </tr> <tr> <td>snipe-it</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-snipe-it/pull/28">https://github.com/linuxserver/docker-snipe-it/pull/28</a></td> <td></td> </tr> <tr> <td>swag</td> <td>master</td> <td><a href="https://github.com/linuxserver/docker-swag/pull/169">https://github.com/linuxserver/docker-swag/pull/169</a></td> <td></td> </tr> <tr> <td>xbackbone</td> <td>main</td> <td><a href="https://github.com/linuxserver/docker-xbackbone/pull/5">https://github.com/linuxserver/docker-xbackbone/pull/5</a></td> <td></td> </tr> </tbody> </table> <p>Any images with notes above may not be merged. We will make efforts to update this page if any of the images with notes above are merged at a later date. We may also make individual announcements about status updates regarding these images.</p>New Container: Phpmyadminhttps://info.linuxserver.io/issues/2021-06-14-phpmyadmin/Mon, 14 Jun 2021 00:00:00 +0000https://info.linuxserver.io/issues/2021-06-14-phpmyadmin/<p>We have released a new container for <a href="https://github.com/linuxserver/docker-phpmyadmin">Phpmyadmin</a>!</p> <p><a href="https://github.com/phpmyadmin/phpmyadmin/">Phpmyadmin</a> is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.</p><p>We have released a new container for <a href="https://github.com/linuxserver/docker-phpmyadmin">Phpmyadmin</a>!</p> <p><a href="https://github.com/phpmyadmin/phpmyadmin/">Phpmyadmin</a> is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB.</p>