This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
enable_debug_mode [2012/12/15 09:57] nuxwin |
enable_debug_mode [2017/04/14 18:30] nuxwin |
||
---|---|---|---|
Line 3: | Line 3: | ||
=====I. Enable debug mode permanently===== | =====I. Enable debug mode permanently===== | ||
- | Simply edit both the /etc/imscp/imscp.conf and the /etc/imscp/imscp.old.conf files and set the **DEBUG** parameter value to **1**. | + | Edit the /etc/imscp/imscp.conf file and set the **DEBUG** parameter value to **1**. |
=====II. Enable debug mode only for setup/update process===== | =====II. Enable debug mode only for setup/update process===== | ||
- | **For versions already released:** | + | Execute the installer with the **--debug** command line option. |
- | Follow the procedure above and revert it back after. | + | The logs in both cases should be in the folder /var/log/imscp/, since there are several modules, you will have to check various files. |
+ | Most of the information on failed upgrades/installs would be in those files. | ||
+ | /var/log/imscp/imscp-setup.log | ||
+ | /var/log/imscp/imscp-rqst-mngr.log | ||
- | **For master branch:** | ||
- | |||
- | Just run the script with the debug command line option. (type perl <scriptname> -?) for more information about available command line options. |