!nextcloud@lemmy.ml
Nextcloud is a suite of client-server software for creating and using file hosting services.
IRC: #nextcloud on libera.chat
Matrix: #nextcloud:matrix.org
!nextcloud
@lemmy.mlhttps://nextcloud.com/blog/nextcloud-hub9/
Nextcloud Hub 9 lets you stay connected: new federation features, workflow automation, big design overhaul and much much more
Hey, folks, I'm new to this side of things, and I'm hoping someone can help me out.
I just signed up 5tb of storage through Hetzner's storage share, using nextcloud. I like it so far, but I'm running into an issue. I figured out how to make multiple users, but I don't know how to (or if I can) restrict different users to specific folders. We're broke, so this is going to be shared between me, my mom, my brother, and my sister in law. If it's possible, I'd like to create a folder for each of us, and restrict access to that folder to just that person. I don't want to be able to see what's in my brother's folder, and I don't want my mom seeing what's in mine, et cetera. I've tried to google it and look it up on youtube, but most of what I can find isn't related, and if it is, it's a bunch of technospeak that I don't really understand about self-hosting, which I'm not doing. If it's possible, it would be cool to have a central shared folder as well, but we could just share links with each other when we want to share something if needed.
Any help is really appreciated. Thank you in advance.
I currently have a drive mounted into a folder in nextcloud/data/username/files/media but it doesn't show the contents of the drive the nextcloud gui.
EDIT: The solution is the "External storage support" app, which ist for some reason disabled by default.
Hi there,
I hope someone here can help me with the 404 error I've been getting on Nextcloud for some months now. The error seems to be related to the rich documents app, but I have not encountered any issues with editing documents in NC, so I haven't made investigating a priority earlier. I have nextcloud running in the /nextxloud subdirectory of my server, but the app seems to think that it's in /nextcloud/nextcloud. See the detailed error below. I assume it's a setting that I accidentally messed up, but I cannot find anything in the app settings or the NC config file that helps me. I hope one of the people with more experience than me here has an idea on how to fix this. Thanks in advance.
{"reqId":"2yQdYYuEwchjQhO0t3Dd","level":3,"time":"2024-08-13T16:45:26+00:00","remoteAddr":"","user":"--","app":"richdocuments","method":"","url":"/nextcloud/cron.php","message":"Failed to fetch discovery: Client error: `GET https://[server]/nextcloud/nextcloud/apps/richdocumentscode/proxy.php?req=/hosting/discovery` resulted in a `404 Not Found` response:\n<!DOCTYPE html>\n<html class=\"ng-csp\" data-placeholder-focus=\"false\" lang=\"en\" data-locale=\"en\" translate=\"no\" >\n\t<head\n (truncated...)\n","userAgent":"--","version":"29.0.4.1","exception":{"Exception":"GuzzleHttp\\Exception\\ClientException","Message":"Client error: `GET https://[server]/nextcloud/nextcloud/apps/richdocumentscode/proxy.php?req=/hosting/discovery` resulted in a `404 Not Found` response:\n<!DOCTYPE html>\n<html class=\"ng-csp\" data-placeholder-focus=\"false\" lang=\"en\" data-locale=\"en\" translate=\"no\" >\n\t<head\n (truncated...)\n","Code":404,"Trace":[{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":72,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":204,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":153,"function":"callHandler","class":"GuzzleHttp\\Promise\\Promise","type":"::"},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":48,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\Promise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":248,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":224,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":269,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":226,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/promises/src/Promise.php","line":62,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":189,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/lib/private/Http/Client/Client.php","line":230,"function":"request","class":"GuzzleHttp\\Client","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/apps/richdocuments/lib/Service/DiscoveryService.php","line":75,"function":"get","class":"OC\\Http\\Client\\Client","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/apps/richdocuments/lib/Service/CachedRequestService.php","line":74,"function":"sendRequest","class":"OCA\\Richdocuments\\Service\\DiscoveryService","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/apps/richdocuments/lib/Backgroundjobs/ObtainCapabilities.php","line":58,"function":"fetch","class":"OCA\\Richdocuments\\Service\\CachedRequestService","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OCA\\Richdocuments\\Backgroundjobs\\ObtainCapabilities","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":102,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":92,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/mnt/ExtDrive/nextcloud/cron.php","line":177,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/mnt/ExtDrive/nextcloud/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":113,"message":"Failed to fetch discovery: Client error: `GET https://[server]/nextcloud/nextcloud/apps/richdocumentscode/proxy.php?req=/hosting/discovery` resulted in a `404 Not Found` response:\n<!DOCTYPE html>\n<html class=\"ng-csp\" data-placeholder-focus=\"false\" lang=\"en\" data-locale=\"en\" translate=\"no\" >\n\t<head\n (truncated...)\n","exception":[],"CustomMessage":"Failed to fetch discovery: Client error: `GET https://[server]/nextcloud/nextcloud/apps/richdocumentscode/proxy.php?req=/hosting/discovery` resulted in a `404 Not Found` response:\n<!DOCTYPE html>\n<html class=\"ng-csp\" data-placeholder-focus=\"false\" lang=\"en\" data-locale=\"en\" translate=\"no\" >\n\t<head\n (truncated...)\n"},"id":"66bb969d2e0e5"}
https://framablog.org/2024/07/31/intros-a-nextcloud-app-to-help-you-get-to-grips-with-framaspace/
The Framaspace project currently hosts a cloud environment (files, calendars, contacts, wiki, kanban, etc.) for more than 1,200 associations and groups. That's as many instances of the Nextcloud free software. Unfortunately, it's not always easy to get to grips with Nextcloud, despite the documentation, forums and so on. So Framasoft decided to get an intern,...
They pulled an Apple as Nextcloud can sometimes implode
I installed NextCloud previously and it sucked. Most of it, in my mind was down to how slow and clunky it felt. I came here and people said the default installation can be like that, so I kinda just left things alone, determined that I would eventually come back and sort things.
Fast forward to now and my system has matured enough, well at least enough that I've installed Postgres and can access it via Adminer.
So I clear out all my directories, delete the container and decide it's time to reinstall NextCloud. Simple right? Wrong! It's telling me that I have the wrong username and password.
I asked for some help and someone said, don't give any app default access and that's fair and then they pointed me to the docs. The docs said to do some shit I didn't understand really. But from what I could gather, essentially open the console and run a command.
Problem! Every time I try and open the console for the container, it says it can't read the image details. Okay, let's work around that then. I open up Adminer and via SQL command run:
CREATE USER nextcloud WITH PASSWORD 'R4ND0MP4SS' CREATEDB;
CREATE DATABASE nextcloud TEMPLATE template0 ENCODING 'UTF8';
ALTER DATABASE nextcloud OWNER TO nextcloud;
GRANT ALL PRIVILEGES ON DATABASE nextcloud TO nextcloud;
GRANT ALL PRIVILEGES ON SCHEMA public TO nextcloud;
I actually manage to log into Adminer with said details. NextCloud on the other hand is telling me that the username and/or password is incorrect. What am I doing wrong?
As the title asks, what apps are you running?
Also do you have your data on your host machine or on your main storage/NAS?
Last question, is it just my set-up or is NextCloud slow for everyone?
I don't know if I'm stupid or if NextCloud's instructions are stupid, it's probably me and subsequently I'm struggling.
For all of my Docker stuff, I move the config directory to my opt
folder with a simple
volumes:
- /opt/APPNAME/config:/config
And generally have the data on a remote drive like
- music:/music
volumes:
music:
driver_opts:
type: "nfs"
o: "addr=192.168.X.XXX,nolock,soft,rw"
device: ":/mnt/HD/Public/Shared Music"
This works perfectly for everything and I'm generally pleased with how things run. But NextCloud is throwing a bunch of words at me and I don't get it. Why can't it be as simple as what I'm already doing? Why do I have to declare
environment
- NEXTCLOUD_DATADIR=
- NEXTCLOUD_MOUNT=
And why is it pointing me to? https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-store-the-filesinstallation-on-a-separate-drive
Which just points you to https://www.guguweb.com/2019/02/07/how-to-move-docker-data-directory-to-another-location-on-ubuntu/
I'm looking at this Docker Compose like...
NextCloudPi was so simple to set up. If not for being stuck on v25, I'd have been happy with it. 🥺
https://github.com/nextcloud/nextcloudpi/blob/master/build/docker/docker-compose.yml