nextcloud

782 readers
1 users here now

Nextcloud is a suite of client-server software for creating and using file hosting services.

https://nextcloud.com/

https://github.com/nextcloud

IRC: #nextcloud on libera.chat
Matrix: #nextcloud:matrix.org

Other Nextcloud communities on Lemmy

founded 4 years ago
MODERATORS
1
 
 

I have had a NextCloud up & running for a few weeks thus far and haven't had any problems. The reason I can't just connect to it via vpn is that I want to share links of files with other people. I always keep the system up to date and I think I configured nginx correctly. I have blocked all requests to ports other than 80 and 443, but the firewall is still not the best right now: someone can send many requests in a short timeframe. I have also used tools like pentest-tools.com and some others, but those say that there are no major vulnerabilities. I also keep track of logs with a tool called logwatch. Any tips and tricks or resources (articles, videos, etc) would be much appreciated. Or maybe you want to know more about my setup. I know that NextCloud can be really secure if everything is done right!

2
 
 

I use Markdown for nearly all of my documentation, be it for work, university or private stuff. I also started using Nextcloud quite often and really love it.

The only thing that bothers me is the Richtext Editor in Nextcloud and the odd Markdown mode, which seems not to work? I have it installed and enabled, but in normal text files, as well as in collectives (both use NC text app) simple markdown syntax does not get rendered.

I cant copy paste from one to another which is frustrating obviously. I re-format everything by hand, in either direction.

I especially like the "Collectives"-App, which makes parallel documentaion with a group very convenient, but I would like to edit the files with a markdown editor an my desktop,e.g. Obsidian or so, which doesnt work, since Nextcloud text wount parse it as markdown.

Does anybody got a solution for this, or am I doimd sth wrong?

3
 
 

I've self hosted many things over the years but mainly Nextcloud and Home assistant. My current setup for Nextcloud is the Archive install method, behind a wWireguard VPN on a Debian server(with sadly outdated PHP packages).

However most of the natively installed software I host, for example a turn server, the database, redis etc is covered by the AIO setup, amongst other benefits like the High performance back end.

The only issue is the requirement for a domain name, a let's encrypt cert and an open port 80. I really don't require this behind a VPN. I'm really surprised this is not a more supported option.

Is anyone using AIO behind a VPN?

4
 
 

I'm going to be switching over to Graphene OS. I also want a second cloud-based backup for my files. Next cloud seems to be the perfect solution because it'll allow me to have all the various apps to control contacts, calendar, photos and general files. That being said, we are getting ready to move and I do not have the bandwidth to do a self-hosted server.

I tried Hertzner VPS sign up but didn't pass their weird identification request (and honestly didn't feel like sending pictures of my passport). What other host services are people using? I remember using the good cloud back in the day but I think that there was an app, memories?, that they didn't support. I honestly would like to use a hosting service that actually supports nextcloud and ideally green.

Does anybody use a hosted service with next cloud that they can vouch for? Something that will allow use of all the apps so that it can basically be a Google replacement once I move to grapheneOS. Thanks.

5
 
 

Hi!

I'd like to move my self hosted Nextcloud to a professional hoster.

I'm using it for photos, contacts, shared calendars and todo lists.

Photos, contacts and todo lists shouldn't be a problem I guess (just re-upload) but what account calendars - is there a way to migrate them including full history of events and all future events? Or is this included in the ICS file anyway?

Is there a best practice to migrate from self hosted to hosted?

Thanks a lot!

6
7
 
 

๐Ÿš€ NextCloudTalkAutomationBot: The power of a SIEMโ€ฆ without the SIEM! ๐Ÿ˜† - A powerful and flexible bot for sending system notifications and Event Logs through messages via Nextcloud Talk. ๐Ÿ’ฌ โœจ Key features: run Bash scripts/commands, using #Nextcloud Talk as your output screen ๐Ÿ“บ; receive real-time CPU, storage, #Docker #Container status, and Nextcloud/Wireguard authentication logs ๐Ÿ”

#ServerMonitoring #SelfHosting #RaspberryPi#EventLogging

8
 
 

