Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Nextcloud hangs after fresh install (maybe related to NGINX reverse proxy) #2932

Closed
cruftex opened this issue Jul 10, 2023 · 3 comments
Closed
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working needs info Not enough information provided

Comments

@cruftex
Copy link

cruftex commented Jul 10, 2023

Steps to reproduce

  1. Fresh Ubuntu 22.04
  2. NGINX Proxy Setup from documentation
  3. Fresh install of NC 26 with data dir on host: /mnt/ncdata
  4. Open demo office documents: works
  5. Open Photos: Connection is stuck, no answer from server
  6. I can login again, and see the navigation, but as soon as I open something there is no answer

Expected behavior

Files open, directories got listed

Actual behavior

Connection is stuck

Host OS

Ubuntu 22.04

Nextcloud AIO version

Nextcloud AIO v6.2.1

Current channel

latest

Other valuable info

A hint where to start debugging, or whether I should try without NGINX reverse proxy first would be appreciated

@cruftex cruftex added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels Jul 10, 2023
@szaimen
Copy link
Collaborator

szaimen commented Jul 10, 2023

Hi, can you post the output of sudo docker logs nextcloud-aio-imaginary here?

@szaimen szaimen added the needs info Not enough information provided label Jul 10, 2023
@cruftex
Copy link
Author

cruftex commented Jul 11, 2023

There is no log output. Here some more info:

root@fiji:~# docker logs nextcloud-aio-imaginary
root@fiji:~# docker exec -it nextcloud-aio-imaginary sh
~ $ netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 localhost:35337         0.0.0.0:*               LISTEN      
tcp        0      0 :::9000                 :::*                    LISTEN      
udp        0      0 localhost:40646         0.0.0.0:*                           
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
~ $ ps
PID   USER     TIME  COMMAND
    1 nobody    0:11 imaginary -return-size -max-allowed-resolution 222.2
14657 nobody    0:00 sh
14663 nobody    0:00 ps
~ $ lsof -p 1
1       /usr/local/bin/imaginary        0       /dev/null
1       /usr/local/bin/imaginary        1       pipe:[124525]
1       /usr/local/bin/imaginary        2       pipe:[124526]
1       /usr/local/bin/imaginary        3       anon_inode:[eventpoll]
1       /usr/local/bin/imaginary        4       pipe:[126014]
1       /usr/local/bin/imaginary        5       pipe:[126014]
1       /usr/local/bin/imaginary        6       socket:[126030]
14657   /bin/busybox    0       /dev/pts/0
14657   /bin/busybox    1       /dev/pts/0
14657   /bin/busybox    2       /dev/pts/0
14657   /bin/busybox    10      /dev/tty
root@fiji:~# docker restart nextcloud-aio-imaginary
nextcloud-aio-imaginary
root@fiji:~# docker logs nextcloud-aio-imaginary
2023/07/11 08:31:59 Graceful shutdown
~ $ exit

I did reboot the server. After login the dashboard shows. When I click on Files the files show normally, when I click on Photos the connection hangs again.

root@fiji:~# free
               total        used        free      shared  buff/cache   available
Mem:         3907536     2334080      109036       90312     1464420     1214888
Swap:              0           0           0

I added 2GB of swap and restarted. Same problem.

Next, I disabled preview generation, via:

  'enable_previews' => false,

Now everything is reacting normally and clicking on Photos works without getting stuck.

So, something seems to be off with imaginary. What to try next?

@szaimen
Copy link
Collaborator

szaimen commented Jul 11, 2023

I'll move this to discussions for now since I cannot reproduce the issue.

@nextcloud nextcloud locked and limited conversation to collaborators Jul 11, 2023
@szaimen szaimen converted this issue into discussion #2935 Jul 11, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working needs info Not enough information provided
Projects
None yet
Development

No branches or pull requests

2 participants