Control Web Panel
WebPanel => Addons => Topic started by: Umbus on February 19, 2018, 02:20:55 PM
-
Hello,
I installed the nextcloud via softaculous, and I updated your pro version of cwp (it is not yet active), the problem is that when starting Nextcloud, does not appear folders or files in the site.
And when I try to create a folder or send a file says that I do not have permissions to do so. Can anyone help?
I've already tried putting the data folder to 777 but it still does not work
Thanks
-
did you try https://yourip:2087/admin/index.php?module=fix_acc_perm
-
Yes I have tried but don't work :/
-
any screenshot you can show of error?
-
Only have a notification say: "You don't have permission to upload or create files here", and in first page are in blank when have start installer filles and images.
Yesterday I tried use the vestacp and works, but I use the cwp a long time and like it... :'(
-
Did you check file permission are they owned by correct users?
-
I think so, it was the softaculous that installed via cwp and I'm logging in with the nextcloud admin account
-
something you can find in apache error log?
-
In this moment I have this warnings in admin panel of nextcloud:
https://ibb.co/jXsORS
This is what happens when I try to delete notifications on the right side of the screen:
https://ibb.co/hitV6S
When I drag files to upload, this happens (Translation:You don't have permission to upload or create files here):
https://ibb.co/f5usLn
How can I see the logs in cwp panel (I'm not home)?
-
I've been able to solve the problem. It was webdav that was not working. I solved the problem the way I found it here in the forum:
Step 1:
You can edit httpd.conf (from Apache Configuration in "Apache Settings")
Search modules and uncomment the lines (include)
LoadModule alias_module modules/mod_alias.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_user_module modules/mod_authz_core.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_lock_module modules/mod_dav_lock.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
Step 2:
/usr/local/apache/bin/httpd -M | grep -i dav
Syntax OK
dav_module (static)
dav_fs_module (static)
dav_lock_module (static)
If you show like this, okey go to step 3
Step 3:
/usr/local/apache/conf/extra/httpd-userdir.conf
Replace with these codes:
<Directory "/home/*/public_html">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Step 4: (for Nextcloud/Owncloud and other cloud app)
/home/USERNAME/public_html/nextcloud/.htaccess
Add the bottom of the page
<Limit GET POST>
order deny,allow
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
allow from all
</Limit>
Step 5:
systemctl restart httpd
-
Sorry for bumping this old topic. I'll start a new one if necessary.
I tried the last suggestions above, but the mod_dav_lock.so module is missing from my Apache config and is not present in the modules folder.
Do I need to recompile Apache with mod_dav_lock.so?
-
Yes you need to recompile apache add this options:
--enable-dav
--enable-dav-fs
--enable-dav-lock
--enable-auth-digest
--enable-authn-core
--enable-authz-core