• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Can't add new subscriptions or domains/ subdomain after upgrade.

Status
Not open for further replies.

NYCreate

New Pleskian
(fixed) Can't add new subscriptions or domains/ subdomain after upgrade.

Hi all,
Hope someone can help. im a novice so be gentle! ;-)
Upgraded to 12.0.18 today and can no longer add domains or subdomains

When I try create a new subscription I get the following error:

............
New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files
...............
Trying to generate all configuration files OR generate broken configuration files doesnt work. Still get the same error.

When I try can create a subdomain I get the error:
.............
Error: proftpd-config failed: mktemp: failed to create file via template `/etc/proftpd.d/50-plesk.conf.XXXXXX': No such file or directory
Can not create temporary file
...........
This solution http://kb.parallels.com/en/121026 doesnt work that just says 'ls: cannot access /etc/proftpd.d/: No such file or directory'

I tried yum update proftpd to see if that would do anything but get this...

...................
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* atomic: mir01.syntis.net
193 packages excluded due to repository priority protections
Setting up Update Process
No Match for argument: proftpd
No package proftpd available.
No Packages marked for Update
...................

In plesk, ProFTPD ftpserver is showing as installed.

Please can someone help me!

Thanks in advance.
 
Last edited:
After a bit more digging I can see
/usr/local/psa/admin/plib/Template/Processor.php
and
/usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php
looks like they have corrupted. They both have maybe 10 lines of normal code then about 5 lines of jumbled characters after. How do I replace these or rebuild them?
 
[root@ppu12-0 ~]# rpm -qf /etc/proftpd.d
psa-proftpd-1.3.5-cos6.build1200140529.18.i386

Try to reinstall psa-proftpd package.
 
Thanks for this IgorG. I will try try reinstall proftpd when I next get access to the server... I did try the bootstrapper repair procedure which said was successful but this made no difference at all.

Thanks.
 
Hi,
So Ive successfully reinstalled psa-proftpd

.....................................
[root@s16539981 ~]# yum reinstall psa-proftpd
Loaded plugins: fastestmirror, priorities
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
* atomic: mir01.syntis.net
193 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package psa-proftpd.x86_64 0:1.3.5-6.el6.art will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
psa-proftpd x86_64 1.3.5-6.el6.art atomic 1.5 M

Transaction Summary
================================================================================
Reinstall 1 Package(s)

Total download size: 1.5 M
Installed size: 5.7 M
Is this ok [y/N]: y
Downloading Packages:
psa-proftpd-1.3.5-6.el6.art.x86_64.rpm | 1.5 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : psa-proftpd-1.3.5-6.el6.art.x86_64 1/1
Verifying : psa-proftpd-1.3.5-6.el6.art.x86_64 1/1

Installed:
psa-proftpd.x86_64 0:1.3.5-6.el6.art

Complete!
................................................

Then ran Bootstrapper repair... /usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair

..................................................

Certain actions may be skipped if not applicable.

-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
===> Cumulative upgrade and repair of APS controller database has been completed.
===> Cumulative APS controller upgrade and repair (final stage) has been started.
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
Reconfiguring mail subsystem...
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Regenerating web servers' configuration files...
Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/var/log/plesk/install/plesk_12.0.18_repair.log' and '/var/log/plesk/install/plesk_12.0.18_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.
.......................................................

Rebooted server

Exactly the same issues / errors.

Tried to regenerate config files from the error message which says was successful.

Still same errors and issues.. :-S
Anymore ideas?

Thanks.
 
Last edited:
I have looked at /usr/local/psa/admin/plib/Template and all the files in here were last updated 3 weeks ago and most of them appear to have corrupted.

eg processor.php is

<?php
die("The file {$_SERVER['SCRIPT_FILENAME']} is part of Plesk distribution. It cannot be run outside of Plesk environment.\n");
__sw_loader_pragma__('PLESK12');
?>
#||}0Psrt=EqH **œ™m ›r2-<’/&%*Ž‚“TpUe‚la’”
nS1T{†3Š8x•|XM
ŸK–„Tlu3^œ)$|T ž;USwND}p
‰gs…—v;Z3t˜
 
So Ive just run bootstrapper repair for the 4th time out of frustration and my issues now seem to have been cured.
 
Last edited:
Status
Not open for further replies.
Back
Top