On which step are you getting 404 error? What path have you choosed to store the data? You can check the log files for apache24 and nextcloud after you get the 404 error
outkastm wrote: ↑28 Mar 2022, 04:34
On which step are you getting 404 error? What path have you choosed to store the data? You can check the log files for apache24 and nextcloud after you get the 404 error
[Sun Mar 27 12:56:45.114167 2022] [ssl:warn] [pid 8601] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Mar 27 12:56:45.114306 2022] [ssl:warn] [pid 8601] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Sun Mar 27 12:56:45.287137 2022] [ssl:warn] [pid 8602] AH01906: www.example.com:31443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Mar 27 12:56:45.287176 2022] [ssl:warn] [pid 8602] AH01909: www.example.com:31443:0 server certificate does NOT include an ID which matches the server name
[Sun Mar 27 12:56:45.918055 2022] [mpm_prefork:notice] [pid 8602] AH00163: Apache/2.4.51 (Unix) OpenSSL/1.1.1i PHP/7.4.26 configured -- resuming normal operations
[Sun Mar 27 12:56:45.918131 2022] [core:notice] [pid 8602] AH00094: Command line: '/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/Nextcloud_okm/httpd.conf'
[Sun Mar 27 12:57:43.750916 2022] [authz_core:error] [pid 8605] [client 192.168.1.90:61996] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:8181/
[Sun Mar 27 12:57:43.955547 2022] [authz_core:error] [pid 8605] [client 192.168.1.90:61996] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:31000/
[Sun Mar 27 12:57:51.535673 2022] [authz_core:error] [pid 8608] [client 192.168.1.90:62000] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:8181/
[Sun Mar 27 12:57:51.726481 2022] [authz_core:error] [pid 8608] [client 192.168.1.90:62000] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: https://192.168.1.51:31443/
[Sun Mar 27 12:59:32.643498 2022] [authz_core:error] [pid 8607] [client 192.168.1.90:62026] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:8181/
[Sun Mar 27 12:59:32.818339 2022] [authz_core:error] [pid 8607] [client 192.168.1.90:62026] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:31000/
[Sun Mar 27 13:00:53.185542 2022] [authz_core:error] [pid 8604] [client 192.168.1.90:62062] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:8181/
[Sun Mar 27 13:00:53.370887 2022] [authz_core:error] [pid 8604] [client 192.168.1.90:62062] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: https://192.168.1.51:31443/
[Sun Mar 27 13:01:00.216023 2022] [authz_core:error] [pid 8605] [client 192.168.1.90:62063] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:8181/
[Sun Mar 27 13:01:00.396950 2022] [authz_core:error] [pid 8605] [client 192.168.1.90:62063] AH01630: client denied by server configuration: /usr/local/Nextcloud_okm/bin/nextcloud, referer: http://192.168.1.51:31000/
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/local/Nextcloud_okm/bin/nextcloud"
<Directory "/usr/local/Nextcloud_okm/bin/nextcloud">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymlinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
#
# Controls who can get stuff from this server.
#
Require all granted
SetEnv HOME /usr/local/Nextcloud_okm/bin/nextcloud
SetEnv HTTP_HOME /usr/local/Nextcloud_okm/bin/nextcloud
</Directory>
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
I've tried a clean install of the app and i can access the setup page without issues
I figured it out. All I had to do was Uninstall and reinstall nextcloud and it was fixed. I am curious what the steps are to access nextcloud online rather then Lan. I'll look into this later. Thank you for your work!
outkastm wrote: ↑28 Mar 2022, 08:16
have you somehow edited the file httpd.conf ?
From WebUI go to Configuration Files >> Edit httpd.conf and send me the section below
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/local/Nextcloud_okm/bin/nextcloud"
<Directory "/usr/local/Nextcloud_okm/bin/nextcloud">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymlinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
#
# Controls who can get stuff from this server.
#
Require all granted
SetEnv HOME /usr/local/Nextcloud_okm/bin/nextcloud
SetEnv HTTP_HOME /usr/local/Nextcloud_okm/bin/nextcloud
</Directory>
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
I've tried a clean install of the app and i can access the setup page without issues