Cannot uninstall/delete a module
I wanted to delete the notification module and re-install it again, hoping to help the push notification issue, however, I deleted it from studio the usual way, but it is still showing in the "installed module" still as "installed - see image" , but not in the active module, hence I cannot "reinstall it" or "reactivate it".
Any suggestions? is there a way to uninstall it without studio?
-
- · Coozila! Lab
- ·
You can carry out this task manually through phpMyAdmin or by accessing MySQL via SSH. However, it is essential to understand the proper procedures, as incorrect actions could potentially break the entire site. It is strongly recommended to create a backup of the site beforehand. Furthermore, if you wish to learn and experiment, consider setting up a development version of the site to test any modifications before implementing them on the live site. If you cannot uninstall normally, it means the installation was done incorrectly.
-
- · Coozila! Lab
- ·
If you deleted it before uninstalling it, that's a mistake, before deleting a module it must first be deactivated and uninstalled.
-
We did "deactivate and uninstalled" but it is still showing installed.
here is what it looks like in the "sys_module" table. Not sure what else need to be done?
-
- · Coozila! Lab
- ·
Did you create a backup of the database beforehand?
-
It is not advisable to work on a live site unless you have tested it on a mock version first.
-
You can install the site locally on your computer by using `localhost` instead of the domain name in the `header.inc.php` file. This allows you to test the site in a local environment first. Copy your site into the local setup and experiment with it as needed.
-
To copy your site locally before experimenting with it, you can use the following `rsync` command:
rsync -avz -e "ssh -i /home/your_local_user/.ssh/your_ssh_key" your_ssh_user@your_server_ip:/var/www/una/ /home/youruser/apps/una/
This command securely transfers the files from your server to your local machine. Ensure you replace the placeholders with your actual local user, SSH key path, SSH user, server IP, and the appropriate directory paths. Once copied, you can play with your site in the local environment.
-
-
·
LeonidS
- ·
Hello @Tajrebatee !
Could you please specify did you get any DB error to your site's email? What records have been added recently to the log/sys_modules.log and db.error.log files?
-
·
LeonidS
-
No DB error to site's email.
Not sure where to look for these files?
-
Here is the error.log file:
[Thu Dec 26 00:00:01.767253 2024] [mpm_prefork:notice] [pid 925615] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Thu Dec 26 00:00:01.767291 2024] [core:notice] [pid 925615] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 26 00:43:08.321248 2024] [php:notice] [pid 927721] [client 40.77.167.123:46467] Author ID: 126
[Thu Dec 26 01:09:54.644092 2024] [php:notice] [pid 927731] [client 52.167.144.203:31744] Author ID: 126
[Thu Dec 26 01:10:47.665131 2024] [php:notice] [pid 929325] [client 72.143.204.101:57809] Author ID: 11, referer: https://tajrebatee.com/view-post/%D9%A2-%D9%85%D9%86-%D8%A7%D9%84%D8%B0%D8%A7%D9%83%D8%B1%D8%A9-%D8%B2%D9%85%D9%8A%D9%84%D9%8A-%D9%8A%D9%87%D9%88%D8%AF%D8%A7?fbclid=IwY2xjawHZjEdleHRuA2FlbQIxMQABHaqEjE4HQUhzk7dy1eFRlScpt4hNy58aH-EFvaQsuq_8mTXsGI4A-UJ4ow_aem_NRuTng55ZFlyFsTNuNa2vw
[Thu Dec 26 01:24:50.614467 2024] [php:warn] [pid 929985] [client 95.214.55.74:36880] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 1341, referer: http://3.128.153.141:80/cgi-bin/luci/;stok=/locale
[Thu Dec 26 01:24:50.896150 2024] [php:warn] [pid 929985] [client 95.214.55.74:36880] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/modules/boonex/nexus/classes/BxNexusModule.php on line 26, referer: http://3.128.153.141:80/cgi-bin/luci/;stok=/locale
[Thu Dec 26 01:41:47.030687 2024] [php:notice] [pid 930449] [client 52.167.144.22:47571] Author ID: 126
[Thu Dec 26 01:50:05.411301 2024] [php:notice] [pid 930451] [client 52.167.144.197:2058] Author ID: 126
[Thu Dec 26 01:50:24.498348 2024] [php:notice] [pid 930430] [client 52.167.144.197:2118] Author ID: 126
[Thu Dec 26 01:53:28.259429 2024] [php:notice] [pid 929985] [client 157.55.39.193:55944] Author ID: 126
[Thu Dec 26 01:55:40.217190 2024] [php:warn] [pid 930449] [client 157.55.39.193:56582] PHP Warning: Undefined array key 0 in /var/www/tajrebatee.com/modules/modzzz/onlinetv/classes/MzOnlineTVModule.php on line 92
[Thu Dec 26 02:11:19.167805 2024] [php:notice] [pid 930451] [client 40.77.167.18:60036] Author ID: 126
[Thu Dec 26 02:16:50.463872 2024] [php:notice] [pid 929325] [client 52.167.144.198:29186] Author ID: 126
[Thu Dec 26 02:17:20.995772 2024] [php:notice] [pid 930451] [client 52.167.144.198:30607] Author ID: 126
[Thu Dec 26 02:19:02.021713 2024] [php:notice] [pid 929985] [client 157.55.39.55:36869] Author ID: 0
[Thu Dec 26 02:19:02.021776 2024] [php:notice] [pid 929985] [client 157.55.39.55:36869] Invalid profile instance for author ID: 0
[Thu Dec 26 02:19:02.021803 2024] [php:error] [pid 929985] [client 157.55.39.55:36869] PHP Fatal error: Uncaught Error: Call to a member function getUrl() on bool in /var/www/tajrebatee.com/inc/classes/BxDolPage.php:675\nStack trace:\n#0 /var/www/tajrebatee.com/em.php(11): BxDolPage::getEmbedData()\n#1 {main}\n thrown in /var/www/tajrebatee.com/inc/classes/BxDolPage.php on line 675
[Thu Dec 26 02:37:22.409082 2024] [php:warn] [pid 931979] [client 34.68.195.73:33964] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/modules/boonex/nexus/classes/BxNexusAlerts.php on line 22
[Thu Dec 26 02:37:22.439820 2024] [php:warn] [pid 931979] [client 34.68.195.73:33964] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 1341
[Thu Dec 26 02:37:22.722866 2024] [php:warn] [pid 931979] [client 34.68.195.73:33964] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/modules/boonex/nexus/classes/BxNexusModule.php on line 26
[Thu Dec 26 02:38:34.277948 2024] [php:warn] [pid 930450] [client 34.68.195.73:39982] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/modules/boonex/nexus/classes/BxNexusAlerts.php on line 22
[Thu Dec 26 02:38:34.309720 2024] [php:warn] [pid 930450] [client 34.68.195.73:39982] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 1341
[Thu Dec 26 02:38:34.648994 2024] [php:warn] [pid 930450] [client 34.68.195.73:39982] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/modules/boonex/nexus/classes/BxNexusModule.php on line 26
[Thu Dec 26 02:53:47.095080 2024] [core:error] [pid 929327] [client 47.237.6.119:34704] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)
[Thu Dec 26 02:53:48.162426 2024] [core:error] [pid 929331] [client 47.237.6.119:34716] AH10244: invalid URI path (/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh)
[Thu Dec 26 02:54:05.372534 2024] [php:error] [pid 929355] [client 47.237.6.119:34748] PHP Fatal error: Uncaught TypeError: rawurlencode(): Argument #1 ($string) must be of type string, array given in /var/www/tajrebatee.com/inc/utils.inc.php:1646\nStack trace:\n#0 /var/www/tajrebatee.com/inc/utils.inc.php(1646): rawurlencode()\n#1 /var/www/tajrebatee.com/inc/classes/BxDolPage.php(618): bx_append_url_params()\n#2 /var/www/tajrebatee.com/page.php(30): BxDolPage::seoRedirect()\n#3 /var/www/tajrebatee.com/index.php(35): require_once('...')\n#4 {main}\n thrown in /var/www/tajrebatee.com/inc/utils.inc.php on line 1646
[Thu Dec 26 03:14:58.619936 2024] [php:warn] [pid 929331] [client 95.214.55.74:43592] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 1341, referer: http://3.128.153.141:80/cgi-bin/luci/;stok=/locale
[Thu Dec 26 03:14:58.970172 2024] [php:warn] [pid 929331] [client 95.214.55.74:43592] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/modules/boonex/nexus/classes/BxNexusModule.php on line 26, referer: http://3.128.153.141:80/cgi-bin/luci/;stok=/locale
[Thu Dec 26 03:24:27.873168 2024] [php:notice] [pid 932824] [client 40.77.167.131:58695] Author ID: 126
[Thu Dec 26 03:50:27.115169 2024] [mpm_prefork:notice] [pid 925615] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Dec 26 03:50:27.392131 2024] [mpm_prefork:notice] [pid 933565] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Thu Dec 26 03:50:27.392200 2024] [core:notice] [pid 933565] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 26 03:51:21.871664 2024] [php:warn] [pid 933574] [client 114.119.138.33:54961] PHP Warning: file_get_contents(/var/www/tajrebatee.com/modules/base/text/template/css/categories.css): Failed to open stream: No such file or directory in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 2602, referer: https://tajrebatee.com/onlinetv-category?category=7&type&start=480&per_page=40
[Thu Dec 26 03:56:47.147924 2024] [php:notice] [pid 933570] [client 40.77.167.5:40489] Author ID: 126
[Thu Dec 26 04:01:50.075176 2024] [php:notice] [pid 933575] [client 157.55.39.194:32642] Author ID: 126
[Thu Dec 26 04:06:11.173635 2024] [php:warn] [pid 933574] [client 114.119.147.6:41315] PHP Warning: file_get_contents(/var/www/tajrebatee.com/modules/base/text/template/css/categories.css): Failed to open stream: No such file or directory in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 2602, referer: https://tajrebatee.com/view-onlinetv/pluto-tv-the-pet-collective-9648
[Thu Dec 26 04:12:12.564871 2024] [php:warn] [pid 934138] [client 157.55.39.6:37257] PHP Warning: file_get_contents(/var/www/tajrebatee.com/modules/base/text/template/css/categories.css): Failed to open stream: No such file or directory in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 2602
[Thu Dec 26 04:31:14.273902 2024] [php:warn] [pid 934138] [client 114.119.147.6:41317] PHP Warning: file_get_contents(/var/www/tajrebatee.com/modules/base/text/template/css/categories.css): Failed to open stream: No such file or directory in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 2602, referer: https://tajrebatee.com/view-onlinetv/pluto-tv-telemundo-telenovelas-2827
[Thu Dec 26 04:31:47.331421 2024] [php:warn] [pid 933574] [client 95.214.55.74:35694] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 1341, referer: http://3.128.153.141:80/cgi-bin/luci/;stok=/locale
[Thu Dec 26 04:31:47.686228 2024] [php:warn] [pid 933574] [client 95.214.55.74:35694] PHP Warning: Undefined array key "HTTP_USER_AGENT" in /var/www/tajrebatee.com/modules/boonex/nexus/classes/BxNexusModule.php on line 26, referer: http://3.128.153.141:80/cgi-bin/luci/;stok=/locale
[Thu Dec 26 04:33:46.701423 2024] [mpm_prefork:notice] [pid 933565] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Dec 26 04:33:46.889947 2024] [mpm_prefork:notice] [pid 935352] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Thu Dec 26 04:33:46.890043 2024] [core:notice] [pid 935352] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 26 04:36:11.840495 2024] [php:warn] [pid 935356] [client 114.119.132.242:51203] PHP Warning: file_get_contents(/var/www/tajrebatee.com/modules/base/text/template/css/categories.css): Failed to open stream: No such file or directory in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 2602, referer: https://tajrebatee.com/view-onlinetv/pluto-tv-tbn-8803
[Thu Dec 26 04:37:32.595773 2024] [mpm_prefork:notice] [pid 935352] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Dec 26 04:37:32.780848 2024] [mpm_prefork:notice] [pid 935450] AH00163: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Thu Dec 26 04:37:32.780992 2024] [core:notice] [pid 935450] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 26 04:41:11.970288 2024] [php:warn] [pid 935451] [client 114.119.150.32:50001] PHP Warning: file_get_contents(/var/www/tajrebatee.com/modules/base/text/template/css/categories.css): Failed to open stream: No such file or directory in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 2602, referer: https://tajrebatee.com/view-onlinetv/pluto-tv-survivor-3500
[Thu Dec 26 04:43:39.166361 2024] [php:warn] [pid 935552] [client 66.249.72.139:42533] PHP Warning: file_get_contents(/var/www/tajrebatee.com/modules/base/text/template/css/categories.css): Failed to open stream: No such file or directory in /var/www/tajrebatee.com/inc/classes/BxDolTemplate.php on line 2602