{"id":15645034,"url":"https://github.com/jancborchardt/nextcloud-scripts","last_synced_at":"2025-04-30T11:15:26.031Z","repository":{"id":10813812,"uuid":"13088419","full_name":"jancborchardt/nextcloud-scripts","owner":"jancborchardt","description":"☁️ Scripts to easier set up \u0026 update Nextcloud","archived":false,"fork":false,"pushed_at":"2020-04-21T10:15:03.000Z","size":420,"stargazers_count":63,"open_issues_count":5,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T01:31:49.870Z","etag":null,"topics":["nextcloud","nextcloud-installation","script","scripts"],"latest_commit_sha":null,"homepage":"https://nextcloud.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jancborchardt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-25T08:35:18.000Z","updated_at":"2024-12-30T17:11:05.000Z","dependencies_parsed_at":"2022-08-16T13:45:18.868Z","dependency_job_id":null,"html_url":"https://github.com/jancborchardt/nextcloud-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancborchardt%2Fnextcloud-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancborchardt%2Fnextcloud-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancborchardt%2Fnextcloud-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jancborchardt%2Fnextcloud-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jancborchardt","download_url":"https://codeload.github.com/jancborchardt/nextcloud-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251687631,"owners_count":21627603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nextcloud","nextcloud-installation","script","scripts"],"created_at":"2024-10-03T12:04:07.409Z","updated_at":"2025-04-30T11:15:25.994Z","avatar_url":"https://github.com/jancborchardt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :rainbow: :dancer: :hammer: How to\n\nSet the permissions to run the script:\n\n```\n$ chmod a+x nextcloud-\u003caction\u003e-\u003cplatform\u003e.sh\n```\n\nRun it:\n```\n$ chmod a+x nextcloud-\u003caction\u003e-\u003cplatform\u003e.sh\n```\n## :pencil2: Apache configuration for symlinks\n\n### :bangbang: “Symbolic link not allowed or link target not accessible\"\n:pushpin: The script creates a symlink from your home directory to the server folder. Apache will throw the error “Symbolic link not allowed or link target not accessible\" in /var/log/apache2/error_log if you do not to configure it properly as described bellow.\n\n#### :crocodile: openSUSE Linux\n\nAdd the following lines to /etc/apache2/default-server.conf:\n\n```\n        Options Indexes FollowSymLinks\n        AllowOverride None\n```\n\nThe settings need to be in ```\u003cDirectory \"/srv/www/htdocs\"\u003e```:\n\n```\nDocumentRoot \"/srv/www/htdocs\"\n\n#\n# Configure the DocumentRoot\n#\n\u003cDirectory \"/srv/www/htdocs\"\u003e\n        Options Indexes FollowSymLinks\n        AllowOverride None\n        #Require all granted\n```\n\nRestart Apache:\n\n```\n$ sudo apache2ctl restart\n```\n\n\n###  :smiley_cat: Ubuntu\n\nWIP\n\n### 🔒 If your home folder is encrypted\n\nThe symlinks will not work, so you need to work around that as described at this link: https://stackoverflow.com/a/39037942\n\n```\n$ sudo apt-get install lsyncd\n```\nStarting the background service\n```\n$ sudo lsyncd -rsync /home/\u003cusername\u003e/nextcloud/ /var/www/html/nextcloud/\n```\nAdditionally set the permissions on the lsynced files in /var/www\n```\nsudo chown www-data:www-data /var/www/data\nsudo chown :www-data /var/www/config/\nsudo chmod 775 /var/www/config/\nsudo chown :www-data /var/www/apps/\nsudo chmod 775 /var/www/apps/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjancborchardt%2Fnextcloud-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjancborchardt%2Fnextcloud-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjancborchardt%2Fnextcloud-scripts/lists"}