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

[BUG] New install, Can't Connect #443

Closed
1 task done
F1zzyD opened this issue Jun 14, 2024 · 8 comments
Closed
1 task done

[BUG] New install, Can't Connect #443

F1zzyD opened this issue Jun 14, 2024 · 8 comments

Comments

@F1zzyD
Copy link

F1zzyD commented Jun 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Ran docker compose up and the logs finish with "[ls.io--init] done. Tried to access with the default port and not messing with anything except for the volumes set to ./config:/config etc. I get the webpage "Unable to Connect".

Expected Behavior

I should be able to connect?

Steps To Reproduce

run docker compose up and access localhost:443.

Environment

- OS: Linux Mint
- How docker service was installed: using compose.yml

CPU architecture

x86-64

Docker creation

services:
  nextcloud:
    image: lscr.io/linuxserver/nextcloud:latest
    container_name: nextcloud
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - ./config:/config
      - ./data:/data
    ports:
      - 443:443
    restart: unless-stopped

Container logs

✔ Container nextcloud  Created                                                                                  0.0s 
Attaching to nextcloud
nextcloud  | [migrations] started
nextcloud  | [migrations] 01-nginx-site-confs-default: executing...
nextcloud  | [migrations] 01-nginx-site-confs-default: succeeded
nextcloud  | [migrations] 02-default-location: executing...
nextcloud  | [migrations] 02-default-location: succeeded
nextcloud  | [migrations] done
nextcloud  | ───────────────────────────────────────
nextcloud  | 
nextcloud  |       ██╗     ███████╗██╗ ██████╗
nextcloud  |       ██║     ██╔════╝██║██╔═══██╗
nextcloud  |       ██║     ███████╗██║██║   ██║
nextcloud  |       ██║     ╚════██║██║██║   ██║
nextcloud  |       ███████╗███████║██║╚██████╔╝
nextcloud  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
nextcloud  | 
nextcloud  |    Brought to you by linuxserver.io
nextcloud  | ───────────────────────────────────────
nextcloud  | 
nextcloud  | To support LSIO projects visit:
nextcloud  | https://www.linuxserver.io/donate/
nextcloud  | 
nextcloud  | ───────────────────────────────────────
nextcloud  | GID/UID
nextcloud  | ───────────────────────────────────────
nextcloud  | 
nextcloud  | User UID:    1000
nextcloud  | User GID:    1000
nextcloud  | ───────────────────────────────────────
nextcloud  | 
nextcloud  | Setting resolver to  127.0.0.11
nextcloud  | Setting worker_processes to 6
nextcloud  | generating self-signed keys in /config/keys, you can replace these with your own keys if required
nextcloud  | ......+.+........+.+..................+.....+...+...+.+...+..+.+.....+...............+....+.........+..+...+.......+........+.+...+.................+++++++++++++++++++++++++++++++++++++++*.......+...+++++++++++++++++++++++++++++++++++++++*.+....+........+...+....+..+...................+..............+.+.........+......+...........+...+.......+.....+.+..+.+.....+.+......++++++
nextcloud  | ..+....+.....+....+...............+++++++++++++++++++++++++++++++++++++++*.........+...+..+.+++++++++++++++++++++++++++++++++++++++*....+.+......+..............+...+.+.....+......+.+...+..+.........+.............+..+....+.....+......+....+..+....+........+.+..+...................+......+........++++++
nextcloud  | -----
nextcloud  | Initializing nextcloud 29.0.2.2 (this can take a while) ...
nextcloud  | Setting permissions
nextcloud  | New nextcloud instance
nextcloud  | Please run the web-based installer on first connect!
nextcloud  | Initializing finished
nextcloud  | After completing the web-based installer, restart the Nextcloud container to apply default memory caching and transactional file locking configurations.
nextcloud  | Alternatively, you can apply your own configurations by editing /config/www/nextcloud/config/config.php following the documentation:
nextcloud  | https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html
nextcloud  | https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/files_locking_transactional.html
nextcloud  | [custom-init] No custom files found, skipping...
nextcloud  | [ls.io-init] done.
nextcloud  | Exception: Not installed in /app/www/public/lib/base.php:284
nextcloud  | Stack trace:
nextcloud  | #0 /app/www/public/lib/base.php(715): OC::checkInstalled()
nextcloud  | #1 /app/www/public/lib/base.php(1181): OC::init()
nextcloud  | #2 /app/www/public/cron.php(58): require_once('...')
nextcloud  | #3 {main}
nextcloud  | Exception: Not installed in /app/www/public/lib/base.php:284
nextcloud  | Stack trace:
nextcloud  | #0 /app/www/public/lib/base.php(715): OC::checkInstalled()
nextcloud  | #1 /app/www/public/lib/base.php(1181): OC::init()
nextcloud  | #2 /app/www/public/cron.php(58): require_once('...')
nextcloud  | #3 {main}
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@annie-elequin
Copy link

I have a similar issue, I get 400 bad request when trying to access the page - I think my stack trace is a bit different from yours, but instead of making a new ticket I thought I'd share here since they might be related.

---
services:
  nextcloud:
    image: lscr.io/linuxserver/nextcloud:latest
    container_name: nextcloud
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Chicago
    volumes:
      - /config:/config
      - /data:/data
    ports:
      - 443:443
    restart: unless-stopped
Exception: Not installed in /app/www/public/lib/base.php:284
�
Stack trace:
#0 /app/www/public/lib/base.php(715): OC::checkInstalled()
#1 /app/www/public/lib/base.php(1181): OC::init()
#2 /app/www/public/cron.php(58): require_once('...')
�
}

@Felix2M
Copy link

Felix2M commented Jun 25, 2024

@annie-elequin I got the same error message from nginx. In my case I had to make sure, that I use https:// before the IP adress.

@wymchicane
Copy link

wymchicane commented Jul 12, 2024

I am facing this issue aswell. I can connect to the "Install page", but when creating an admin account I run into a 504 Gateway Time-out.
My compose.yaml is identical to the one of the previous posters (apart from tz and paths), the traceback is identical
OS is a debian 12 VM ontop of Proxmox 8.2.2

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@brucekinsey
Copy link

I am facing this issue aswell. I can connect to the "Install page", but when creating an admin account I run into a 504 Gateway Time-out. My compose.yaml is identical to the one of the previous posters (apart from tz and paths), the traceback is identical OS is a debian 12 VM ontop of Proxmox 8.2.2

I ended up running the following (only tried in v28.0.9 so far):
sudo docker exec -it nextcloud occ maintenance:install --admin-user admin --admin-pass mypassword

Restarted the container after that and it worked. occ maintenance:mode did not work.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@F1zzyD
Copy link
Author

F1zzyD commented Nov 8, 2024

Update: I ended up giving up and moving to alternative services. Nextcloud is too buggy and lags horribly.

@F1zzyD F1zzyD closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

6 participants