Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"403 Forbidden" to "Move" #32207

Closed
ankitpsaraogi opened this issue Aug 1, 2018 · 5 comments
Closed

"403 Forbidden" to "Move" #32207

ankitpsaraogi opened this issue Aug 1, 2018 · 5 comments

Comments

@ankitpsaraogi
Copy link

Steps to reproduce

  1. Create an excel file and let it sync via desktop client
  2. Open the excel file, make some changes and save
  3. Let it try syncing and you get this error

Expected behaviour

It should have synced

Actual behaviour

Instead I see a red cross on the file and the file doesn't get synced even after restart

Server configuration

Operating system:
linux
Web server:

Database:

PHP version:
7.2
ownCloud version: (see ownCloud admin page)
NextCloud 13.0.5
Updated from an older ownCloud or fresh install:
Updated from 13.0.4
Where did you install ownCloud from:
Softaculous
Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...
@ankitpsaraogi
Copy link
Author

image
image

@ownclouders
Copy link
Contributor

GitMate.io thinks possibly related issues are #12538 ([master] WebDAV MOVE from root into shared folder as non owner 403 forbidden), #10084 (403 Forbidden error and .htaccess patch to resolve), #1023 (Copy and Move function), #7540 (302 Temporarily Moved), and #18409 (PROPPATCH returns 403).

@ankitpsaraogi
Copy link
Author

ankitpsaraogi commented Aug 1, 2018

Hi @ownclouders
I tried the solution provided in #10084 (403 Forbidden error and .htaccess patch to resolve) but it is not working even after editing the .htaccess file

There has been this latest development:

I paused the sync app and tried to paste the same file directly in the cloud by dragging it to my webbrowser. It asked me whether I want to replace the file and I confirmed. It started uploading and then it froze stating "a minute" remaining. I am unable to access my domain at all now. The domain access has been revoked.

image

cpanel screenshot:
image

@individual-it
Copy link
Member

NextCloud 13.0.5

@ankitpsaraogi This is the repo of ownCloud, you are using the nextcloud fork so you have to ask for the solution at NextCloud.
Or feel free to install ownCloud from https://owncloud.org/download/
Probably the easiest way to test is to use docker https://owncloud.org/news/how-to-set-up-an-owncloud-in-3-minutes/

@hodyroff
Copy link
Contributor

Tested with oC 10.0.9 and oC Desktop Client 2.4.2. works perfectly. Please try with ownCloud and welcome to our community!

@lock lock bot locked as resolved and limited conversation to collaborators Aug 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants