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

Slashes in filenames on Google Drive External storage causes sync error #4028

Closed
moretocome opened this issue Mar 24, 2017 · 5 comments
Closed

Comments

@moretocome
Copy link

The title says it all. Whenever someone creates a document on Google Docs that contains a slash / in the filename, it causes a sync-error in my Nextcloud client. I expect other illegal characters could also produce the same error, but I have only experienced it with slashes.

Login into Drive and changing the file name fixes the error, but maybe some type of escape function should be implemented for illegal file name characters.

NC and External app are both most recent stable versions and the server is a RPI with the latest Raspbian.

Steps to reproduce

  1. Enable External Sites App
  2. Add Google Drive to Nextcloud
  3. Create a document in Google Docs

Expected behaviour

The file from Google Drive should sync with Nextcloud

Actual behaviour

The file produces a continuous sync error in the Nextcloud Client

Server configuration

Latest Raspbian

Web server:
NginX

Database:
MariaDB

PHP version:
7.0

Nextcloud version: (see Nextcloud admin page)
11.0.2 (latest stable)

Updated from an older Nextcloud/ownCloud or fresh install:
Updated

Where did you install Nextcloud from:
Manual install

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

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

The content of config/config.php:

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

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)

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

Are you using encryption: yes/no
No

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

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud 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:
Firefox

Operating system:
Linux Mint 18.1

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

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

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

konstin commented Apr 24, 2017

I have a related problem: For folders with slashes in their name, only the part after the slash is shown and the folder can not be accessed in any way.

@moretocome
Copy link
Author

Sounds like the same issue.

@APenketh
Copy link

APenketh commented May 4, 2017

Also getting the same issue with any file within Google Drive that contains "/". Will happily post any logs etc that are required if needed.

@y0va
Copy link

y0va commented Feb 7, 2018

Problem persists.
Nextcloud docker 12.0.5

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@MorrisJobke
Copy link
Member

As this is a separate app: please report it in that repo https://github.com/NastuzziSamy/files_external_gdrive/

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants