• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Problems with conf-available/javascript-common.conf

Larian

New Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
Plesk 18.0.61 Update 1
After my update to Debian 12 and Plesk 18.0.61 Update 1 i had a problem with one website

I found out, that this website couldn't find his directory /javascript and found out that there is a config at /etc/apache2/conf-available/javascript-common.conf - but this config has a date from 2020 and i didn't touched it at the update.
In this Config there is the line "Alias /javascript /usr/share/javascript/", after i uncommented it, everything is working. But there are some files in this directory, i think some program is needing them.

What's the correct solution of this problem and why it worked on the old configuration (Debian 10, Plesk 18.0.60). Is there any way to say, that this webseite ist using his own javascript-doirectory and not this one from /etc/apache2/conf-available/javascript-common.conf?

i found this problem only on an old plesk-Version in this forum: File does not exist: /usr/share/javascript/webtoolkit.url.js
 
The /etc/apache2/conf-available/javascript-common.conf file is part of the Javascript Common package. However, even if it has recently been installed the file will still show 2020 as the last modified date, as that's the date from the repository.

The Javascript Common package isn't part of the default installation Plesk. You can check if there are any dependencies with apt-cache rdepends --installed javascript-common. If not, you can probably safely remove it with apt-get purge javascript-common. But if you've already commentated the alias line out, it probably won't do much more harm.
 
Thank you. Javascript-Common is needed for mailman3-web.
But it seems mailman is working without this line. And i think mailman3-web is needed for mailman, even if psa-mailman3-configurator shows no dependencies there.
But unfortunately I still have the problem that mailman is not working properly at the moment :( (see: Question - Mailman3 with plesk)
 
Back
Top