After upgrade to 6.0.36, Text Areas are not showing

Moderator: crythias

Post Reply
estomagado
Znuny newbie
Posts: 44
Joined: 20 Sep 2019, 16:24
Znuny Version: 6.0.36
Real Name: Henrique Ulbrich
Company: Design for Context

After upgrade to 6.0.36, Text Areas are not showing

Post by estomagado »

Hi Folks!

After a successful upgrade from 6.0.19 to 6.0.36, everything seems to work fine, but text areas are not showing:

Znuny_36_TextAreaMissing.PNG

This is a very basic OTRS installation with no customization and very little deviation over the defauls on SysConfig. The only "bold" accomplishment was AD/LDAP integration.

Any ideas?
You do not have the required permissions to view the files attached to this post.
--
Your pal
Estomagado

Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
estomagado
Znuny newbie
Posts: 44
Joined: 20 Sep 2019, 16:24
Znuny Version: 6.0.36
Real Name: Henrique Ulbrich
Company: Design for Context

Re: After upgrade to 6.0.36, Text Areas are not showing

Post by estomagado »

Analysing the text area with the browser's Developer Tools.

Code: Select all

<textarea id="RichText" 
  class="RichText Validate_Required HasCKEInstance" 
  name="Body" rows="15" cols="78" aria-required="true" 
  style="visibility: hidden;">
</textarea>
There's a style="visibility: hidden;".

Why?
If I change it to "visible", it (obviously) shows.
Why is it hidden?
--
Your pal
Estomagado

Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: After upgrade to 6.0.36, Text Areas are not showing

Post by zzz »

Hey,

Did you copy the whole "var/" directory while updating? (you should not do that)
Did you execute "scripts/DBUpdate-to-6.pl"? (you must do that)

Please delete the JS-Cache by executing "bin/otrs.Console.pl Maint::Loader::CacheCleanup".

— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
estomagado
Znuny newbie
Posts: 44
Joined: 20 Sep 2019, 16:24
Znuny Version: 6.0.36
Real Name: Henrique Ulbrich
Company: Design for Context

Re: After upgrade to 6.0.36, Text Areas are not showing

Post by estomagado »

zzz wrote: 18 Aug 2021, 01:02 Did you copy the whole "var/" directory while updating? (you should not do that)
YES I did!
It is in the Upgrade documentation that I SHOULD do it!
Maybe it's time to create a new Update page (and not link the old OTRS Manual).

Code: Select all

/opt/otrs$ cat UPDATING.md
Please see [the updating instructions]
(https://doc.otrs.com/doc/manual/admin/6.0/en/html/updating.html)
in the online documentation.
.
Did you execute "scripts/DBUpdate-to-6.pl"? (you must do that)
Yes, I did, and it threw no errors.

.
Please delete the JS-Cache by executing "bin/otrs.Console.pl Maint::Loader::CacheCleanup".
I'll try it and come back here with the results.


Thank you Emin!
--
Your pal
Estomagado

Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
estomagado
Znuny newbie
Posts: 44
Joined: 20 Sep 2019, 16:24
Znuny Version: 6.0.36
Real Name: Henrique Ulbrich
Company: Design for Context

Re: After upgrade to 6.0.36, Text Areas are not showing

Post by estomagado »

OOOOOOPS!

A read it in the wrong directory...

Code: Select all

/opt/znuny-6.0.36$ cat UPDATING.md
Please see [the updating instructions](https://doc.znuny.org/doc/manual/admin/6.0/en/html/updating.html)
in the online documentation.
I apologize...
--
Your pal
Estomagado

Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: After upgrade to 6.0.36, Text Areas are not showing

Post by zzz »

The documentation only tells to back up the var/ folder and to keep
/opt/otrs/var/article
/opt/otrs/var/stats/*.installed

But you're not the only one, so a little rework wouldn't hurt :lol:

Just copy over the var directory from a fresh installation and move the above listed sub-directories into it.

— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
estomagado
Znuny newbie
Posts: 44
Joined: 20 Sep 2019, 16:24
Znuny Version: 6.0.36
Real Name: Henrique Ulbrich
Company: Design for Context

Re: After upgrade to 6.0.36, Text Areas are not showing

Post by estomagado »

zzz wrote: 18 Aug 2021, 15:43 But you're not the only one, so a little rework wouldn't hurt :lol:
Just copy over the var directory from a fresh installation and move the above listed sub-directories into it.
HAHAHA yeah! 8)

The CacheCleanup did not work, but I stopped everything and copied the fresh var as you suggested, and it worked like a charm.

Again, thank you som much.
I love this forum, you learn something new every day.
--
Your pal
Estomagado

Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
Post Reply