Coder Social home page Coder Social logo

docker-whmcs's People

Contributors

papoms 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-whmcs's Issues

Can't connect to database

I'm trying to set this up for local development.

Steps

I cloned the repo using Git Hub CLI and edit the volumes in the docker-compose-local.yml to mount the WHMCS files correctly. When I go to localhost in a browser, I get, "Critical Error: could not connect to the database"
Screen Shot 2023-04-24 at 10 32 40 AM

I can verify that the whmcs files are there:
Screen Shot 2023-04-24 at 10 34 18 AM

Also, I can verify that MySQL is running but there are not databases except the default.
Screen Shot 2023-04-24 at 10 35 42 AM

Is there a step I'm missing to create the database and load it? If so can you point me in the right direction?

Docker output:

MYSQL | [Entrypoint] MySQL Docker Image 5.7.41-1.2.11-server
MYSQL | [Entrypoint] Initializing database
MYSQL | 2023-04-24T14:30:16.946910Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
MYSQL | 2023-04-24T14:30:16.999270Z 0 [ERROR] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
MYSQL | 2023-04-24T14:30:17.001285Z 0 [Warning] InnoDB: Linux Native AIO disabled.
MYSQL | 2023-04-24T14:30:17.378934Z 0 [Warning] InnoDB: New log files created, LSN=45790
MYSQL | 2023-04-24T14:30:17.479199Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
MYSQL | 2023-04-24T14:30:17.588561Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 88cf1f83-e2ac-11ed-8556-0242ac121202.
MYSQL | 2023-04-24T14:30:17.594274Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
MYSQL | 2023-04-24T14:30:18.439967Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
MYSQL | 2023-04-24T14:30:18.440043Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
MYSQL | 2023-04-24T14:30:18.447932Z 0 [Warning] CA certificate ca.pem is self signed.
MYSQL | 2023-04-24T14:30:18.841755Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
MYSQL | [Entrypoint] Database initialized
MYSQL | 2023-04-24T14:30:22.346968Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
MYSQL | 2023-04-24T14:30:22.353998Z 0 [Note] mysqld (mysqld 5.7.41) starting as process 75 ...
MYSQL | 2023-04-24T14:30:22.393383Z 0 [Note] InnoDB: PUNCH HOLE support available
MYSQL | 2023-04-24T14:30:22.395076Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
MYSQL | 2023-04-24T14:30:22.395163Z 0 [Note] InnoDB: Uses event mutexes
MYSQL | 2023-04-24T14:30:22.395257Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
MYSQL | 2023-04-24T14:30:22.395353Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
MYSQL | 2023-04-24T14:30:22.395427Z 0 [Note] InnoDB: Using Linux native AIO
MYSQL | 2023-04-24T14:30:22.400651Z 0 [Note] InnoDB: Number of pools: 1
MYSQL | 2023-04-24T14:30:22.402175Z 0 [Note] InnoDB: Using CPU crc32 instructions
MYSQL | 2023-04-24T14:30:22.405218Z 0 [ERROR] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
MYSQL | 2023-04-24T14:30:22.405391Z 0 [Note] InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
MYSQL | 2023-04-24T14:30:22.405762Z 0 [Warning] InnoDB: Linux Native AIO disabled.
MYSQL | 2023-04-24T14:30:22.408901Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
MYSQL | 2023-04-24T14:30:22.455577Z 0 [Note] InnoDB: Completed initialization of buffer pool
MYSQL | 2023-04-24T14:30:22.476421Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
MYSQL | 2023-04-24T14:30:22.499346Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
MYSQL | 2023-04-24T14:30:22.565429Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
MYSQL | 2023-04-24T14:30:22.568491Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
MYSQL | 2023-04-24T14:30:22.586461Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
MYSQL | 2023-04-24T14:30:22.591953Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
MYSQL | 2023-04-24T14:30:22.592034Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
MYSQL | 2023-04-24T14:30:22.600449Z 0 [Note] InnoDB: Waiting for purge to start
MYSQL | 2023-04-24T14:30:22.656844Z 0 [Note] InnoDB: 5.7.41 started; log sequence number 2762314
MYSQL | 2023-04-24T14:30:22.659633Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
MYSQL | 2023-04-24T14:30:22.667399Z 0 [Note] Plugin 'FEDERATED' is disabled.
MYSQL | 2023-04-24T14:30:22.692031Z 0 [Note] InnoDB: Buffer pool(s) load completed at 230424 14:30:22
MYSQL | 2023-04-24T14:30:22.716591Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
MYSQL | 2023-04-24T14:30:22.716648Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
MYSQL | 2023-04-24T14:30:22.716729Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
MYSQL | 2023-04-24T14:30:22.716768Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
MYSQL | 2023-04-24T14:30:22.730434Z 0 [Warning] CA certificate ca.pem is self signed.
MYSQL | 2023-04-24T14:30:22.731369Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
MYSQL | 2023-04-24T14:30:22.782296Z 0 [Note] Event Scheduler: Loaded 0 events
MYSQL | 2023-04-24T14:30:22.783842Z 0 [Note] mysqld: ready for connections.
MYSQL | Version: '5.7.41'  socket: '/var/lib/mysql/mysql.sock'  port: 0  MySQL Community Server (GPL)
MYSQL | 2023-04-24T14:30:22.964667Z 3 [Note] InnoDB: Stopping purge
MYSQL | 2023-04-24T14:30:22.985963Z 3 [Note] InnoDB: Resuming purge
MYSQL | 2023-04-24T14:30:22.994514Z 3 [Note] InnoDB: Stopping purge
MYSQL | 2023-04-24T14:30:23.011252Z 3 [Note] InnoDB: Resuming purge
MYSQL | 2023-04-24T14:30:23.013565Z 3 [Note] InnoDB: Stopping purge
MYSQL | 2023-04-24T14:30:23.016692Z 3 [Note] InnoDB: Resuming purge
MYSQL | 2023-04-24T14:30:23.018407Z 3 [Note] InnoDB: Stopping purge
MYSQL | 2023-04-24T14:30:23.022497Z 3 [Note] InnoDB: Resuming purge
MYSQL | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
MYSQL | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
MYSQL | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
MYSQL | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
MYSQL | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
MYSQL | 
MYSQL | [Entrypoint] ignoring /docker-entrypoint-initdb.d/*
MYSQL | 
MYSQL | 2023-04-24T14:30:28.351132Z 0 [Note] Giving 0 client threads a chance to die gracefully
MYSQL | 2023-04-24T14:30:28.351253Z 0 [Note] Shutting down slave threads
MYSQL | 2023-04-24T14:30:28.351335Z 0 [Note] Forcefully disconnecting 0 remaining clients
MYSQL | 2023-04-24T14:30:28.351657Z 0 [Note] Event Scheduler: Purging the queue. 0 events
MYSQL | 2023-04-24T14:30:28.352286Z 0 [Note] Binlog end
MYSQL | 2023-04-24T14:30:28.357400Z 0 [Note] Shutting down plugin 'ngram'
MYSQL | 2023-04-24T14:30:28.357635Z 0 [Note] Shutting down plugin 'partition'
MYSQL | 2023-04-24T14:30:28.357730Z 0 [Note] Shutting down plugin 'BLACKHOLE'
MYSQL | 2023-04-24T14:30:28.357765Z 0 [Note] Shutting down plugin 'ARCHIVE'
MYSQL | 2023-04-24T14:30:28.357773Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
MYSQL | 2023-04-24T14:30:28.358084Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
MYSQL | 2023-04-24T14:30:28.358137Z 0 [Note] Shutting down plugin 'MyISAM'
MYSQL | 2023-04-24T14:30:28.358338Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
MYSQL | 2023-04-24T14:30:28.358395Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
MYSQL | 2023-04-24T14:30:28.358406Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
MYSQL | 2023-04-24T14:30:28.358413Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
MYSQL | 2023-04-24T14:30:28.358419Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
MYSQL | 2023-04-24T14:30:28.358425Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
MYSQL | 2023-04-24T14:30:28.358431Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
MYSQL | 2023-04-24T14:30:28.358437Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
MYSQL | 2023-04-24T14:30:28.358443Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
MYSQL | 2023-04-24T14:30:28.358449Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
MYSQL | 2023-04-24T14:30:28.358455Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
MYSQL | 2023-04-24T14:30:28.358461Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
MYSQL | 2023-04-24T14:30:28.358661Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
MYSQL | 2023-04-24T14:30:28.358690Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
MYSQL | 2023-04-24T14:30:28.358699Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
MYSQL | 2023-04-24T14:30:28.358706Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
MYSQL | 2023-04-24T14:30:28.358713Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
MYSQL | 2023-04-24T14:30:28.358720Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
MYSQL | 2023-04-24T14:30:28.358742Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
MYSQL | 2023-04-24T14:30:28.358752Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
MYSQL | 2023-04-24T14:30:28.358774Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
MYSQL | 2023-04-24T14:30:28.358785Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
MYSQL | 2023-04-24T14:30:28.358797Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
MYSQL | 2023-04-24T14:30:28.358804Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
MYSQL | 2023-04-24T14:30:28.358811Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
MYSQL | 2023-04-24T14:30:28.358817Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
MYSQL | 2023-04-24T14:30:28.358823Z 0 [Note] Shutting down plugin 'INNODB_CMP'
MYSQL | 2023-04-24T14:30:28.358829Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
MYSQL | 2023-04-24T14:30:28.358850Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
MYSQL | 2023-04-24T14:30:28.358857Z 0 [Note] Shutting down plugin 'INNODB_TRX'
MYSQL | 2023-04-24T14:30:28.358874Z 0 [Note] Shutting down plugin 'InnoDB'
MYSQL | 2023-04-24T14:30:28.359766Z 0 [Note] InnoDB: FTS optimize thread exiting.
MYSQL | 2023-04-24T14:30:28.361590Z 0 [Note] InnoDB: Starting shutdown...
MYSQL | 2023-04-24T14:30:28.468440Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
MYSQL | 2023-04-24T14:30:28.470032Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 230424 14:30:28
MYSQL | 2023-04-24T14:30:29.280032Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12184404
MYSQL | 2023-04-24T14:30:29.283559Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
MYSQL | 2023-04-24T14:30:29.283850Z 0 [Note] Shutting down plugin 'MEMORY'
MYSQL | 2023-04-24T14:30:29.284016Z 0 [Note] Shutting down plugin 'CSV'
MYSQL | 2023-04-24T14:30:29.284101Z 0 [Note] Shutting down plugin 'sha256_password'
MYSQL | 2023-04-24T14:30:29.284122Z 0 [Note] Shutting down plugin 'mysql_native_password'
MYSQL | 2023-04-24T14:30:29.284616Z 0 [Note] Shutting down plugin 'binlog'
MYSQL | 2023-04-24T14:30:29.297670Z 0 [Note] mysqld: Shutdown complete
MYSQL | 
MYSQL | [Entrypoint] Server shut down
MYSQL | 
MYSQL | [Entrypoint] MySQL init process done. Ready for start up.
MYSQL | 
MYSQL | [Entrypoint] Starting MySQL 5.7.41-1.2.11-server
MYSQL | 2023-04-24T14:30:29.672299Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
MYSQL | 2023-04-24T14:30:29.677723Z 0 [Note] mysqld (mysqld 5.7.41) starting as process 1 ...
MYSQL | 2023-04-24T14:30:29.711456Z 0 [Note] InnoDB: PUNCH HOLE support available
MYSQL | 2023-04-24T14:30:29.712870Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
MYSQL | 2023-04-24T14:30:29.712949Z 0 [Note] InnoDB: Uses event mutexes
MYSQL | 2023-04-24T14:30:29.713038Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
MYSQL | 2023-04-24T14:30:29.713117Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
MYSQL | 2023-04-24T14:30:29.713177Z 0 [Note] InnoDB: Using Linux native AIO
MYSQL | 2023-04-24T14:30:29.717897Z 0 [Note] InnoDB: Number of pools: 1
MYSQL | 2023-04-24T14:30:29.719285Z 0 [Note] InnoDB: Using CPU crc32 instructions
MYSQL | 2023-04-24T14:30:29.721400Z 0 [ERROR] InnoDB: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
MYSQL | 2023-04-24T14:30:29.721666Z 0 [Note] InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf
MYSQL | 2023-04-24T14:30:29.721852Z 0 [Warning] InnoDB: Linux Native AIO disabled.
MYSQL | 2023-04-24T14:30:29.724870Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
MYSQL | 2023-04-24T14:30:29.768392Z 0 [Note] InnoDB: Completed initialization of buffer pool
MYSQL | 2023-04-24T14:30:29.785460Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
MYSQL | 2023-04-24T14:30:29.807434Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
MYSQL | 2023-04-24T14:30:29.876458Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
MYSQL | 2023-04-24T14:30:29.878232Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
MYSQL | 2023-04-24T14:30:29.895971Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
MYSQL | 2023-04-24T14:30:29.901839Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
MYSQL | 2023-04-24T14:30:29.901929Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
MYSQL | 2023-04-24T14:30:29.908765Z 0 [Note] InnoDB: Waiting for purge to start
MYSQL | 2023-04-24T14:30:29.962662Z 0 [Note] InnoDB: 5.7.41 started; log sequence number 12184404
MYSQL | 2023-04-24T14:30:29.965706Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
MYSQL | 2023-04-24T14:30:29.973220Z 0 [Note] Plugin 'FEDERATED' is disabled.
MYSQL | 2023-04-24T14:30:30.015674Z 0 [Note] InnoDB: Buffer pool(s) load completed at 230424 14:30:30
MYSQL | 2023-04-24T14:30:30.017775Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
MYSQL | 2023-04-24T14:30:30.017848Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
MYSQL | 2023-04-24T14:30:30.017925Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
MYSQL | 2023-04-24T14:30:30.017954Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
MYSQL | 2023-04-24T14:30:30.034172Z 0 [Warning] CA certificate ca.pem is self signed.
MYSQL | 2023-04-24T14:30:30.035184Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
MYSQL | 2023-04-24T14:30:30.038372Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
MYSQL | 2023-04-24T14:30:30.039163Z 0 [Note] IPv6 is available.
MYSQL | 2023-04-24T14:30:30.039881Z 0 [Note]   - '::' resolves to '::';
MYSQL | 2023-04-24T14:30:30.040204Z 0 [Note] Server socket created on IP: '::'.
MYSQL | 2023-04-24T14:30:30.092072Z 0 [Note] Event Scheduler: Loaded 0 events
MYSQL | 2023-04-24T14:30:30.093432Z 0 [Note] mysqld: ready for connections.
MYSQL | Version: '5.7.41'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL)
WHMCS | *** Running /etc/my_init.d/10_add_user_app.sh...
WHMCS | 
WHMCS | -----------------------------------
WHMCS | GID/UID
WHMCS | -----------------------------------
WHMCS | User uid:    1000
WHMCS | User gid:    1000
WHMCS | -----------------------------------
WHMCS | 
WHMCS | *** Running /etc/my_init.d/10_syslog-ng.init...
WHMCS | Apr 24 21:30:17 whmcs syslog-ng[70]: syslog-ng starting up; version='3.13.2'
WHMCS | *** Running /etc/my_init.d/50_mail_relay.sh...
WHMCS | *** Running /etc/my_init.d/51_setup_nginx.sh...
WHMCS | *** Running /etc/my_init.d/90_configure.php.sh...
WHMCS | *** Running /etc/my_init.d/99_setup_ssh.sh...
WHMCS | *** Booting runit daemon...
WHMCS | *** Runit started as PID 242
WHMCS | 2023/04/24 21:30:20 [emerg] 265#265: io_setup() failed (38: Function not implemented)
WHMCS | 2023/04/24 21:30:20 [emerg] 270#270: io_setup() failed (38: Function not implemented)
WHMCS | 2023/04/24 21:30:20 [emerg] 267#267: io_setup() failed (38: Function not implemented)
WHMCS | 2023/04/24 21:30:20 [emerg] 269#269: io_setup() failed (38: Function not implemented)
WHMCS | 2023/04/24 21:32:37 [error] 265#265: *5 open() "/var/www/whmcs/apple-touch-icon-precomposed.png" failed (2: No such file or directory), client: 172.18.18.1, server: whmcs.test, request: "GET /apple-touch-icon-precomposed.png HTTP/1.1", host: "localhost"
WHMCS | 2023/04/24 21:32:37 [error] 269#269: *7 open() "/var/www/whmcs/favicon.ico" failed (2: No such file or directory), client: 172.18.18.1, server: whmcs.test, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
WHMCS | 2023/04/24 21:32:37 [error] 267#267: *6 open() "/var/www/whmcs/apple-touch-icon.png" failed (2: No such file or directory), client: 172.18.18.1, server: whmcs.test, request: "GET /apple-touch-icon.png HTTP/1.1", host: "localhost"
MAILHOG | 2023/04/24 14:30:16 Using in-memory storage
MAILHOG | 2023/04/24 14:30:16 [SMTP] Binding to address: 0.0.0.0:1025
MAILHOG | [HTTP] Binding to address: 0.0.0.0:8025
MAILHOG | 2023/04/24 14:30:16 Serving under http://0.0.0.0:8025/
MAILHOG | Creating API v1 with WebPath: 
MAILHOG | Creating API v2 with WebPath: 
MAILHOG | [APIv1] KEEPALIVE /api/v1/events
MAILHOG | [APIv1] KEEPALIVE /api/v1/events
MAILHOG | [APIv1] KEEPALIVE /api/v1/events
MAILHOG | [APIv1] KEEPALIVE /api/v1/events
MAILHOG | [APIv1] KEEPALIVE /api/v1/events
MAILHOG | [APIv1] KEEPALIVE /api/v1/events
MAILHOG | [APIv1] KEEPALIVE /api/v1/events

More a question than an issue

First my apologies for opening an issue as I don't technically have an issue.

I do however have a question regarding IP, specifically how your using WHMCS_SERVER_IP...

I've setup my own Dockerfile and successfully build a web container that runs WHMCS without a hitch in all it's glory (including cron, email and everything required to run WHMCS on Google Cloud Compute Instance as a production site - because I recently dumped/took all our our dedicated servers with cPanel running of line)

Being I'm not using your repo (as I like to build my own docker projects from scratch without relying on others)

The only problem I've run into is setting my compute instance static IP to the WHMCS web container and I'm a bit unsure on how to do that. And I really need it as Google has already migrated my instance once and the internal IP changed for the container which meant I had to reissue my WHMCS license. Not a big deal, as long as I keep an eye on it - but for completeness and a no worries type situation I know I need to get that added to the container or rebuild it with that in mind.

On that note I've pretty much been through your entire repo in an effort to try and figure out exactly where the variable gets sets without any luck.

Would it be possible for you to explain where the WHMCS_SERVER_IP gets set in the actual container? What file on the host container needs the IP added to during build for the IP to stick between server/instance restarts.

Again, apologies for opening a non-issue but any help you can provide would be greatly appreciated!

Thank You,
sidgrafix

What version of ioncube?

Hello,
Thanks for making this docker package! Question, what version of ioncube is loaded? I have a plugin that requires v10+ so wanted to confirm. Thanks in advance!
Ed

Admin Login Loop

WHMCS 8.1.3 installed fine yet when I try to login to the admin area it just redirects to the login form. If I enter incorrect details it will return an error, if I enter correct details it loads the login form again, if I use correct details 3 times I get IP banned, checking remember me does nothing.

Cron not started

Hi on my latest deployment, cron is not started ( no pid ).

I check that there is no longer cron and sshd in the /root/etc/service. Have you remove it on the latest commit ?

PHP_HOST missing prevents nginx starting

Starting using docker-compose-local.yml fails to work with the error
invalid number of arguments in "fastcgi_param" directive in /etc/nginx/conf.d/default.conf:44
Searching the /root/app/default_vhosts

fastcgi_param SERVER_NAME {{ default .Env.PHP_VHOST "whmcs.local" }};
seems to refer to PHP_HOST which isn't part of the required build environment, and defaults to whmcs.local, which doesn't exist either...

Defined PHP_VHOST in my whmcs:environment: and it starts -- but something is missing from the default build?

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.