nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.94k stars 875 forks source link

Cannot open doc, docx, xlsx, odt, ods, txt files #1415

Open R8s6 opened 4 years ago

R8s6 commented 4 years ago

Expected behaviour

Able to view and edit common office documents, such as doc, docx, odt, xlsx, ods, txt files, with Nextcloud's built-in viewer.

Actual behaviour

Cannot view or edit common office documents, such as doc, docx, odt, ods, txt files. It shows a white page, then with an error: cURL error 3: malformed (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Txt was supported a while ago, but lately it couldn't be opened any more.

Steps to reproduce

Server: snap 19.0.2snap1 Client, iOS 3.06 Open up a doc, docx, odt, ods, txt file,

Reasoning or why should it be changed/implemented?

These files are very common in an office environment, so it's probably expected that these files can be opened by the built-in viewer. Your competitor Dropbox can open them.

iOS version

13.6.x

App version

3.6.x

Server configuration

Snap 19.0.2snap1

Operating system: Server: ubuntu 20.04 iOS App: iOS 13.6

Web server: snap built-in

Database: snap built-in

PHP version: snap built-in

Nextcloud version: (see Nextcloud admin page) 19.0.2

Thank you.

kaulex99 commented 3 years ago

Same issue with xlsx files iOS version 14.3

App version 3.1.0

Operating system: Server: debian 10 iOS App: iOS 13.6

Web server: Nginx

Database: MariaDB

PHP version: 7.4

Nextcloud version: (see Nextcloud admin page) 20.0.5

R8s6 commented 3 years ago

Update:

As of 2021-06-15,

Server: snap stable, v21.0.1snap2 Client: official iOS app, v3.4.2.0

baku104788 commented 3 years ago

For me ODS/XLSX files do not open. These files simply give a message saying that an error occured while opening the file. (sometimes it doesnt give error and just sits at "loading spreadsheet") XLS file does open. Additionally - from a desktop computer all files open without issue.

OS - Ubuntu LTS 20.04 PHP 2:7.4+75 Nextcloud 21.0.3 Document server 0.1.11 Onlyoffice 7.0.2 ios app 4.0.4 (same error occurs when opening via the web browser and not using the app)

stjeanp commented 2 years ago

I've run in to this as well, with app version 4.0.6.0 (iPhone Xr running iOS 15.0.1) and server version 22.2.0. It's an excel file created by a python script that I wrote, using XlsxWriter. It's just a couple tabs, with data from my Kodi instance. I can share it if it'd help y'all debug the app. It opens fine in Numbers on the iPhone.

christian-heusel commented 6 months ago

I have fixed this issue by disabling the OnlyOffice extension 🤔 Thats of course not a great solution but maybe helps diagnosing the issue further.