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

OCR app not showing in app list after downloaded #31

Closed
polkillas opened this issue Nov 20, 2016 · 8 comments
Closed

OCR app not showing in app list after downloaded #31

polkillas opened this issue Nov 20, 2016 · 8 comments
Assignees

Comments

@polkillas
Copy link

Bug report

Expected Behavior

I have tried to install this app by downloading tarball from Nextcloud appstore and by cloning the repo. It should appear as an inactive app.

Current Behavior

App can't be found in list.

Steps to Reproduce (for bugs)

  1. Install tesseract and ocrmypdf from package manager (Raspbian 8 unstable)
  2. Clone git repository / donwload from NC appstore.
  3. Open app settings page
  4. App isn't there.

Context

I have tried to install the app from the old Owncloud apstore. As it is not there, I changed my settings.php to point to NC appstore. I couldn't find it there so I tried to download the tar.gz from there. I noticed there were some problems with file permissions and I fixed them manually, but app doesn't appear in the list.
I have also tried to install app by cloning the repository. I find the same permission issue.
The permissions in app folder are:

  • -rw-r--r-- in files
  • drwx------ in folders
    I checked other apps permisssions and I see the folders permssions are drwxr-xr-x.
    Additionaly, when there is an ocr folder in nc/apps, the 'disabled' section can't load, there's only the spinning circle. Erasing the ocr folder fixes this.

Your Environment

  • OCR version used: 1.0.0
  • Browser Name and version: Firefox 50 and Chromium 53.0.2785.143
  • Operating System and version (desktop or mobile): Ubuntu 16.10
  • ownCloud/nextcloud version: 10.0.1
  • PHP version: 7.0.12-1 (cli)
  • Database version: Mysql 5.6.30
  • Are you using encryption: no
@janis91
Copy link
Owner

janis91 commented Nov 20, 2016

Hi, thanks for your feedback. I will investigate this issue.. I assume, that it's the same problem as in #30 .

@janis91 janis91 added the bug label Nov 20, 2016
@janis91 janis91 self-assigned this Nov 20, 2016
@polkillas
Copy link
Author

I saw that issue, but I wasn't sure if it was the same problem, as I'm no developer. Thanks!

@janis91
Copy link
Owner

janis91 commented Nov 21, 2016

First things first:

I have tried to install the app from the old Owncloud apstore.

This is right and I am not planning to support owncloud, because I am not having the time to support two different base projects. I decided to go with nextcloud (as it seemed to be the future of the topic "private cloud"). If anyone wants to target owncloud, the one can fork this project and work on an owncloud version.

As it is not there, I changed my settings.php to point to NC appstore.

I did try this too, but it seems to be like the "experimental" or "not official" apps will be excluded from the available apps list.. I just guess and don't know if this is the reason, but as in the category "files" even "nextant" doesn't appear for me in the list either.
(This is not an issue, I guess it's a feature => security risk minimization)

I also recognized that the permissions are slightly different and as my testmachine doesn't use another user for the web server, this might be a problem on other machines. I will upload a updated version of the release file, as this seems to be a problem in my packaging process.
BUT this doesn't cause the described behaviour.

I tried with latest master branch commit, package by nc appstore and with nexctloud stable10 and master. I can't reproduce this. It's a weird bug, because the #21 should actually be the same problem and this got fixed during the referenced issue in nexctloud/server.

Are you sure that you are on the last stable10 version?

@polkillas
Copy link
Author

At the end I installed the app by cloning the repo, but I wasn't sure which branch, so I reinstalled the stable10 version. Same behaviour.
I've been able to enable it with the 'ocr' command. In this case, the enabled apps list won't load. I really don't understand this.
As this is not reproducible and it's not an urgent matter, I'll wait for the next release for trying again.
Thanks anyway!

@janis91
Copy link
Owner

janis91 commented Nov 22, 2016

Sorry I guess I did not express myself very well... I meant, if you are sure, that you have the last nextcloud version installed. Because I cloned the stable10 branch from nextcloud and tested it and it worked..

@janis91
Copy link
Owner

janis91 commented Nov 23, 2016

@polkillas any further tests?

@polkillas
Copy link
Author

@janis91 No, sorry. I tried to delete the app and restart from scratch, but I achieved the same.
I'm trying to make a test environment, I'll try again when it's ready and I'll leave a comment. Thanks again!

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

2 participants