Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow App empty #19

Open
q-wertz opened this issue Oct 23, 2024 · 2 comments
Open

Flow App empty #19

q-wertz opened this issue Oct 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@q-wertz
Copy link

q-wertz commented Oct 23, 2024

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Have a "manual" NC installation on nginx
  2. Install docker on the same machine
  3. Install docker-socket-proxy using (according to Readme)
    docker run -e NC_HAPROXY_PASSWORD="some_secure_password" \
      -v /var/run/docker.sock:/var/run/docker.sock \
      --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp \
      --restart unless-stopped --privileged -d ghcr.io/nextcloud/nextcloud-appapi-dsp:release
    (I also tried some other things e.g. the command from the upstream Tecnativ repo)
  4. Add www-data to group docker (didn’t get it working otherwise using the socket, not sure if this should be necessary with option --privileged)
  5. Reboot your machine
  6. Make sure webhook listeners is enabled
    sudo -u www-data ./occ app:enable webhook_listeners
  7. In Administration settings section AppApi create new deploy daemon
    Image
    -> "Check connection" is working ✅
    -> Test deploy is working ✅
  8. In External Apps activate Flow

Expected behaviour

App icon appears in the app list and I can access the Flow app.

Actual behaviour

A broken app icon appears (but only for admins). When clicking on it, the area where the app should appear stays empty.

