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

Server: Cannot enable app on OwnCloud 8.1 #174

Closed
fjc35 opened this issue Jul 2, 2015 · 12 comments
Closed

Server: Cannot enable app on OwnCloud 8.1 #174

fjc35 opened this issue Jul 2, 2015 · 12 comments
Labels
Milestone

Comments

@fjc35
Copy link

fjc35 commented Jul 2, 2015

When I try to enable the app, I receive the following error message:
"Archives of type text/html are not supported"

Am I missing some configuration step or third party package ?

Thanks.

@blaskovic
Copy link

Similar here with 8.0.5.
I can enable it, but I can see just blank page and I am logged out of owncloud.

I think, developer is no longer maintaining this, which is pity..

@Fmstrat
Copy link
Owner

Fmstrat commented Jul 3, 2015

Yes, it is still being maintained, but my paying job has kept me out of town for a month.

These are likely two different t issues that I'll need to investigate when I get back.

The blank screen was something another user saw that they were able to fix on their own, so I'll try to dig that up.

@africanforest
Copy link

Hi,
I'm also seeing a blank page and reloading the page as well as clicking a link in the menu gets me logged out and redirected to the login page.
(ownCloud 8.1 RC2)

@slackadelic
Copy link

I can confirm that initial upgrade to 8.1 broke with ownnote enabled. Disabled the app, downloaded the latest master.zip from git, copied it over, re-enabled it, and get the blank page as well.

Love the app though! I use it EVERY day! Keep up the good work.

@Fmstrat Fmstrat changed the title Cannot enable app on OwnCloud 8.1 Server: Cannot enable app on OwnCloud 8.1 Jul 7, 2015
@Fmstrat
Copy link
Owner

Fmstrat commented Jul 7, 2015

Once I get back this will be the first thing I investigate. Seems a number of people are running into this. Before than, any details that can be provided such as config.php's (minus keys), server OS, apache version, etc, would be helpful.

Also, if there is anything in the ownCloud log, or if you could trace the JS console with something like Firebug to see any JS errors, that would also be extremely handy.

@hulmgulm
Copy link

hulmgulm commented Jul 8, 2015

I see the following in the browser (OC 8.0.5):
NetworkError: 500 Internal Server Error - http://www.schwubb.com/oc/index.php/apps/ownnote/api/v0.2/ownnote/ajaxindex?_=1436330159493

@beedaddy
Copy link

beedaddy commented Jul 8, 2015

Regarding the blank page, this is what owncloud.log says:

{"reqId":"XXX","remoteAddr":"xxx.xx.xxx.xx","app":"index","message":"Exception: {"Exception":"OC\AppFramework\Middleware\Security\SecurityException","Message":"CORS requires basic auth","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/appframework\/middleware\/middlewaredispatcher.php(92): OC\AppFramework\Middleware\Security\CORSMiddleware->beforeController(Object(OCA\OwnNote\Controller\OwnnoteApiController), 'ajaxindex')\n#1 \/var\/www\/owncloud\/lib\/private\/appframework\/http\/dispatcher.php(88): OC\AppFramework\Middleware\MiddlewareDispatcher->beforeController(Object(OCA\OwnNote\Controller\OwnnoteApiController), 'ajaxindex')\n#2 \/var\/www\/owncloud\/lib\/private\/appframework\/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\OwnNote\Controller\OwnnoteApiController), 'ajaxindex')\n#3 \/var\/www\/owncloud\/lib\/private\/appframework\/routing\/routeactionhandler.php(45): OC\AppFramework\App::main('OwnnoteApiContr...', 'ajaxindex', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#4 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#5 \/var\/www\/owncloud\/lib\/private\/route\/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#6 \/var\/www\/owncloud\/lib\/base.php(867): OC\Route\Router->match('\/apps\/ownnote\/a...')\n#7 \/var\/www\/owncloud\/index.php(40): OC::handleRequest()\n#8 {main}","File":"\/var\/www\/owncloud\/lib\/private\/appframework\/middleware\/security\/corsmiddleware.php","Line":86}","level":4,"time":"2015-07-08T05:53:00+00:00"}

@Fmstrat
Copy link
Owner

Fmstrat commented Jul 8, 2015

Looks like they changed the CORS implementation again. It's frustrating that everytime a new OC version rolls around they break the API. A good change on their part for security, but I really wish there was a system for announcements (or maybe there is and I'm unaware of them).

@Fmstrat Fmstrat modified the milestones: Server - 1.01, Server - 1.1 Jul 8, 2015
@Fmstrat
Copy link
Owner

Fmstrat commented Jul 8, 2015

Fixed for 1.01 release.

@Fmstrat Fmstrat closed this as completed Jul 8, 2015
@fjc35
Copy link
Author

fjc35 commented Jul 8, 2015

My problem seems solved with 1.01.
Thank you !!!!
Frédéric

On Wed, Jul 8, 2015 at 5:45 PM, Fmstrat notifications@github.com wrote:

Closed #174 #174.


Reply to this email directly or view it on GitHub
#174 (comment).

@africanforest
Copy link

Thank you for the fix! Now it works, and that's great!
The only problem that i'm experiencing is, that embedding images is not possible. It just does nothing except for the cursor jumps to the very first line after the button "Insert" has been clicked. (Btw, the window title should be: "Embed an image").

UPDATE: Now i examined that note in the files app - and there i can see the base64 code of the previously inserted image! Obviously it doesn't get decoded in the ownnote app...

Michael

@milancoin-project
Copy link

When I try to enable the app, I receive the following error message:
"Archives of type text/html are not supported"

Am I missing some configuration step or third party package ?

Thanks.

ubuntu 16.04 owncloud 9.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants