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

Possible Docker/Pupcloud/External data store gremlin #45

Open
DarrenPIngram opened this issue May 12, 2022 · 5 comments
Open

Possible Docker/Pupcloud/External data store gremlin #45

DarrenPIngram opened this issue May 12, 2022 · 5 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@DarrenPIngram
Copy link

Note, I do not know where the possible problem may lie, but I can report it and if you have ideas what to check to isolate "who has the problem" I am happy to check.

Environment: Debian 11 server running Docker. Rclone mount (via systemd) used as datastore. Pupcloud ran as a container within. Data directory for Pupcloud is set to access this share.

version: '3.3'
services:
    pupcloud:
        restart: unless-stopped
        container_name: pupcloud
        ports:
            - '8080:17178'
        volumes:
            - '/mnt/disks/DB0-UNION:/data'
        environment:
            - PID=1001
            - PGID=1001
            - PUP_TITLE=The Archive
            - PUP_PASSWORD=downundertv
        image: 'germanorizzo/pupcloud:latest'

Pupcloud can run (in tests) and serve files. Eventually and silently it stops. You don't get an error (that I can see) and the web app continues to run, but no data is served up or shown.

docker start pupcloud restarts things, no errors are shown on restart, and the web app then (after page refresh) will deliver goodies again.

Other info:

rclone --version
rclone v1.58.1
- os/version: debian 11.3 (64 bit)
- os/kernel: 5.10.0-13-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.9
- go/linking: static
- go/tags: none
@marioscube
Copy link

1 - after how much time does pupcloud/docker stop?
2 - if the datastore is mounted through the cli (not rclone) does pupcloud stop?

@proofrock
Copy link
Owner

3 - can you enter the web tools by pressing F12 in the browser, and see if there are errors in the console and/or in the network tab?

A thing that I found, and may be related or not, is that if you connect Pupcloud to a dir and then mount something on that dir, pupcloud will continue to see the directory as empty, "before" the mount. If you restart it, it will see the mounted "version". This is to say: I don't know how rclone deals with mounts etc, maybe it uses FUSE, and I don't know if the mount "fluctuates", so to speak.

@proofrock proofrock self-assigned this May 12, 2022
@proofrock proofrock added bug Something isn't working analyzing labels May 12, 2022
@proofrock proofrock added duplicate This issue or pull request already exists and removed duplicate This issue or pull request already exists analyzing labels May 16, 2022
@proofrock
Copy link
Owner

Tentatively marking this as duplicate of #48

@DarrenPIngram
Copy link
Author

DarrenPIngram commented May 17, 2022 via email

@DarrenPIngram
Copy link
Author

DarrenPIngram commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants