Re: [OTRS] JavaScriptError: Cannot call method 'Init' of undefined

Michiel Beijen <[email protected]> Wed, 8 Apr 2015 21:32:37 +0200
Newsgroups gmane.comp.otrs.devel
Message-ID <CABD0r13_-K3c9kFeHNWYKnkoJA0ayRwQqqhME+VFbYhJw4quHw@mail.gmail.com>
Hi David,

On Wed, Apr 8, 2015 at 9:24 PM, David Boyes <[email protected]> wrote:

> I have some updates that eliminate most of the local filesystem references, but it would take some updating to get to the current release. I took the approach of referencing blobs in a database table and adding a version number column so that I can request the most current blob, then execute it.
>
> Would that be something useful?


Which ' local file system'  references are you talking about?
There are just a few places where OTRS uses local file systems
(session storage, attachments, VirtualFS which is used by Change
Management) and all these also have options to use a database backend.
Apart from that, there is the loader cache for which there is the
'--generate'  option now.
There is also the SysConfig which is stored in a file on disk.

 Did you store the minified JS and CSS files in the database? And the
SysConfig values? that's nice but it might be a little bit
over-engineered. Also, the vast majority of OTRS users will not need
clustered setups, and will use vertical scaling  - bigger machines -
or maybe break out the database server to a separate machine, and
avoid all headaches that come with multiple master nodes.
--
Michiel
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev