nextcloud / web-installer Goto Github PK
View Code? Open in Web Editor NEWπ The web installer for Nextcloud
Home Page: https://download.nextcloud.com/server/installer/setup-nextcloud.php
π The web installer for Nextcloud
Home Page: https://download.nextcloud.com/server/installer/setup-nextcloud.php
Thereβs 2 things still to polish about the web installer:
Update the webinstaller to download and install v 17.0.0
When going to https://nextcloud.com/install/#instructions-server > Web Installer menu, the "right-click here" link goes to https://download.nextcloud.com/server/installer/setup-nextcloud.php.
The version of Nextcloud it installs in this file is 11.0.0
. In this repository, the version it installs is 12.0.1
, as merged in #15.
I am not sure if this is whether the 12.0.1
version isn't ready for the web-installer.php file or if it's just not set up on the website yet. There are no Nextcloud forum issues about this yet. I'm posting this here because I want this issue to get more attention from official contributors and Nextcloud maintainers.
The Web Installer should show the Nextcloud version, it will install. Otherwise the user does not know, what version will be installed.
If you show me where is you "make release" scripts, maybe I can do it.
After opening https://download.nextcloud.com/server/installer/setup-nextcloud.php
I received the following screen:
What happened to the web-installer.php?
regards, hitam4450
Ss. Or did I miss something ????
I attempted a fresh install of Nextcloud on a new Fedora 38 server today. I installed the PHP packages listed by setup-nextcloud.php, but actually two dependencies were missing from the list and caused critical errors to be logged. The packages on Fedora are called php-intl and php-process
There was also a critical out of memory error. The PHP default memory_limit of 128M is too low for Nextcloud. It would have been helpful if the installer had flagged this up so I could increase it before running the installer.
Packages that are required to avoid critical errors should be listed as dependencies. Required memory_limit setting should be checked prior to install.
Community Web installer on a VPS or web space
25
Other
PHP 8.2
Apache (supported)
MariaDB
Fresh Nextcloud Server install
None
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "27.0.0.8",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 0
}
}
}
Enabled:
- activity: 2.19.0
- calendar: 4.4.3
- circles: 27.0.0
- cloud_federation_api: 1.10.0
- comments: 1.17.0
- contacts: 5.3.2
- contactsinteraction: 1.8.0
- dashboard: 7.7.0
- dav: 1.27.0
- federatedfilesharing: 1.17.0
- federation: 1.17.0
- files: 1.22.0
- files_pdfviewer: 2.8.0
- files_rightclick: 1.6.0
- files_sharing: 1.19.0
- files_trashbin: 1.17.0
- files_versions: 1.20.0
- firstrunwizard: 2.16.0
- logreader: 2.12.0
- lookup_server_connector: 1.15.0
- mail: 3.2.3
- nextcloud_announcements: 1.16.0
- notes: 4.8.0
- notifications: 2.15.0
- oauth2: 1.15.0
- password_policy: 1.17.0
- photos: 2.3.0
- privacy: 1.11.0
- provisioning_api: 1.17.0
- recommendations: 1.6.0
- related_resources: 1.2.0
- richdocuments: 8.1.0
- richdocumentscode: 23.5.103
- serverinfo: 1.17.0
- settings: 1.9.0
- sharebymail: 1.17.0
- spreed: 17.0.1
- support: 1.10.0
- survey_client: 1.15.0
- systemtags: 1.17.0
- text: 3.8.0
- theming: 2.2.0
- twofactor_backupcodes: 1.16.0
- updatenotification: 1.17.0
- user_status: 1.7.0
- viewer: 2.1.0
- weather_status: 1.7.0
- workflowengine: 2.9.0
Disabled:
- admin_audit: 1.17.0
- bruteforcesettings: 2.7.0
- encryption: 2.15.0
- files_external: 1.19.0
- suspicious_login: 5.0.0
- twofactor_totp: 9.0.0
- user_ldap: 1.17.0
No errors have been found.
No response
No response
PHP fatal error on web installer script as follows:
LAMP VPS host at: http://000webhost.com
PHP Version: 7.4
Installer file: setup-nextcloud.php
Error Report:
Composer autoloader not found, unable to continue. Check the folder "3rdparty". Running "git submodule update --init" will initialize the git submodule that handles the subfolder "3rdparty".
The web installer that is offered on nextcloud.com/install still triggers the download of Nextcloud 16.0.3 (instead of "latest"). So it seems it was forgotten to transfer this version from here to the Nextcloud website.
As discussed with @jancborchardt π π·
cc @MorrisJobke π
I started the web-installer ( version 11.0.2). and after the second step I receive the HTML Error forbidden!
Why ? In many installations before it worked like a charm!
after entering serverip/nextcloud/index.php it went to the final step!
However, after 2 weeks of desperate attempts, no LOGIN into mysql is possible!
when I download the setup-nextcloud.php file from the webpage in the .php file the version is
define('NC_VERSION', '16.0.3');
I know in the source code it's latest. Maybe somebody know why the php file didn't get an update
https://nextcloud.com/install/#instructions-server
I tried php -f setup-nextcloud.php
but this ain't doing anything
mkdir ~/nextcloud
cd ~/nextcloud
curl -O https://download.nextcloud.com/server/installer/setup-nextcloud.php
php -f setup-nextcloud.php
It does nothing.
If you are installing Nextcloud with the web-installer and using sqlite as database (didn't try with other databases) on a host myhost.mydomain.com
and directory my-nc-dir
, the final step redirects the browser to http://my-nc-dir/index.php/core/apps/recommended
instead of http://myhost.mydomain.com/my-nc-dir/index.php/core/apps/recommended
The install at /setup-nextcloud.php seemed to go well, but afterward, upon logging in, themes are broken, and the site is nearly un-navigable.
The theme settings page is too broken to select another theme, and selecting another theme via occ also seems to have no effect.
I saw similar issues from other install methods described and tried several suggestions, to no avail:
occ maintenance:theme:update - no effect
occ user:setting administrator accessibility theme dark - no effect
occ user:setting administrator accessibility theme light - no effect
occ app:disable theming - error: theming can't be disabled.
also tried updating via occ - got a message saying everything is up to date.
Getting errors in logs such as:
024/02/12 08:29:08 [error] 2204#2204: *508 open() "/var/www/my.obfuscated-url.local/index.php/apps/theming/theme/dark-highcontrast.css" failed (20: Not a directory), client: (myipaddress), server: my.obfuscated-url.local, request: "GET /index.php/apps/theming/theme/dark-highcontrast.css?plain=1&v=e8053a31 HTTP/1.1", host: "my.obfuscated-url.local"
Not sure what it could be. I used an nginx template based off one from a previous server that worked fine (v24 nextcloud).
upstream php-handler {
#server 127.0.0.1:9000;
server unix:/var/run/php/php8.2-fpm.sock;
}
server {
listen 80;
listen [::]:80;
ssl_certificate /etc/letsencrypt/live/obfuscated.domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/obfuscated.domain/privkey.pem;
server_name my.obfuscated.domain.domain;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name my.obfuscated.domain.domain;
root /var/www/my.obfuscated.domain.domain;
ssl_certificate /etc/letsencrypt/live/obfuscated.domain/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/obfuscated.domain/privkey.pem; # managed by Certbot
index index.php index.html index.htm index.nginx-debian.html;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~* /wp-sitemap.*\.xml {
try_files $uri $uri/ /index.php$is_args$args;
}
client_max_body_size 512M;
location ~ \.php$ {
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
include snippets/fastcgi-php.conf;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 128k;
fastcgi_intercept_errors on;
}
gzip on;
gzip_comp_level 6;
gzip_min_length 1000;
gzip_proxied any;
gzip_disable "msie6";
gzip_types
application/atom+xml
application/geo+json
application/javascript
application/x-javascript
application/json
application/ld+json
application/manifest+json
application/rdf+xml
application/rss+xml
application/xhtml+xml
application/xml
font/eot
font/otf
font/ttf
image/svg+xml
text/css
text/javascript
text/plain
text/xml;
# assets, media
location ~* \.(?:css(\.map)?|js(\.map)?|jpe?g|png|gif|ico|cur|heic|webp|tiff?|mp3|m4a|aac|ogg|midi?|wav|mp4|mov|webm|mpe?g|avi|ogv|flv|wmv)$ {
expires 90d;
access_log off;
}
# svg, fonts
location ~* \.(?:svgz?|ttf|ttc|otf|eot|woff2?)$ {
add_header Access-Control-Allow-Origin "*";
expires 90d;
access_log off;
}
location ~ /\.ht {
access_log off;
log_not_found off;
deny all;
}
}
I've double-checked php settings and all that, increased memory, script timeouts, that sort of stuff. Nothing looks off there, and phpinfo shows the settings being honored.
Any ideas? I've been seeing other people have similar problems going back a while, but no solution to my problem. I've seen a couple posts around the net that are the specific problem I'm having (w/ same errors), but nobody responded in those forums.
As of today, setup-nextcloud.php is still delivering Nextcloud 12.0.4 instead of Nextcloud 13. I think this should be updated.
I have vague memories of using the web-installer to get NextCloud running on my home media server about a month ago when I was first toying with the idea of using it. Since then I have wiped my drive and tried a couple of other services like Cloudron. But I have decided to come back to NextCloud.
I can't seem to get it to run the php file locally though. Uh... I know that php has to run on a server, or at least I think so because I usually have to run a server on my windows machine in my Mamp stack etc. So I'm not surprised it doesn't run but I'm also not sure what I did last month. I might have just used an AppImage or Snap, I'm uinsure but I seem to remember there being a webinstaller but I can't find any information on how to install it locally, everything talks about installing it to shared hosting.
Hi, can't find any answer on the web so i post here.
I have this error
Method Not Implemented
GET to /nextcloud/setup-nextcloud.php not supported.
when i access https://www.domain.fr/nextcloud/setup-nextcloud.php
Thank's for help.
To be consistent with the actual, current release of NC 14 update the webinstaller accordingly!
Many Thanks!
Regards, hitam4450
Update the Web-installer to the current version of 15.0.x, please!
regards, hitam4450
I installed the server using the php script and after saying it was a successful install I get a "404 Not Found
nginx/1.18.0 (Ubuntu)" page and nothing more
In fact, the only page that seems to do something is status.php, which shows
Installed | true
maintenance | false
needsDbUpgrade | false
version | "25.0.2.3"
versionstring | "25.0.2"
edition | ""
productname | "Nextcloud"
extendedSupport | false
Using linux Mint 20.3 with mysql 8 and PHP 7.4.33
Page not found
Community Web installer on a VPS or web space
Debian/Ubuntu
PHP 7.4
Nginx
MySQL
Fresh Nextcloud Server install
None
Console has to be executed with the user that owns the file config/config.php
Current user id: 0
Owner id of config.php: 33
Enabled:
- activity: 2.17.0
- circles: 25.0.0
- cloud_federation_api: 1.8.0
- comments: 1.15.0
- contactsinteraction: 1.6.0
- dashboard: 7.5.0
- dav: 1.24.0
- federatedfilesharing: 1.15.0
- federation: 1.15.0
- files: 1.20.1
- files_pdfviewer: 2.6.0
- files_rightclick: 1.4.0
- files_sharing: 1.17.0
- files_trashbin: 1.15.0
- files_versions: 1.18.0
- firstrunwizard: 2.14.0
- logreader: 2.10.0
- lookup_server_connector: 1.13.0
- nextcloud_announcements: 1.14.0
- notifications: 2.13.1
- oauth2: 1.13.0
- password_policy: 1.15.0
- photos: 2.0.1
- privacy: 1.9.0
- provisioning_api: 1.15.0
- recommendations: 1.4.0
- related_resources: 1.0.3
- serverinfo: 1.15.0
- settings: 1.7.0
- sharebymail: 1.15.0
- support: 1.8.0
- survey_client: 1.13.0
- systemtags: 1.15.0
- text: 3.6.0
- theming: 2.0.1
- twofactor_backupcodes: 1.14.0
- updatenotification: 1.15.0
- user_status: 1.5.0
- viewer: 1.9.0
- weather_status: 1.5.0
- workflowengine: 2.7.0
Disabled:
- admin_audit
- bruteforcesettings
- encryption
- files_external
- suspicious_login
- twofactor_totp
- user_ldap
404 Not Found
nginx/1.18.0 (Ubuntu)
{"reqId":"4OLhps46GyeV0HgV02CX","level":2,"time":"2023-01-08T15:18:45+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/","message":"Could not detect any host in http:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"","data":[]}
{"reqId":"4OLhps46GyeV0HgV02CX","level":2,"time":"2023-01-08T15:18:45+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/","message":"Could not detect any host in https:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"","data":[]}
{"reqId":"oL1stPO4AI9nBTRhCVvg","level":2,"time":"2023-01-08T15:19:24+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php","message":"Could not detect any host in http:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"","data":[]}
{"reqId":"oL1stPO4AI9nBTRhCVvg","level":2,"time":"2023-01-08T15:19:24+00:00","remoteAddr":"192.168.1.1","user":"--","app":"no app in context","method":"POST","url":"/nextcloud/index.php","message":"Could not detect any host in https:///nextcloud/data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"","data":[]}
{"reqId":"z7uFcJHDiPTRyP7oN1bh","level":3,"time":"2023-01-08T15:20:16+00:00","remoteAddr":"192.168.1.1","user":"al","app":"PHP","method":"POST","url":"/nextcloud/index.php","message":"exif_read_data(): File not supported at /var/www/html/nextcloud/lib/private/Metadata/Provider/ExifProvider.php#59","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0","version":"25.0.2.3","exception":{"Exception":"Error","Message":"exif_read_data(): File not supported at /var/www/html/nextcloud/lib/private/Metadata/Provider/ExifProvider.php#59","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Metadata/Provider/ExifProvider.php","line":59,"function":"exif_read_data"},{"file":"/var/www/html/nextcloud/lib/private/Metadata/MetadataManager.php","line":68,"function":"execute","class":"OC\\Metadata\\Provider\\ExifProvider","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Metadata/FileEventListener.php","line":101,"function":"generateMetadata","class":"OC\\Metadata\\MetadataManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OC\\Metadata\\FileEventListener","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/HookConnector.php","line":118,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":641,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":692,"function":"emit_file_hooks_post","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Util.php","line":257,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Util.php","line":216,"function":"copyr","class":"OC_Util","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/User/Session.php","line":553,"function":"copySkeleton","class":"OC_Util","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/User/Session.php","line":403,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/User/Session.php","line":616,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/private/User/Session.php","line":355,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/private/Setup.php","line":433,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/core/Controller/SetupController.php","line":69,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/lib/base.php","line":980,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
The only way to install this painlessly is using the snap, and then we are stuck to not having face recognition as there is no way to insert into the snap the required library
NOT easy to install as stated
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.