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

Sorry but something went wrong. #2650

Closed
Bishop-trevorstuart opened this issue Jul 2, 2024 · 10 comments
Closed

Sorry but something went wrong. #2650

Bishop-trevorstuart opened this issue Jul 2, 2024 · 10 comments
Labels
Support Please visit https://help.nextcloud.com or https://shop.hanssonit.se/product-category/support/ User configuration

Comments

@Bishop-trevorstuart
Copy link

Steps To Reproduce

No clue. I've added some info to context.

Expected Result

No clue. I've added some info to context.

Actual Result

No clue. I've added some info to context.

Screenshots, Videos, or Pastebins

image
image

Additional Context

I had recently run out of space on teh root partiation and cleaned that up. Completed apt update/upgrade and rebooted. After an hour or so that's when this error message popped into my notificaitons.
The attached pic is what the messsage says.

Outside of this message in my notifications my actual log (set to warning) is FULL of warnings from Recognize.
Failed to generate preview of 21027 with dimension 1024 with nextcloud preview manager: No provider successfully handled the preview generation
But I've gotten that error from day one and doubt it's related.
Filtering out warnings the errors are new/strange but related to connection to a database. I included a screenshot incase they are helpful at all.

Build Version

Nextcloud Hub 8 (29.0.3)

Environment

By downloading the VM

Environment Details

Ubuntu 22.04 LTS
VM (ESXi 6.7).
4 vcpus/8GB ram/2 x 40 GB drives.
I have a NAS mapped, but it's not the data folder (yet).

@enoch85
Copy link
Member

enoch85 commented Jul 3, 2024

Please reinstall SMB Share(Mount) through the menu.

It will take a while so use the VM console so that you can leave it.

@enoch85 enoch85 added User configuration Support Please visit https://help.nextcloud.com or https://shop.hanssonit.se/product-category/support/ and removed bug labels Jul 3, 2024
@Bishop-trevorstuart
Copy link
Author

When I run menu I can only find SMB under apps. But when I select that it wants to reconfigure, not reinstall.
Am I in the right place to reinstall it?

@enoch85
Copy link
Member

enoch85 commented Jul 3, 2024

Remove the old shares, and add them back. When asked to install inotify, choose "yes" (or similar).

Yes, your on the right path. 👍🏼

@Bishop-trevorstuart
Copy link
Author

Removed/deleted all the shares using menu.
Then created again (I had rebooted after deleting just for fun).
It said the mount was successful. When asked I did say yes to install inotify...
Nothing took very long to install.
When I originally setup my shares I used just the WebUI (external storage under administrator options).
With it setup via the menu script I now see the share in External storage, but it shows a local, no auth. No issues as I'm assuming the script simply set up the share "correctly" in fstab and is mapping it that way.

I logged into my account and re-directed the photos (in previous share config I was using users$ so this is now changed).

In recognize I cleared queues and backgroud jobs. Then rescan all files.
The notification returned stating to report the issue here...

@enoch85
Copy link
Member

enoch85 commented Jul 3, 2024

Hmm, ok.

What's the output of:

sudo -i (just to become root, post output of below commands)

tail -n 50 /var/log/nextcloud/files_inotify.log
nextcloud_occ app:list | grep files_inotify
pecl list | grep inotify

With it setup via the menu script I now see the share in External storage, but it shows a local, no auth. No issues as I'm assuming the script simply set up the share "correctly" in fstab and is mapping it that way.

Yes, you now have local shares in Linux, they work much faster (and better) than with PHP.

Another possible error is that your mount ID is wrong. So you have for example mount ID 5 in the database, but Nextcloud tries to fetch mount ID 1. What you need to do is to check what the mount id is in the database, then change to the correct ID (from database) in your crontab (crontab -e -u www-data). You can check your mount ID in DB with something like: select * from oc_external_mounts;

@enoch85
Copy link
Member

enoch85 commented Jul 3, 2024

Also, would be interessting with the output of: df -h

@enoch85
Copy link
Member

enoch85 commented Jul 3, 2024

Aaand please reinstall Recognize as well with the menu script. :)

@Bishop-trevorstuart
Copy link
Author

sudo -i = it keeps running the startup script. I posted about this on the community chat but never got a responce.
https://help.nextcloud.com/t/vm-initial-setup/194122?u=trevor_stuart
Sorry these are screenshots, ESXi's console doesn't let me copy/paste text between it.
Here is the tail output
image
App list
image
pecl list
image
df -h (this is where I discovered my root partiion had run out of space, for now I purged the swap file but when I'm ready I'll put it back)
image

Will reinstall recognize, and confirm the mount ID next.

@Bishop-trevorstuart
Copy link
Author

reinstalling recognize didn't seem to help. Still getting the errors.
I was going to try digging into the mount ID stuff, but I don't know how to do that. I'm clueless when it comes to anything inside the DB itself.

@enoch85
Copy link
Member

enoch85 commented Jul 3, 2024

You have it in the first prtscr. Mount not found.

Please get support here and reference this issue: https://shop.hanssonit.se/product/premium-support-per-30-minutes/

While you're at it, also get this: https://shop.hanssonit.se/product/custom-expand/

@enoch85 enoch85 closed this as completed Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Please visit https://help.nextcloud.com or https://shop.hanssonit.se/product-category/support/ User configuration
Projects
None yet
Development

No branches or pull requests

2 participants