• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs [Export lists to CSV extension] It's no longer possible to export the list of domains from the Domains page

Maarten

Golden Pleskian
Plesk Guru
Username:

TITLE

[Export lists to CSV extension] It's no longer possible to export the list of domains from the Domains page

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

AlmaLinux 8.7
Plesk Obsidian 18.0.50 Update #2
Export lists to CSV extension v1.1.1-6

PROBLEM DESCRIPTION

On the Domains page, it's no longer possible to export the list of domains using the "Export lists to CSV" extension.

STEPS TO REPRODUCE

  1. Install the "Export lists to CSV" extension.
  2. Go to the "Domains" page in Plesk.
  3. There is no option to export the domains to a CSV file.

ACTUAL RESULT

There is no option to export the domains to a CSV file.

EXPECTED RESULT

Being able to export a list of all domains from the Domains page.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for reporting. I could verify it on 18.0.51 and have forwarded it to developers as [PPS-14127].
 
Filed as a Plesk bug - EXTPLESK-4467

In the meanwhile you can use a script as a w/a for Linux:
Bash:
#!/bin/bash

MYSQL_PASSWORD=`cat /etc/psa/.psa.shadow`
PATH=/sbin:/bin:/usr/sbin:/usr/bin

function mysqlExec(){
    MYSQL_PWD=$MYSQL_PASSWORD mysql -Ns -uadmin -D psa -e "$@"
}

domainList=$(mysqlExec "select name from domains")
echo "Domain;Subscriber;CreationDate;Expires;hostingType" > domains.csv

while read -r dom ; do
    subscriber=$(mysqlExec "select pname from clients cl join domains d where d.cl_id=cl.id and d.name='$dom'")
    hostingType=$(mysqlExec "select htype from domains where name='$dom'")
    if [ "$hostingType" == "vrt_hst" ] ; then
        hostingType="Website"
    else
        if [ "$hostingType" == "std_fwd" ] ; then
            hostingType="Forwarding"
        else
            if [ "$hostingType" == "none" ] ; then
                hostingType="None"
            fi
        fi
    fi
    expiration=$(mysqlExec "select value from Limits l join domains d where l.id=d.id and l.limit_name='expiration' and d.name='$dom'")
    if [ "$expiration" == "-1" ] ; then
        expiration="Never"
    else
        expiration=$(date -d @$expiration)
    fi
    crDate=$(mysqlExec "select cr_date from domains where name='$dom'")
    echo "$dom;$subscriber;$crDate;$expiration;$hostingType" >> domains.csv

done <<< "$domainList"
 
This issue is fixed in the latest update of the extension:

1.2.0 (05 April 2023)​

  • [-] The extension can now again be used with Plesk Obsidian 18.0.44 and later. (EXTPLESK-4467)
 
Well, trying at this moment v 1.2.0-8 on Versie 18.0.64 on Ubuntu 20.04.6 LTS
and it is no longer working.
Can you please have a look @Maarten ?
Much appreciated.
 
The Icon to activate the export does not show. It used to be next to the 'number of items per page:'
 

Attachments

  • Scherm­afbeelding 2024-09-30 om 09.39.21.png
    Scherm­afbeelding 2024-09-30 om 09.39.21.png
    12.8 KB · Views: 5
Hey, everyone. Thank you for reposing the bug. Our team was able to confirm the same reappeared and was identified with ID EXTPLESK-5895. We will introduce a fix in one of the upcoming releases. In the meantime, please use the script originally suggested by Strangelove, we confirmed that the same still works:

Bash:
Code:
#!/bin/bash

MYSQL_PASSWORD=`cat /etc/psa/.psa.shadow`
PATH=/sbin:/bin:/usr/sbin:/usr/bin

function mysqlExec(){
    MYSQL_PWD=$MYSQL_PASSWORD mysql -Ns -uadmin -D psa -e "$@"
}

domainList=$(mysqlExec "select name from domains")
echo "Domain;Subscriber;CreationDate;Expires;hostingType" > domains.csv

while read -r dom ; do
    subscriber=$(mysqlExec "select pname from clients cl join domains d where d.cl_id=cl.id and d.name='$dom'")
    hostingType=$(mysqlExec "select htype from domains where name='$dom'")
    if [ "$hostingType" == "vrt_hst" ] ; then
        hostingType="Website"
    else
        if [ "$hostingType" == "std_fwd" ] ; then
            hostingType="Forwarding"
        else
            if [ "$hostingType" == "none" ] ; then
                hostingType="None"
            fi
        fi
    fi
    expiration=$(mysqlExec "select value from Limits l join domains d where l.id=d.id and l.limit_name='expiration' and d.name='$dom'")
    if [ "$expiration" == "-1" ] ; then
        expiration="Never"
    else
        expiration=$(date -d @$expiration)
    fi
    crDate=$(mysqlExec "select cr_date from domains where name='$dom'")
    echo "$dom;$subscriber;$crDate;$expiration;$hostingType" >> domains.csv

done <<< "$domainList"
 
Back
Top