I'm not to experienced but some things I observed:

  1. docker container ls
    root@host:/home/user# docker container ls
    CONTAINER ID   IMAGE                                            COMMAND                  CREATED          STATUS                    PORTS     NAMES
    915b4775433f   ghcr.io/cloud-py-api/flow:1.0.1                  "/bin/sh /ex_app_scr…"   39 minutes ago   Up 34 minutes                       nc_app_flow
    c3e850b5fc10   ghcr.io/nextcloud/nextcloud-appapi-dsp:release   "/bin/bash start.sh"     57 minutes ago   Up 34 minutes (healthy)             nextcloud-appapi-dsp
    

    Is it ok, that Ports are blank?

  2. Running wget localhost:8000 on the host gives me the following index.html (which looks correct to me):

    index.html
    <!DOCTYPE html>
    <html lang="en">
    	<head>
    		<meta charset="utf-8" />
    		<link rel="icon" href="/logo.svg" />
    		<style type="text/css">
    			.st2 {
    				fill: #bcd4fc;
    			}
    
    			.st3 {
    				fill: #3b82f6;
    			}
    
    			/* Background color for dark mode */
    			@media (prefers-color-scheme: dark) {
    				#mainbg {
    					background-color: #3b4252; /* Example: dark gray background for dark mode */
    				}
    				#loading-text {
    					color: #a8aeb7 !important;
    				}
    			}
    		</style>
    		<meta name="viewport" content="width=device-width, initial-scale=1" />
    		
    		<link rel="modulepreload" href="/index.php/apps/app_api/proxy/flow/_app/immutable/entry/start.XIh8MW10.js">
    		<link rel="modulepreload" href="/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/entry.BXIwEY11.js">
    		<link rel="modulepreload" href="/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/scheduler.CA2_PNCd.js">
    		<link rel="modulepreload" href="/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/index.Ba4bOAI_.js">
    		<link rel="modulepreload" href="/index.php/apps/app_api/proxy/flow/_app/immutable/entry/app.v96pEcgV.js">
    		<link rel="modulepreload" href="/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/empty.CpQCIcoz.js">
    		<link rel="modulepreload" href="/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/index.D0eu0pGM.js">
    	</head>
    	<body data-sveltekit-preload-code="viewport" class="outline-none focus:outline-none">
    		<div style="display: contents">
    			<div id="mainbg" style="position: absolute; bottom: 0; left: 0; width: 100%; height: 100vh">
    			</div>
    
    			<div style="position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%)">
    				<svg
    					version="1.1"
    					id="Windmill"
    					xmlns="http://www.w3.org/2000/svg"
    					xmlns:xlink="http://www.w3.org/1999/xlink"
    					x="0px"
    					y="0px"
    					width="128px"
    					height="128px"
    					viewBox="0 0 256 256"
    					style="enable-background: new 0 0 256 256"
    					xml:space="preserve"
    				>
    					<g>
    						<polygon
    							class="st2"
    							points="134.78,14.22 114.31,48.21 101.33,69.75 158.22,69.75 177.97,36.95 191.67,14.22 	"
    						/>
    						<polygon
    							class="st3"
    							points="227.55,69.75 186.61,69.75 101.33,69.75 129.78,119.02 158.16,119.02 228.61,119.02 256,119.02 	"
    						/>
    						<polygon
    							class="st3"
    							points="136.93,132.47 116.46,167.93 73.82,241.78 130.71,241.78 144.9,217.2 180.13,156.18 193.82,132.46 	
    		"
    						/>
    						<polygon
    							class="st3"
    							points="121.7,131.95 101.23,96.49 58.59,22.63 30.15,71.91 44.34,96.49 79.57,157.5 93.26,181.22 	"
    						/>
    						<polygon
    							class="st2"
    							points="64.81,131.95 25.15,131.21 0,130.74 28.44,180.01 66.73,180.72 93.26,181.21 	"
    						/>
    						<polygon
    							class="st2"
    							points="165.38,181.74 184.58,216.46 196.75,238.47 225.19,189.2 206.66,155.69 193.83,132.46 	"
    						/>
    					</g>
    				</svg>
    				<div
    					id="loading-text"
    					style="
    						text-align: center;
    						margin-top: 30px;
    						color: gray;
    						font-family: Arial, Helvetica, sans-serif;
    					"
    				>
    					Loading...
    				</div>
    			</div>
    			
    			<script>
    				{
    					__sveltekit_19q4mbi = {
    						base: "/index.php/apps/app_api/proxy/flow",
    						assets: "/index.php/apps/app_api/proxy/flow"
    					};
    
    					const element = document.currentScript.parentElement;
    
    					Promise.all([
    						import("/index.php/apps/app_api/proxy/flow/_app/immutable/entry/start.XIh8MW10.js"),
    						import("/index.php/apps/app_api/proxy/flow/_app/immutable/entry/app.v96pEcgV.js")
    					]).then(([kit, app]) => {
    						kit.start(app, element);
    					});
    				}
    			</script>
    		
    		</div>
    	</body>
    </html>
  3. docker inspect nc_app_flow

    docker inspect nc_app_flow
    [
        {
            "Id": "915b4775433f438df3d7a59906d3bfd20c77243306f29cd93d0bf4a40fa59ee4",
            "Created": "2024-10-23T22:57:15.31515251Z",
            "Path": "/bin/sh",
            "Args": [
                "/ex_app_scripts/entrypoint.sh",
                "/ex_app/lib/main.py",
                "windmill"
            ],
            "State": {
                "Status": "running",
                "Running": true,
                "Paused": false,
                "Restarting": false,
                "OOMKilled": false,
                "Dead": false,
                "Pid": 1509,
                "ExitCode": 0,
                "Error": "",
                "StartedAt": "2024-10-23T23:02:40.928330654Z",
                "FinishedAt": "2024-10-23T23:02:20.810709371Z"
            },
            "Image": "sha256:069b040d1b114a27d1ed8815f9cf81a4932493ce79c2fc254d645b1e6a07dd53",
            "ResolvConfPath": "/var/lib/docker/containers/915b4775433f438df3d7a59906d3bfd20c77243306f29cd93d0bf4a40fa59ee4/resolv.conf",
            "HostnamePath": "/var/lib/docker/containers/915b4775433f438df3d7a59906d3bfd20c77243306f29cd93d0bf4a40fa59ee4/hostname",
            "HostsPath": "/var/lib/docker/containers/915b4775433f438df3d7a59906d3bfd20c77243306f29cd93d0bf4a40fa59ee4/hosts",
            "LogPath": "/var/lib/docker/containers/915b4775433f438df3d7a59906d3bfd20c77243306f29cd93d0bf4a40fa59ee4/915b4775433f438df3d7a59906d3bfd20c77243306f29cd93d0bf4a40fa59ee4-json.log",
            "Name": "/nc_app_flow",
            "RestartCount": 0,
            "Driver": "overlay2",
            "Platform": "linux",
            "MountLabel": "",
            "ProcessLabel": "",
            "AppArmorProfile": "docker-default",
            "ExecIDs": null,
            "HostConfig": {
                "Binds": null,
                "ContainerIDFile": "",
                "LogConfig": {
                    "Type": "json-file",
                    "Config": {}
                },
                "NetworkMode": "host",
                "PortBindings": null,
                "RestartPolicy": {
                    "Name": "unless-stopped",
                    "MaximumRetryCount": 0
                },
                "AutoRemove": false,
                "VolumeDriver": "",
                "VolumesFrom": null,
                "ConsoleSize": [
                    0,
                    0
                ],
                "CapAdd": null,
                "CapDrop": null,
                "CgroupnsMode": "private",
                "Dns": [],
                "DnsOptions": [],
                "DnsSearch": [],
                "ExtraHosts": null,
                "GroupAdd": null,
                "IpcMode": "private",
                "Cgroup": "",
                "Links": null,
                "OomScoreAdj": 0,
                "PidMode": "",
                "Privileged": false,
                "PublishAllPorts": false,
                "ReadonlyRootfs": false,
                "SecurityOpt": null,
                "UTSMode": "",
                "UsernsMode": "",
                "ShmSize": 67108864,
                "Runtime": "runc",
                "Isolation": "",
                "CpuShares": 0,
                "Memory": 0,
                "NanoCpus": 0,
                "CgroupParent": "",
                "BlkioWeight": 0,
                "BlkioWeightDevice": null,
                "BlkioDeviceReadBps": null,
                "BlkioDeviceWriteBps": null,
                "BlkioDeviceReadIOps": null,
                "BlkioDeviceWriteIOps": null,
                "CpuPeriod": 0,
                "CpuQuota": 0,
                "CpuRealtimePeriod": 0,
                "CpuRealtimeRuntime": 0,
                "CpusetCpus": "",
                "CpusetMems": "",
                "Devices": null,
                "DeviceCgroupRules": null,
                "DeviceRequests": null,
                "MemoryReservation": 0,
                "MemorySwap": 0,
                "MemorySwappiness": null,
                "OomKillDisable": null,
                "PidsLimit": null,
                "Ulimits": null,
                "CpuCount": 0,
                "CpuPercent": 0,
                "IOMaximumIOps": 0,
                "IOMaximumBandwidth": 0,
                "Mounts": [
                    {
                        "Type": "volume",
                        "Source": "nc_app_flow_data",
                        "Target": "/nc_app_flow_data"
                    }
                ],
                "MaskedPaths": [
                    "/proc/asound",
                    "/proc/acpi",
                    "/proc/kcore",
                    "/proc/keys",
                    "/proc/latency_stats",
                    "/proc/timer_list",
                    "/proc/timer_stats",
                    "/proc/sched_debug",
                    "/proc/scsi",
                    "/sys/firmware",
                    "/sys/devices/virtual/powercap"
                ],
                "ReadonlyPaths": [
                    "/proc/bus",
                    "/proc/fs",
                    "/proc/irq",
                    "/proc/sys",
                    "/proc/sysrq-trigger"
                ]
            },
            "GraphDriver": {
                "Data": {
                    "LowerDir": "/var/lib/docker/overlay2/67439bb5a07098d632207c5a3aa35b78eb0877583ec0273a813b7e3dc4833b34-init/diff:/var/lib/docker/overlay2/a1698ba576c54d2c36e6843665625702f5a3b7707e69c3e692e42964a533a76f/diff:/var/lib/docker/overlay2/f0d9a425f5f45575591fdcff433a9b7668cd1aadc84e39d42a75b5d1be626a44/diff:/var/lib/docker/overlay2/60372deab04345f291d3c0d17fc8512e9bafcfaa368d60099dcc932275aa4a0a/diff:/var/lib/docker/overlay2/006f2df0edb47a005366f5d41827cf87f45b41caa8c55ceff80c12a15d36cfba/diff:/var/lib/docker/overlay2/c7678cbafd6536e720546d53b1d3d62b633b1e0dd47f19222670a7981f273689/diff:/var/lib/docker/overlay2/902918226ac94b25ceb4d5bde4d984b0e1492f7c4cabec92baa2dba9ff05925c/diff:/var/lib/docker/overlay2/9f876d5af21a25948c39568a88f57194905c3656ac056d3b2e5b4df372f24dc9/diff:/var/lib/docker/overlay2/0257117f4d1f1229b42ceab1ca8e4ce0a2bef673cc67225c70610cb3865381c1/diff:/var/lib/docker/overlay2/f5fec564972b52e89ed4098d1306671f30ba60d50d7c5d07767b63e405515a8c/diff:/var/lib/docker/overlay2/5e063d3f2f577db33d7ff68bf38e255132a7fb30838a6a3c4a717c8ea0979299/diff:/var/lib/docker/overlay2/db2f508f255e22179edd99182bdc794b0e63096e61d7cb67e5a1889603e975e3/diff:/var/lib/docker/overlay2/62ddd3e00ef449c7104b7f13c62b4a2a1226e252727b30abbb7108cf521f2afa/diff:/var/lib/docker/overlay2/2e173bfd383fb86285e964b3b2e92b297430261f8fb1891af225fbd9d77cedcc/diff:/var/lib/docker/overlay2/79697f62ea34e0c61cab9503e0e2c0c08a3ec0aabd4433e688688eb8d02362c0/diff:/var/lib/docker/overlay2/2e5ecd49154fef572ff619daa26a559236d99fda44e7550daa01fd899107585a/diff:/var/lib/docker/overlay2/2a94929665d810b69084837c86c312d3ffeb6a6845834d47a242bf056d79cbae/diff:/var/lib/docker/overlay2/747ef838d51b93b6f247b50a6d258358ab817e582f043e733f893a432d3666d5/diff:/var/lib/docker/overlay2/318bb6bf55ed3d3055bc3a415175111642ba540f55e2989a5a857daed4e5db12/diff:/var/lib/docker/overlay2/faf76d8c915ae8900110074e72b61c54b461b9d9e8ad320c1ccbe8cc2335bb18/diff:/var/lib/docker/overlay2/fc6ce091d1945770ca173c9f2973c4f673d58bc7295fb736b5600babda7ab9ac/diff:/var/lib/docker/overlay2/ade5b848f01c3b1e05e613e0a463eed865e47a84886ee97cf4401ed82447661f/diff:/var/lib/docker/overlay2/197bb8c5554b113b64fb636c3d0f5aa8099fe1b45190b9cf9a5a7abb9ac9b41a/diff:/var/lib/docker/overlay2/1adad9bc5b7eda0eddd1d22852ba5f93bfe54abcd50e4cb928042ec6eae41adf/diff:/var/lib/docker/overlay2/614d358e7ed8d77b3aaa8f86e69ea54935de430d022cc251d0a4ae023bc2bfe7/diff:/var/lib/docker/overlay2/82ca60a3d8cf1f025c96c48af214f4e4c6e0dc4b93ac536916228de750c3527e/diff:/var/lib/docker/overlay2/de6d9466dbf9fd277a90da8e1f0b5c790d59b6c5e4dfdc98351b636de93a1eea/diff:/var/lib/docker/overlay2/386e5e4f172fa11b85caee5304e497d70dcfb5e2ef23b926ecaec359860b6ec5/diff:/var/lib/docker/overlay2/191be4916405fe10b589e889cd6e98280ec998b42e4a79072f2bf101494bae33/diff:/var/lib/docker/overlay2/13c5b98c77aaed9c8d5868df0c51e1e7f8325d7df0e2a5f30d5dae6e13d6f026/diff:/var/lib/docker/overlay2/b331c70ea67ae677021ebdd4d2393824c1c25426a841e3a810454d07ca54210c/diff:/var/lib/docker/overlay2/cb6cac193055b1beb8627d62965feb8c08a29e57dbfc759032fac0bbccbf4f5c/diff:/var/lib/docker/overlay2/9489667477f650532f518d2b8cb5990a4bac03ccb1b129ba4333bf9e774e477d/diff:/var/lib/docker/overlay2/c11f04661e6236ea8a8c9254d7c21e0f9f7dfff64dcd97490ad128486bf44b28/diff:/var/lib/docker/overlay2/2c200fe5378f61f87ec0e12f254de811e7369dd01f341d6e65572b3c2bf5a949/diff:/var/lib/docker/overlay2/5be22669fb48b97ead5fc310b96faf071cb276fbf89272d003a365ad98090b3f/diff:/var/lib/docker/overlay2/6b1bdf42041461972c6be75330e88e594fe03faaeb2522c679a905ae9faa62be/diff:/var/lib/docker/overlay2/bd6968dfc0c15febd1eae019fd14b31a1a7a8d046c34f8deb2c7f9f6e294ba21/diff:/var/lib/docker/overlay2/bd1fc1681c5ea8f4496ebb97211f7b47ef8553ba803aab5af39347800d221012/diff:/var/lib/docker/overlay2/36da485c9bf68c81ba1d2abc451f76ce146bbaadefbca9f051c76668891a9720/diff",
                    "MergedDir": "/var/lib/docker/overlay2/67439bb5a07098d632207c5a3aa35b78eb0877583ec0273a813b7e3dc4833b34/merged",
                    "UpperDir": "/var/lib/docker/overlay2/67439bb5a07098d632207c5a3aa35b78eb0877583ec0273a813b7e3dc4833b34/diff",
                    "WorkDir": "/var/lib/docker/overlay2/67439bb5a07098d632207c5a3aa35b78eb0877583ec0273a813b7e3dc4833b34/work"
                },
                "Name": "overlay2"
            },
            "Mounts": [
                {
                    "Type": "volume",
                    "Name": "nc_app_flow_data",
                    "Source": "/var/lib/docker/volumes/nc_app_flow_data/_data",
                    "Destination": "/nc_app_flow_data",
                    "Driver": "local",
                    "Mode": "z",
                    "RW": true,
                    "Propagation": ""
                }
            ],
            "Config": {
                "Hostname": "flow",
                "Domainname": "",
                "User": "",
                "AttachStdin": false,
                "AttachStdout": false,
                "AttachStderr": false,
                "ExposedPorts": {
                    "8000/tcp": {}
                },
                "Tty": false,
                "OpenStdin": false,
                "StdinOnce": false,
                "Env": [
                    "AA_VERSION=4.0.0",
                    "APP_SECRET=8vY+xtWGXRk50vvK94g+c5/AgbBhq394dKHZt6Us9b/94nn8VrHW0NC1GSxTbFFvP10beJU+4dOUqbAJkVNY4QpE58ToF8Ht/D7itboaOqaLxpYaWQMR6tuEGfvVcDGC",
                    "APP_ID=flow",
                    "APP_DISPLAY_NAME=Flow",
                    "APP_VERSION=1.0.1",
                    "APP_HOST=127.0.0.1",
                    "APP_PORT=23000",
                    "APP_PERSISTENT_STORAGE=/nc_app_flow_data",
                    "NEXTCLOUD_URL=https://nc.sec.supersecure.de",
                    "COMPUTE_DEVICE=CPU",
                    "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin",
                    "LANG=C.UTF-8",
                    "GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D",
                    "PYTHON_VERSION=3.11.8",
                    "PYTHON_PIP_VERSION=24.0",
                    "PYTHON_SETUPTOOLS_VERSION=65.5.1",
                    "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py",
                    "PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9",
                    "GO_PATH=/usr/local/go/bin/go",
                    "TZ=Etc/UTC",
                    "RUSTUP_HOME=/usr/local/rustup",
                    "CARGO_HOME=/usr/local/cargo"
                ],
                "Cmd": [
                    "/bin/sh",
                    "/ex_app_scripts/entrypoint.sh",
                    "/ex_app/lib/main.py",
                    "windmill"
                ],
                "Image": "ghcr.io/cloud-py-api/flow:1.0.1",
                "Volumes": null,
                "WorkingDir": "/usr/src/app",
                "Entrypoint": null,
                "OnBuild": null,
                "Labels": {}
            },
            "NetworkSettings": {
                "Bridge": "",
                "SandboxID": "be78fec553d627032970990fa538163153b15691e91a8af19ebf1bee88359ea5",
                "SandboxKey": "/var/run/docker/netns/default",
                "Ports": {},
                "HairpinMode": false,
                "LinkLocalIPv6Address": "",
                "LinkLocalIPv6PrefixLen": 0,
                "SecondaryIPAddresses": null,
                "SecondaryIPv6Addresses": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "MacAddress": "",
                "Networks": {
                    "host": {
                        "IPAMConfig": null,
                        "Links": null,
                        "Aliases": null,
                        "MacAddress": "",
                        "DriverOpts": null,
                        "NetworkID": "4e14db9c93d6211d10b1421229e9585dfcd4364c428ef0d80c4781bb90b8286e",
                        "EndpointID": "c04ff31e1f77649b4655715fc3648861d3f8c190aa343ca478a02ba7e417e394",
                        "Gateway": "",
                        "IPAddress": "",
                        "IPPrefixLen": 0,
                        "IPv6Gateway": "",
                        "GlobalIPv6Address": "",
                        "GlobalIPv6PrefixLen": 0,
                        "DNSNames": null
                    }
                }
            }
        }
    ]
    
  4. Not sure if related NC log errors:

    [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
        from ? by -- at 24.10.2024, 00:10:10
    
    [PHP] Error: foreach() argument must be of type array|object, string given at /var/www/nextcloud/apps/app_api/lib/Fetcher/ExAppArchiveFetcher.php#114
        from ? by -- at 24.10.2024, 00:09:11
    

Server configuration

**Web server:**Nginx

Database: Maria

PHP version: 8.3

Nextcloud version: 30.0.1

List of activated apps
Enabled:
  - activity: 3.0.0
  - admin_audit: 1.20.0
  - app_api: 4.0.0
  - bruteforcesettings: 3.0.0
  - calendar: 5.0.1
  - circles: 30.0.0-dev
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 6.1.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - deck: 1.14.1
  - drawio: 3.0.3
  - federatedfilesharing: 1.20.0
  - files: 2.2.0
  - files_downloadlimit: 3.0.0
  - files_external: 1.22.0
  - files_fulltextsearch: 30.0.0
  - files_lock: 30.0.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - firstrunwizard: 3.0.0
  - fulltextsearch: 30.0.0
  - fulltextsearch_elasticsearch: 30.0.0
  - groupfolders: 18.0.3
  - integration_gitlab: 3.1.2
  - integration_openproject: 2.7.0
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - nextcloud_announcements: 2.0.0
  - notifications: 3.0.0
  - notify_push: 0.7.0
  - oauth2: 1.18.1
  - password_policy: 2.0.0
  - photos: 3.0.2
  - polls: 7.2.4
  - previewgenerator: 5.6.0
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - quota_warning: 1.20.0
  - recommendations: 3.0.0
  - related_resources: 1.5.0
  - richdocuments: 8.5.2
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - smb_test: 0.3.10
  - support: 2.0.0
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - text: 4.1.0
  - theming: 2.5.0
  - twofactor_backupcodes: 1.19.0
  - updatenotification: 1.20.0
  - user_ldap: 1.21.0
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - whiteboard: 1.0.4
  - workflowengine: 2.12.0
Disabled:
  - contactsinteraction: 1.11.0 (installed 1.2.0)
  - encryption: 2.18.0
  - federation: 1.20.0 (installed 1.15.0)
  - mail: 4.0.2 (installed 4.0.2)
  - news: 24.0.0 (installed 24.0.0)
  - survey_client: 2.0.0 (installed 1.4.0)
  - suspicious_login: 8.0.0
  - twofactor_nextcloud_notification: 4.0.0
  - twofactor_totp: 12.0.0-dev
  - workflow_script: 1.15.0 (installed 1.15.0)
Nextcloud configuration
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nc.ins.uni-stuttgart.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.1.2",
        "overwrite.cli.url": "https:\/\/nc.sec.supersecure.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mysql.utf8mb4": true,
        "maintenance": false,
        "session_lifetime": 604800,
        "session_keepalive": true,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "default_language": "de_DE",
        "default_locale": "de",
        "default_phone_region": "DE",
        "skeletondirectory": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "app_install_overwrite": [
            "drawio"
        ],
        "mail_smtpsecure": "tls",
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "lost_password_link": "disabled",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "activity_use_cached_mountpoints": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1,
        "defaultapp": ""
    }
}

