[Bug]: Unable to access webserver in latest docker install · Issue #4524 · opensourcepos/opensourcepos · GitHub
Skip to content

[Bug]: Unable to access webserver in latest docker install #4524

Description

@shvmm

🐛 Bug Description

When I enter the URL of the hosted webserver, I see this error:

Image

While this appears in the docker container logging window

shvm@radxa-cubie-a5e:~/opensourcepos$ docker compose up
[+] up 3/3
 ✔ Network opensourcepos_app_net   Created                                                                          0.2s
 ✔ Container mysql                 Created                                                                          0.5s
 ✔ Container opensourcepos-ospos-1 Created                                                                          0.5s
Attaching to mysql, ospos-1
mysql  | 2026-04-21 10:31:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.29+maria~ubu2004 started.
mysql  | 2026-04-21 10:31:15+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql  | 2026-04-21 10:31:15+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.29+maria~ubu2004 started.
ospos-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
ospos-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
ospos-1  | [Tue Apr 21 10:31:15.869956 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.66 (Debian) PHP/8.2.30 configured -- resuming normal operations
ospos-1  | [Tue Apr 21 10:31:15.870181 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
mysql    | 2026-04-21 10:31:16+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
mysql    | 2026-04-21 10:31:16 0 [Note] Starting MariaDB 10.5.29-MariaDB-ubu2004 source revision c461188ca6ad6ec3a54201eb87ebd75797d296df server_uid QTEX5q8+kIw2QgEtyeNue1cMPqQ= as process 1
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Uses event mutexes
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Number of pools: 1
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Using ARMv8 crc32 + pmull instructions
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Using Linux native AIO
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Completed initialization of buffer pool
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: 128 rollback segments are active.
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: 10.5.29 started; log sequence number 45115; transaction id 20
mysql    | 2026-04-21 10:31:16 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql    | 2026-04-21 10:31:16 0 [Note] InnoDB: Buffer pool(s) load completed at 260421 10:31:16
mysql    | 2026-04-21 10:31:16 0 [Note] Server socket created on IP: '::'.
mysql    | 2026-04-21 10:31:16 0 [Note] Reading of all Master_info entries succeeded
mysql    | 2026-04-21 10:31:16 0 [Note] Added new Master_info '' to hash table
mysql    | 2026-04-21 10:31:16 0 [Note] mysqld: ready for connections.
mysql    | Version: '10.5.29-MariaDB-ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
ospos-1  | 192.168.1.5 - - [21/Apr/2026:10:31:18 +0000] "GET / HTTP/1.1" 500 211 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0"
ospos-1  | 192.168.1.5 - - [21/Apr/2026:10:31:20 +0000] "GET / HTTP/1.1" 500 211 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0"
ospos-1  | 192.168.1.5 - - [21/Apr/2026:10:32:11 +0000] "-" 408 0 "-" "-"

📋 Steps to Reproduce

git clone the latest master branch
git clone https://github.com/opensourcepos/opensourcepos.git
cd to the created directory and do docker compose config

Apache and PHP versions of the container given below
ospos-1 | [Tue Apr 21 10:31:15.869956 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.66 (Debian) PHP/8.2.30 configured -- resuming normal operations

✅ Expected Behavior

I should be able to access the webserver of opensource POS

📦 OpenSourcePOS Version

development (unreleased)

🔧 PHP Version

PHP 8.2

🌐 Browser(s)

Microsoft Edge

🖥️ Server Operating System

Debian Trixie 13.3

🗄️ Database

[Note] Starting MariaDB 10.5.29-MariaDB-ubu2004 source revision c461188ca6ad6ec3a54201eb87ebd75797d296df server_uid QTEX5q8+kIw2QgEtyeNue1cMPqQ= as process 1

🌍 Web Server

Apache/2.4.66 (Debian)

📊 System Information Report

Can't

📜 Relevant Log Output

shvm@radxa-cubie-a5e:~/opensourcepos$ docker compose build
WARN[0000] No services to build
shvm@radxa-cubie-a5e:~/opensourcepos$ docker compose up
[+] up 39/39
 ✔ Image jekkos/opensourcepos:master Pulled                                                                       166.6s
 ✔ Image mariadb:10.5                Pulled                                                                       125.3s
 ✔ Network opensourcepos_app_net     Created                                                                        0.2s
 ✔ Volume opensourcepos_uploads      Created                                                                        0.0s
 ✔ Volume opensourcepos_logs         Created                                                                        0.0s
 ✔ Volume opensourcepos_mysql        Created                                                                        0.0s
 ✔ Container mysql                   Created                                                                        8.1s
 ✔ Container opensourcepos-ospos-1   Created                                                                        0.5s
Attaching to mysql, ospos-1
mysql  | 2026-04-21 10:11:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.29+maria~ubu2004 started.
mysql  | 2026-04-21 10:11:16+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql  | 2026-04-21 10:11:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.29+maria~ubu2004 started.
ospos-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
ospos-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
ospos-1  | [Tue Apr 21 10:11:17.025712 2026] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.66 (Debian) PHP/8.2.30 configured -- resuming normal operations
ospos-1  | [Tue Apr 21 10:11:17.025875 2026] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
mysql    | 2026-04-21 10:11:17+00:00 [Note] [Entrypoint]: Initializing database files
mysql    | 2026-04-21 10:11:20+00:00 [Note] [Entrypoint]: Database files initialized
mysql    | 2026-04-21 10:11:20+00:00 [Note] [Entrypoint]: Starting temporary server
mysql    | 2026-04-21 10:11:20+00:00 [Note] [Entrypoint]: Waiting for server startup
mysql    | 2026-04-21 10:11:20 0 [Note] Starting MariaDB 10.5.29-MariaDB-ubu2004 source revision c461188ca6ad6ec3a54201eb87ebd75797d296df server_uid XWas4+cNQnmx+uII4s+V4HbRLCA= as process 104
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Uses event mutexes
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Number of pools: 1
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Using ARMv8 crc32 + pmull instructions
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Using Linux native AIO
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Completed initialization of buffer pool
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: 128 rollback segments are active.
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql    | 2026-04-21 10:11:20 0 [Note] InnoDB: 10.5.29 started; log sequence number 45091; transaction id 20
mysql    | 2026-04-21 10:11:20 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql    | 2026-04-21 10:11:20 0 [Note] Reading of all Master_info entries succeeded
mysql    | 2026-04-21 10:11:20 0 [Note] Added new Master_info '' to hash table
mysql    | 2026-04-21 10:11:20 0 [Note] mysqld: ready for connections.
mysql    | Version: '10.5.29-MariaDB-ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
mysql    | 2026-04-21 10:11:21+00:00 [Note] [Entrypoint]: Temporary server started.
mysql    | 2026-04-21 10:11:34+00:00 [Note] [Entrypoint]: Creating database ospos
mysql    | 2026-04-21 10:11:34+00:00 [Note] [Entrypoint]: Creating user admin
mysql    | 2026-04-21 10:11:34+00:00 [Note] [Entrypoint]: Giving user admin access to schema ospos
mysql    | 2026-04-21 10:11:35+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
mysql    |
mysql    | 2026-04-21 10:11:35+00:00 [Note] [Entrypoint]: Stopping temporary server
mysql    | 2026-04-21 10:11:35 0 [Note] mysqld (initiated by: unknown): Normal shutdown
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: FTS optimize thread exiting.
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Starting shutdown...
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Buffer pool(s) dump completed at 260421 10:11:35
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Shutdown completed; log sequence number 45103; transaction id 21
mysql    | 2026-04-21 10:11:35 0 [Note] Event Scheduler: Purging the queue. 0 events
mysql    | 2026-04-21 10:11:35 0 [Note] mysqld: Shutdown complete
mysql    | 2026-04-21 10:11:35+00:00 [Note] [Entrypoint]: Temporary server stopped
mysql    |
mysql    | 2026-04-21 10:11:35+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
mysql    |
mysql    | 2026-04-21 10:11:35 0 [Note] Starting MariaDB 10.5.29-MariaDB-ubu2004 source revision c461188ca6ad6ec3a54201eb87ebd75797d296df server_uid XWas4+cNQnmx+uII4s+V4HbRLCA= as process 1
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Uses event mutexes
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Number of pools: 1
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Using ARMv8 crc32 + pmull instructions
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Using Linux native AIO
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Completed initialization of buffer pool
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: 128 rollback segments are active.
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: 10.5.29 started; log sequence number 45103; transaction id 20
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql    | 2026-04-21 10:11:35 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql    | 2026-04-21 10:11:35 0 [Note] InnoDB: Buffer pool(s) load completed at 260421 10:11:35
mysql    | 2026-04-21 10:11:35 0 [Note] Server socket created on IP: '::'.
mysql    | 2026-04-21 10:11:35 0 [Note] Reading of all Master_info entries succeeded
mysql    | 2026-04-21 10:11:35 0 [Note] Added new Master_info '' to hash table
mysql    | 2026-04-21 10:11:35 0 [Note] mysqld: ready for connections.
mysql    | Version: '10.5.29-MariaDB-ubu2004'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
ospos-1  | 192.168.1.5 - - [21/Apr/2026:10:27:38 +0000] "GET / HTTP/1.1" 500 211 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0"
ospos-1  | 192.168.1.5 - - [21/Apr/2026:10:28:29 +0000] "-" 408 0 "-" "-"
shvm@radxa-cubie-a5e:~/opensourcepos$ docker compose down

📸 Screenshots

Image Image

✓ Confirmation

  • I certify that this is an unmodified copy of OpenSourcePOS
  • I have searched existing issues to ensure this bug has not already been reported
  • I have provided all the information requested above

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions