Open KnappD opened 2 weeks ago
Can you please attach the docker container log?
and the second question, did the "Test Deploy" button works fine in Deploy Daemon?
Can you please attach the docker container log?
What i also found in NC protocol is:
Failure AppApi ExApp flow heartbeat check failed. Make sure that Nextcloud instance and ExApp can reach it other.
I have taken a look at the log file. I'll just paste the last few lines here.
if you need more then let me know
{"log":"The database cluster will be initialized with locale \"C.UTF-8\".\r\n","stream":"stdout","time":"2024-10-18T09:19:43.818508706Z"} {"log":"The default database encoding has accordingly been set to \"UTF8\".\r\n","stream":"stdout","time":"2024-10-18T09:19:43.818517469Z"} {"log":"The default text search configuration will be set to \"english\".\r\n","stream":"stdout","time":"2024-10-18T09:19:43.81852592Z"} {"log":"\r\n","stream":"stdout","time":"2024-10-18T09:19:43.818532832Z"} {"log":"Data page checksums are disabled.\r\n","stream":"stdout","time":"2024-10-18T09:19:43.8185376Z"} {"log":"\r\n","stream":"stdout","time":"2024-10-18T09:19:43.818542416Z"} {"log":"fixing permissions on existing directory /var/lib/postgresql/15/main ... ok\r\n","stream":"stdout","time":"2024-10-18T09:19:43.818557477Z"} {"log":"creating subdirectories ... ok\r\n","stream":"stdout","time":"2024-10-18T09:19:43.819402712Z"} {"log":"selecting dynamic shared memory implementation ... posix\r\n","stream":"stdout","time":"2024-10-18T09:19:43.819466185Z"} {"log":"selecting default max_connections ... 100\r\n","stream":"stdout","time":"2024-10-18T09:19:43.836567923Z"} {"log":"selecting default shared_buffers ... 128MB\r\n","stream":"stdout","time":"2024-10-18T09:19:43.859525325Z"} {"log":"selecting default time zone ... Etc/UTC\r\n","stream":"stdout","time":"2024-10-18T09:19:43.859553354Z"} {"log":"creating configuration files ... ok\r\n","stream":"stdout","time":"2024-10-18T09:19:43.895410825Z"} {"log":"running bootstrap script ... ok\r\n","stream":"stdout","time":"2024-10-18T09:19:44.05100532Z"} {"log":"performing post-bootstrap initialization ... ok\r\n","stream":"stdout","time":"2024-10-18T09:19:44.473654485Z"} {"log":"syncing data to disk ... ok\r\n","stream":"stdout","time":"2024-10-18T09:20:18.133505652Z"} {"log":"invoke-rc.d: could not determine current runlevel\r\n","stream":"stdout","time":"2024-10-18T09:20:18.821838297Z"} {"log":"invoke-rc.d: policy-rc.d denied execution of start.\r\n","stream":"stdout","time":"2024-10-18T09:20:18.825706249Z"} {"log":"Processing triggers for libc-bin (2.36-9+deb12u8) ...\r\n","stream":"stdout","time":"2024-10-18T09:20:19.040674102Z"} {"log":"Starting PostgreSQL...\n","stream":"stdout","time":"2024-10-18T09:20:19.493624064Z"} {"log":"pg_ctl: could not start server\n","stream":"stderr","time":"2024-10-18T09:20:19.738409825Z"} {"log":"Examine the log output.\n","stream":"stderr","time":"2024-10-18T09:20:19.738478945Z"} {"log":"waiting for server to start.... stopped waiting\n","stream":"stdout","time":"2024-10-18T09:20:19.738433634Z"} {"log":"Waiting for PostgreSQL to start...\n","stream":"stdout","time":"2024-10-18T09:20:19.739816302Z"}
I have a rough idea of ββwhat the error is, but I don't know how to fix it yet, I need to reproduce it first.
Can I know what host OS you are using for Docker?
I have a rough idea of ββwhat the error is, but I don't know how to fix it yet, I need to reproduce it first.
Can I know what host OS you are using for Docker?
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
it's not what i thought. can i have the rest of the log? (in the archive)
If you look at the last 2 lines of the log, it looks like it is waiting for the server and PostgreSQL to start. after these two lines nothing more happens in the log
maybe this is a problem?
I also noticed this in the nextcloud log file
This s
I had the same issue, but can't recreate it. After installation the app stayed in unhealthy state. After removing and reinstalling, it works now.
I'm not sure if I have a similar issue, but in https://github.com/nextcloud/flow/commit/e33568e6f93068a94e0daeaf1a0415326cd6d35c the port was changed from 23000 to 24000.
In my logs I get the error
[app_api] Warning: Failed heartbeat on http://localhost:23000 for 10 times. Most recent status=0, error: cURL error 7: Failed to connect to localhost port 23000 after 0 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:23000/heartbeat
In my understanding the check is still looking at port 23000 but windmill is exposed at 24000...
EDIT: Nevermind. In the dockerfile exposed port is 8000. I currently do not understand the project well enough π
How to use GitHub
Steps to reproduce
Expected behaviour
Tell us what should happen
Actual behaviour
HealthCheck brings up errors in Log Failed heartbeat on http://localhost:23001 for 90 times. Most recent status=0, error: cURL error 7: Failed to connect to localhost port 23001: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:23001/heartbeat
Server configuration
Web server: Apache/Nginx
Database: Maria
PHP version: 8.3
Nextcloud version: 30.0.1