Skip to content

Instantly share code, notes, and snippets.

View babarinde's full-sized avatar

Odewumi Babarinde babarinde

View GitHub Profile
-----> uname: Linux hil-staging-dokku-server 5.15.0-1039-azure #46~20.04.1-Ubuntu SMP Mon May 22 19:42:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
total used free shared buff/cache available
Mem: 6943 592 2254 4 4097 6169
Swap: 0 0 0
-----> docker version:
Client: Docker Engine - Community
Version: 20.10.6
API version: 1.41
Go version: go1.13.15
remote: Error: ./node_modules/xml/lib/xml.js
remote: Module not found: Error: Can't resolve 'stream' in '/app/node_modules/xml/lib'
remote: resolve 'stream' in '/app/node_modules/xml/lib'
remote: Parsed request is a module
remote: using description file: /app/node_modules/xml/package.json (relative path: ./lib)
remote: Field 'browser' doesn't contain a valid alias configuration
remote: resolve as module
remote: looking for modules in /app
remote: using description file: /app/package.json (relative path: .)
remote: Field 'browser' doesn't contain a valid alias configuration
remote: Step 1/10 : FROM node:12-alpine
remote: ---> deeae3752431
remote: Step 2/10 : RUN mkdir -p /app
remote: ---> Using cache
remote: ---> b98aa162fe4b
remote: Step 3/10 : WORKDIR /app
remote: ---> Using cache
remote: ---> 1025f71cf9a6
remote: Step 4/10 : COPY package.json /app
remote: ---> Using cache
For Buildpack: ----------------
deploy/live-hil-website-web rs/live-hil-website-web-855954fb6d added
# deploy/live-hil-website-web po/live-hil-website-web-855954fb6d-85gpw added
# deploy/live-hil-website-web event: po/live-hil-website-web-855954fb6d-85gpw Pulling: Pulling image "hilmiddlewareregistry.azurecr.io/dokku/live-hil-website:1"
# deploy/live-hil-website-web event: po/live-hil-website-web-855954fb6d-85gpw Pulled: Successfully pulled image "hilmiddlewareregistry.azurecr.io/dokku/live-hil-website:1" in 55.935877736s
# deploy/live-hil-website-web event: po/live-hil-website-web-855954fb6d-85gpw Created: Created container live-hil-website-web
# deploy/live-hil-website-web event: po/live-hil-website-web-855954fb6d-85gpw Failed: Error: failed to create containerd task: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "/start web": stat /start web: no such file or directory: unknown
# deploy/live-hil-website-web event: po/live-hil-website-web-855954fb6d-85gpw Pullin
Swoole is running at 0.0.0.0:5000, in /var/www
Worker started in /var/www with ID 0
Worker started in /var/www with ID 3
Worker started in /var/www with ID 7
Worker started in /var/www with ID 6
Worker started in /var/www with ID 1
Worker started in /var/www with ID 2
Worker started in /var/www with ID 5
Worker started in /var/www with ID 4
10.240.0.6 - - [31/May/2021:19:06:45 +0000] "GET / HTTP/1.1" 500 28
const express = require('express');
const app = express();
app.use(express.static('./dist/retail-web'));
app.get('/*', function (req, res) {
res.sendFile('index.html', { root: 'dist/retail-web' }
);
});
FROM phpswoole/swoole:4.6.7-php8.0
ENV DISABLE_DEFAULT_SERVER=1
RUN apt-get update
#for mongodb driver
RUN apt-get install -y openssl libcurl4-openssl-dev pkg-config libssl-dev git
RUN pecl install mongodb \
&& docker-php-ext-enable mongodb
@babarinde
babarinde / debug.log
Created May 13, 2021 09:18
debug.log
495<?xml version="1.0" encoding="iso-8859-1"?>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/public/index.php" language="PHP" xdebug:language_version="8.0.3" protocol_version="1.0" appid="1" idekey="hantaohuang"><engine version="0.3.7"><![CDATA[Yasd]]></engine><author><![CDATA[Codinghuang]]></author><url><![CDATA[https://github.com/swoole/yasd]]></url><copyright><![CDATA[Copyright (c) 2020-2021 by Codinghuang]]></copyright></init>
feature_get -i 1 -n resolved_breakpoints
495<?xml version="1.0" encoding="iso-8859-1"?>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/public/index.php" language="PHP" xdebug:language_version="8.0.3" protocol_version="1.0" appid="1" idekey="hantaohuang"><engine version="0.3.7"><![CDATA[Yasd]]></engine><author><![CDATA[Codinghuang]]></author><url><![CDATA[https://github.com/swoole/yasd]]></url><copyright><![CDATA[Copyright (c) 2020-2021 by Codinghuang]]></
FROM phpswoole/swoole:4.6.6-php8.0-dev
ENV DISABLE_DEFAULT_SERVER=1
RUN apt-get update
#for mongodb driver
RUN apt-get install -y openssl libcurl4-openssl-dev pkg-config libssl-dev libboost-all-dev
RUN pecl install mongodb \
&& pecl install inotify \
&& docker-php-ext-enable mongodb
[2021-05-12 23:14:51 *18.1] DEBUG operator()(:241): pop 1 event: 1620861291.988451
[2021-05-12 23:14:51 *18.1] TRACE operator()(:258): aio_thread failed. ret=0, error=0
[2021-05-12 23:14:51 *18.1] TRACE finish(:356): worker_id=1, type=0
[2021-05-12 23:14:51 *18.1] DEBUG operator()(:241): no event: 1620861291.989472
[2021-05-12 23:14:51 #1.1] TRACE send(:744): send 192/192 bytes, errno=11
[2021-05-12 23:14:52 #1.2] TRACE recv(:718): recv 0/65536 bytes, errno=11
[2021-05-12 23:14:52 #1.2] TRACE ReactorThread_onClose(:306): client[fd=22] close the connection
[2021-05-12 23:14:52 #1.2] TRACE del(:149): remove event[reactor_id=2|fd=22]
[2021-05-12 23:14:52 *19.2] TRACE end(:383): session_id=4, fd=22
[2021-05-12 23:14:52 *19.2] TRACE finish(:356): worker_id=2, type=3