I've been looking at alternatives to Google Workspace / Office 365 for SME / non-profits.

Broadly I have been searching for something that allows an organisation to use their own domain, includes email and nextcloud hosting and a mechanism to manage users/email addresses for the organisation.

In my ideal solution alongside an email server we would have access to a cloud hosted LDAP server/instance to manage users passwords and permissions and then administrators would be able to spin up instances of applications such as Nextcloud, Wordpress, CiviCRM and other Open source applications as a service.

I used the list of Hosting Providers on the Nexcloud website alongside the following list I found - https://github.com/thetuxinator/nextcloud_providers?tab=readme-ov-file

As yet we haven't made any decisions but created a shortlist of providers to consider: These include:

https://cloud68.co/managed-hosting/nextcloud https://www.stackhero.io/en/services/Nextcloud/pricing https://cloud.ionos.co.uk/solutions/nextcloud#packages https://www.commonscloud.coop/advanced-office/ https://www.federated.computer/pricing/ https://brixly.uk/email-hosting-with-nextcloud-

None of these seem perfect (I suspect that plenty of have some proprietary components in there (their own User provisioning and billing components )

I'm not sure any of these are perfect. I've also been looking at https://docs.coopcloud.tech/intro/strategy/ which appears to be aiming to provide mechanism to deliver such services for organisations on top of Baremetal / Cloud Compute and Storage. (Though this doesn't appear to include email and LDAP at the moment) I can see these would be natural extensions.

I'm also looking to see to what degree this could be achieved using Web Hosting Services (Cpanel now supports creating sub-users that can be configured to access to email, ftp and web storage but I am not sure whether their credentials can be used for single signon for Web Applications running on your account such as WordPress and NextCloud. I need to look at the other major WebHosting Provisioning systems such as ( I think Plesk is one)

9
 
 

I am running two basically identical Nextcloud instances. They were both installed with Yunohost. They both are on NC version 29.0.7 (latest available for Yunohost). One is on a computer at my house for personal use, one is on a VPS for my job. Just today I noticed that I can no longer edit any contacts at all on the one for work. My personal instance I can still edit contacts. Can anyone help me figure this out?

10
 
 

I'm currently running a Nextcloud instance in docker, using the "multiple containers" method, but I recently discovered that the reccomended method to run it is using this "All In One" image I previously didn't know about, and so I wanted to try to migrate to that setup (also in order to have easily also the office and whiteboard features that atm I don't have on my instance + have easier Backup-restore process)

The problem is that on my server I'm using traefik as a reverse proxy to expose services to the internet, and it is working on a specific docker network (called traefik_net) where also every container that should be exposed is connected, and from the official documentation of Nextcloud AIO I really don't understand how am I supposed to configure it to work in a setup like mine (mainly because the mastercontainer creates all the containers it needs on a network called nextcloud_aio and I didn't find a way to change that and where to set the proper traefik lables)

Anyone that is running AIO behind a traefik reverse proxy maybe can help me to understand?

11
12
 
 

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.

13
1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 
 

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.

14
 
 

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"}
15
16
 
 

They pulled an Apple as Nextcloud can sometimes implode

17
 
 

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?

18
 
 

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?

19
 
 

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. ๐Ÿฅบ

20
 
 

It points to an x86 image

21
 
 

Which version do you have installed and what do you use your installation for?

22
 
 

I'm trying out Nextcloud to use as on my home server. It looks great, but seems way overkill for just two users that really only want the file sync. capability.

As I'm reading I'm seeing references to WebDAV and it seems that the Nextcloud file sync. server might be "just" a WebDAV server? If it is, might it be possible to point the Nextcloud sync. client (on Windows and Android) at an appropriately configured Apache or nginx server?

The reason I'm asking here, rather than just trying for myself, is that I have no experience with WebDAV and have no idea what an appropriately configured server might mean in this situation. I'm happy to go do the required learning to make it work - just looking for someone to tell me it's not possible before I put too much effort into it.

23
24
25
 
 

I have a self hosted installation here which is running v23 something, according to version.php. Is there an upgrade path to the latest version?

view more: next โ€บ