nextcloud.com | Please take a moment to review this document | Content Management System library
kandi X-RAY | nextcloud.com Summary
kandi X-RAY | nextcloud.com Summary
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns an array of default commands
- Make a request to the API
- Request an access token
- Lint files .
- Returns whether openssl parse is safe .
- Render the widget
- Parse command line arguments .
- Get all read - only operations
- Finds the file with the given extension .
- Handles a web service error .
nextcloud.com Key Features
nextcloud.com Examples and Code Snippets
Community Discussions
Trending Discussions on nextcloud.com
QUESTION
I am hosting this nextcloud snap more than a year, successfully. No error or bugs. Great!
But yesterday, out of the blue I couldn't sync with my nextcloud anymore. I got this error in my browser: "Dein Datenverzeichnis ist ungültig Stelle sicher, dass eine Datei “.ocdata” im Wurzelverzeichnis des data-Verzeichnisses existiert. Your data directory is not writable Berechtigungen können zumeist korrigiert werden indem dem Web-Server Schreibzugriff auf das Wurzel-Verzeichnis eingeräumt wird. Siehe auch https://docs.nextcloud.com/server/20/go.php?to=admin-dir_permissions 12. "
I checked if the "ocdata" was there. It was. I checked its permissions. All were right. After that I changed the user:group of the data directory (chown without -R) to "root:root", because before that it was "system_user:system_user". Directly after this I saw the login page. After trying sync via the client, the login page was gone und I now have this error: "Internal Server Error
The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log."
After that I tried 770 permissions on the whole data folder. Used different cominations of root and the system user with chown on the whole data folder. No changes.
In my logs I can't find a proper hint. I don't know where on my system I have to search for the solution.
My logsYou can see my logs on github
Here are some system informations:nextcloud 20.0.7snap1 26119 latest/candidate nextcloud✓ -
snap 2.49.1 snapd 2.49.1 series 16 debian 10 kernel 4.19.0-14-amd64
...ANSWER
Answered 2021-Mar-29 at 19:19So, now I can say it is running! I can access the website and the client is syncing. Finally! The solution was this command
QUESTION
I would like to set up nextcloud locally with postgres via docker. I am able to do so without attempting to use postgres (i.e. with default sqllite) but I run into problems when using postgres docker in conjunction with the nc image.
My laptop is Ubuntu 18.04.
Goal: I would like to have a containerized set up locally that I can easily (or at least somewhat easily) move to a cloud provider whenever I like. I'm setting up volumes for postgres as well as nc so that I can transfer everything to a remote as when I choose.
Here's my repo which includes Dockerfile and docker-compose:
Dockerfile: (Note I add smbclient since I learned the hard way that I need this to install the app for external storage, which I'd like to use)
...ANSWER
Answered 2021-Jan-18 at 02:46I'm pretty sure the problem is this line:
QUESTION
I am currently setting up a Nextcloud server and have everything set up and working, except MySQL 4-byte character support. I am using the default package host for Ubuntu Server 20.04.1 LTS and the MySQL package from said host. It says that it's version is: 'Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu)'
Nextcloud's Security & Setup Warnings section of the Administration page says that:
MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this.
The problem is that when I run the command show variables like 'innodb_file_format';
from said documentation page, it returns this:
ANSWER
Answered 2020-Sep-05 at 02:33As mysql release notes on v8.0 says (emphasis is mine):
The following options will be removed:
innodb_file_format
innodb_file_format_check
innodb_file_format_max
innodb_large_prefix
So, the documentation linked in the question is simply incorrect, this system variable does not exist in mysql. I do not think it affects its ability to use utf8mb4 charset.
QUESTION
I set up a nextcloud instance and I would like to download files from there using a python script. My nextcloud instance enforces 2-factor authentication for all users and I want it to remain that way.
My dream scenario would be to use the requests
library, so following the docs here https://docs.nextcloud.com/server/15/developer_manual/client_apis/WebDAV/basic.html , I tried to do something like this:
ANSWER
Answered 2020-Mar-30 at 18:34You can bypass the 2-factor authentication by generating a secure password for a single application.
In next cloud, go to: Settings -> Personal -> Security -> Create New App Password
The password will be shown to you once (and only once), use it in place of your normal password in your script.
QUESTION
I would like to create a base Vue app providing basic functionality like signing in, navigating through a sidebar etc. But the navbar items have to be interchangeable. I want to create separate Vue apps representing these navbar items.
Basic idea:
A REST API and a basic container (Vue app), which is able to render other Vue apps in a specifc div
element, should be provided. This would allow other ones to add their own frontend apps and work with that API if they want to. So I will just provide some basic apps. The main idea is to create a Plug and Play system for a very modular administration system. I will provide a registration process for that custom app so the API knows that app and it's base url and my base app can fetch all those apps.
Base app setup
So my base app provides a route for these custom apps
...ANSWER
Answered 2019-Oct-05 at 02:21Vue does not know
CustomAppContainer
Try to add import CustomAppContainer from "path/to/CustomAppContainer.vue"
It must be in .vue file.
Vue does not know
#customAppContainer
Yes, that selector must be in index.html
. Yours is in CustomAppContainer
.
Try to add to index.html
(usually in /public folder) something like
.$mount('#customAppContainer');
with .$mount('#app');
3
Vue router needs tag. So, try this markup:
QUESTION
I've created a demo Nextcloud build(the backend seems to be SabreDAV) and enabled the calendar app. Functions like PROPFIND are working via CURL, but I can't create a new calendar(not a calendar object).
The MKCALENDAR functions doesn't exist on the server, so I'm using MKCOL based on the RFC5689 spec like so:
...ANSWER
Answered 2019-Aug-11 at 10:12Turns out MKCALENDAR works but it was being rejected due to an incorrect request.
The URL being sent needs to point to the calendar that's being created. It isn't derived from the "displayname" entry in the XML. So:
QUESTION
I need to use nextcloud with reverse proxy (virtual path), and i can't understand where i made a mistake. It is my config (after some simplifications)
...ANSWER
Answered 2019-Jan-10 at 08:59You don't need to change nginx config. There is special parameter for proxy in nextcloud config.php - overwritewebroot
. See https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/config_sample_php_parameters.html
QUESTION
I need to use Nextcloud WebDAV client api in node.js project. Nextcloud has MySQL DataBase. For request like this:
...ANSWER
Answered 2018-Oct-25 at 19:19That's not a sleep query, that means that the connection is established but not actively performing any queries. The time listed is just how long it's been idle.
QUESTION
I need to check if I have a file in my Nextcloud before uploading another one (same name). I haven't found any way to do this using curl (the command I'm using to upload the new file). So, searching in the client API of Nextcloud I've found the webDAV search.
I've tried to use it before the upload to check if the file exists. This is what I've achieved:
...ANSWER
Answered 2018-Aug-27 at 12:12After all I've found an easier way to check if a file exists:
QUESTION
I'm trying to create a calendar event in Nextcloud with PHP and cURL. After running the code from command line, I get the following error from Nextcloud 12:
...ANSWER
Answered 2018-Jun-04 at 21:57If you use a HTTP PUT
request, the intention is that you replace the resource at the uri that you are referencing. So your sample HTTP request is telling me that you are replacing:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nextcloud.com
Must be in the document root of the webserver (otherwise images won't load :( )
Enter what you like for site title, admin user and password, none of this is stored in git
Setup the repository
Clone the repository in a folder of your choice * git clone git@github.com:nextcloud/nextcloud.com next
In the wordpress installation in the wp-content/themes folder, create a link to the folder you just cloned the repository in under the name 'next'
Activate the theme in Appearance > Themes
Import the website content.xml file
First install the Wordpress Import Plugin (via Tools > Import > Wordpress Import > Install Plugin)
Select the content.xml file from the repository and click upload
Select Import
Copy over config.php.sample to config.php and adjust settings as necessary (defaults will work just fine for local environments)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page