White screen instead of web interface

B@ktery

New Member
Feb 16, 2019
18
0
1
36
I wanted to remove the subscription message when I log in to this article
  1. Change to working directory
    cd /usr/share/javascript/proxmox-widget-toolkit
  2. Make backup of file
    cp proxmoxlib.js proxmoxlib.js.bak
  3. Edit the file
    nano proxmoxlib.js
  4. Locate this line of code inside the file (use ctrl+w in nano)
    if (data.status !== 'Active') {
  5. Replace it with this
    if (false) {
  6. Restart the Proxmox service (also be sure to clear your browser cache)
    systemctl restart pveproxy.service
After restarting the service systemctl restart pveproxy.service and instead of a web interface, I have a white screen in the browser.
I returned the file proxmoxlib.js from the backup, restarted the service, and tried to restart the server, but the web interface is still not displayed.
Tell me how to return the web interface?