Browser

Browser name: Firefox

Browser version: 131.0.3

Operating system: Manjaro with Gnome

Browser log

Image

@q-wertz q-wertz added the bug Something isn't working label Oct 23, 2024
@q-wertz
Copy link
Author

q-wertz commented Oct 24, 2024

Accessing servers port 8000 directly in a webbrowser brings me to the windmill loading screen (which doesn't change)
Image

In my understanding there seems to be an issue with the forwarding though the docker-socket-proxy or nginx settings. It also is strange that the site doesn't load...

In the docker logs I see

2024-10-24T14:15:09.590623Z  INFO worker: windmill-worker/src/worker.rs:1376: ping update, memory: container=179MB, windmill=0MB worker=wk-default-flow-vR5vu hostname=flow
2024-10-24T14:15:09.591660Z  INFO worker: windmill-worker/src/worker.rs:1376: ping update, memory: container=179MB, windmill=0MB worker=wk-default-flow-ilHD5 hostname=flow
2024-10-24T14:15:13.750479Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/
2024-10-24T14:15:13.833980Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/entry.BXIwEY11.js
2024-10-24T14:15:13.833980Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/index.php/apps/app_api/proxy/flow/_app/immutable/entry/start.XIh8MW10.js
2024-10-24T14:15:13.834053Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/scheduler.CA2_PNCd.js
2024-10-24T14:15:13.834649Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/index.Ba4bOAI_.js
2024-10-24T14:15:13.834802Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/index.php/apps/app_api/proxy/flow/_app/immutable/entry/app.v96pEcgV.js
2024-10-24T14:15:13.852659Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/empty.CpQCIcoz.js
2024-10-24T14:15:13.854248Z  INFO request: windmill-api/src/tracing_init.rs:31: response latency=0 status=200 method=GET uri=/index.php/apps/app_api/proxy/flow/_app/immutable/chunks/index.D0eu0pGM.js
2024-10-24T14:15:15.608283Z  INFO worker: windmill-worker/src/worker.rs:1376: ping update, memory: container=178MB, windmill=0MB worker=wk-default-flow-aZcQE hostname=flow

Maybe related nginx error log:

2024/10/24 16:17:37 [alert] 5169#5169: *34169 open socket #19 left in connection 7
2024/10/24 16:17:37 [alert] 5173#5173: *16708 open socket #36 left in connection 44
2024/10/24 16:17:37 [alert] 5172#5172: *41693 open socket #36 left in connection 16
2024/10/24 16:17:37 [alert] 5171#5171: *6119 open socket #19 left in connection 43
2024/10/24 16:17:37 [alert] 5169#5169: *26313 open socket #21 left in connection 26
2024/10/24 16:17:37 [alert] 5170#5170: *40149 open socket #31 left in connection 33
2024/10/24 16:17:37 [alert] 5173#5173: *16709 open socket #37 left in connection 50
2024/10/24 16:17:37 [alert] 5172#5172: *41689 open socket #33 left in connection 18
2024/10/24 16:17:37 [alert] 5171#5171: *6116 open socket #17 left in connection 48
2024/10/24 16:17:37 [alert] 5169#5169: *26312 open socket #17 left in connection 34
2024/10/24 16:17:37 [alert] 5170#5170: *40150 open socket #36 left in connection 36
2024/10/24 16:17:37 [alert] 5172#5172: *41664 open socket #22 left in connection 21
2024/10/24 16:17:37 [alert] 5170#5170: *25938 open socket #20 left in connection 42
2024/10/24 16:17:37 [alert] 5173#5173: aborting

@apagesquared
Copy link

I am experiencing the same symptoms, even down to the logs and the page where Windmill doesn't load. Except that I don't even get a broken link icon.

I did notice this in my docker log.
[DEBUG]: USERS_STORAGE_PATH= /nc_app_flow_data/windmill_users_config.json
I can't find a folder or document that would meet that env.

Additionally, I saw another person saying they had success when they removed and reenabled the Flow app under Ext App. I did the same and verified that the container deleted and reinstalled. The container is running fine outside of the issues stated by the OP and the above Debug log. However, Nextcloud still shows the app as only being 0% initialized.

I assume all of these symptoms are related.

**Web server:**Turnkey Linux Nextcloud installed via proxmox
Database: Maria
PHP version: 8.2
Nextcloud version: 30.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants