PartKeepr icon indicating copy to clipboard operation
PartKeepr copied to clipboard

partkeepr after night stop to work 0.81

Open mctomaszek opened this issue 9 years ago • 13 comments

partkeepr without obvious reason stopped to work. login page does not come in. i dont known what is happened. i have tray to run setup but looks like is a problem with php; does not want to pass testing for correct php settings; server is responding "invalid response from server". could you help me please. i did not touch a server and settings.....

regards

mctomaszek avatar Jan 11 '17 10:01 mctomaszek

I have the same problem, with PartKeepr 1.0, stopped working overnight, but has been running 1.0 for months without issues.

I've tried to re-run setup, and everything passes just fine. The login prompt doesn't show. Using the browser inspector, I get the following error:

Uncaught Error: Module: 'feeds' not found! at ?file=feeds&v=1.x&output=nocss%3Dtrue&async=2:1 (anonymous) @ ?file=feeds&v=1.x&output=nocss%3Dtrue&async=2:1

kpostrup avatar Jan 11 '17 11:01 kpostrup

I have the same problem, and it happens while using both v1.1.0 and last commit.

gustavovelascoh avatar Jan 11 '17 13:01 gustavovelascoh

Same for mine.

Error: Module: 'feeds' not found! uds:1:17 https://www.google.com/uds/:1:17

It seems somewhere in the code we have this: /**

  • This base class can be used by derived classes to dynamically require Google API's. */ Ext.define('Ext.ux.google.Api', { mixins: [ 'Ext.mixin.Mashup' ],

    requiredScripts: [ '//www.google.com/jsapi' ],

and that jsapi then is calling the UDS that response back with the error.

lazosweb avatar Jan 11 '17 13:01 lazosweb

Can someone with this problem please run the unit tests and post the output? That might help. https://wiki.partkeepr.org/wiki/Developers/Unit_Testing (Just running the first two commands on that page should be fine)

Gotos avatar Jan 11 '17 14:01 Gotos

Could be related with this?

http://stackoverflow.com/questions/41592997/alternate-possible-solution-for-google-feeds-api

gustavovelascoh avatar Jan 11 '17 14:01 gustavovelascoh

It might be, but all we have to do now is be patient and wait for the developer to look into it.

lazosweb avatar Jan 11 '17 14:01 lazosweb

The issue is caused since in earlier PartKeepr versions we include all user extensions for ExtJS, which in turn remote load code from Google Servers, which now seems to be gone.

You should be able to fix this by opening the file src/PartKeepr/FrontendBundle/Resources/views/index.html

Find the 2 lines containing:

js/packages/extjs6/build/packages/ux/classic/ux-debug.js' %}

and replace each line it with:

        'js/packages/extjs6/packages/ux/classic/src/TreePicker.js'
        'js/packages/extjs6/packages/ux/classic/src/TabCloseMenu.js'
        'js/packages/extjs6/packages/ux/classic/src/statusbar/StatusBar.js'
        'js/packages/extjs6/packages/ux/classic/src/IFrame.js' %}

Re-run setup and check if it works now.

Drachenkaetzchen avatar Jan 11 '17 14:01 Drachenkaetzchen

@gustavovelascoh the issue should not occur with 1.1.0 or master; can you double-check that when you tested 1.1.0 or master that you have indeed cleared your browser's cache and re-ran setup?

Drachenkaetzchen avatar Jan 11 '17 14:01 Drachenkaetzchen

Ok I am on 1.0.0 according to the change log. I will update it and see if the 1.1.0 wont have this problem.

@felicitus I did update the partkeepr to 1.1.0, I removed both cache from partkeepr and the cache from the browser but I still have the same problem.

lazosweb avatar Jan 11 '17 14:01 lazosweb

@seisvalt "@gustavovelascoh the issue should not occur with 1.1.0 or master; can you double-check that when you tested 1.1.0 or master that you have indeed cleared your browser's cache and re-ran setup?"

gustavovelascoh avatar Jan 11 '17 16:01 gustavovelascoh

@felicitus Mine still does not work. I have updated partkeepr from 1.0.0 to 1.1.0 I cleared the browser's cache and I still have the same problem. On a previous post you wrote re-ran setup. Is that mandatory? If I do that it will overwrite the existing database?

Edit: Ok, I ran the setup again and now everything is back to normal.

lazosweb avatar Jan 12 '17 06:01 lazosweb

Other than google APIs, are there any other dependencies that live somewhere on the web? Our PartKeepr was working perfectly but suddenly quit due to this issue. If it happened once, it will probably happen again in the future. Is it possible to make a private copy of all dependencies in our PartKeepr server? PartKeepr needs to be timeless!

twelve12pm avatar Jan 13 '17 04:01 twelve12pm

Not that we are aware of. That's why the issue was fixed in PartKeepr 1.1.0, we simply weren't aware of the issue previously.

Drachenkaetzchen avatar Jan 13 '17 09:01 Drachenkaetzchen