Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - neoart

Pages: [1] 2 3
1
In nodejs manager, inside the cwp7, require a js file to run the app. But some apps did not run by file. Some apps require a command, like yarn start or npm run start. How can i put a command in nodejs manager?

so i did't chek what they did. im still working like i made tutorial before.
pm2
nvm - node version manager
or NPM or whatever. i have a small issues over websites, yes sometimes cuy they are bussy a lot proccess drop but again i setup restart point on proces and pm2 restart evrithing in a mather of seconds. so good luch with that. D:

2
CentOS 7 Problems / Serving WebP images
« on: January 01, 2020, 02:09:46 PM »
Like in title, recompile php to 7.3.13 with Gd supporting WebP images, like in configuration

But the GD version it shuld be 2.2.5 like here


And i will not role back for the 7.1 I made some mistake i know but i can not figure where :/
Any info it will be awesome

3
CentOS 7 Problems / Re: I can not change php version on cwp panel
« on: January 01, 2020, 01:57:10 PM »
You must have Pro Verison

4
CentOS 7 Problems / Re: 500 error
« on: January 01, 2020, 01:53:50 PM »
I culd just asume that is some OpenCart.

If  I am correct The issue you're reporting is not related from the core but rather from an extension

5
PHP / Re: CWP PHP issue for files larger than 2MB
« on: December 17, 2019, 11:05:10 PM »
So starting errors :D

1. Update .htaccess file

If your web server is using Apache and PHP is set as an Apache module, then you can add a few lines of code in your WordPress .htaccess file to increase the max upload size in WordPress.

To access your .htaccess file, connect to your server via FTP client and navigate to the folder where WordPress is installed. Open up .htaccess file in a code editor or Notepad and add the following lines.

Code: [Select]
php_value upload_max_filesize 64M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300
This will define the max upload size in Megabytes. Replace the numbers as per your requirement. The max execution time and max input time are in seconds. The execution time defines the limit of time spent on a single script. Choose a number that is suitable for your site.

2. Edit Functions.php File
In some cases, you might not be able to access your .htaccess file or you are more comfortable editing WordPress theme files.

You can easily increase the size limits by adding the following lines of code in the functions.php file of your theme.

However, remember if you change the theme then max upload size will return to its default values until you edit the functions.php file of the new theme.

Code: [Select]
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

3. php.ini Option
This is a default file used to configure any application which runs on PHP. This file contains parameters required for file timeout, upload size, and resource limits. Access your WordPress root directory using SSH or FTP and look for a php.ini file. In some cases, this file is not visible to the other option would be to create a new file instead.

Open any text editor and create a new file. Copy the following code and save it as php.ini.

upload_max_filesize = 25M
post_max_size = 13M
memory_limit = 15M
increase upload size wordpress in php.ini file
Now, upload that php.ini file using SSH or FTP inside the same root folder.


4. Increase Upload Size in Multisite


If you are running WordPress multisite, then upload size can be increased from settings. This increase is dependent on your server settings. If your server is set to 20MB you cannot increase WordPress upload size to 25MB. However, if your server is set to 20MB your network setting is set to 15 MB then you can resolve the issue by increasing the upload size to 20MB.

wordpress multisite maximum upload file size

5. wp-config.php File
Another way of increasing the upload size in WordPress is to define the size parameter in the wp-config.php file. To do that, access your WordPress root directory using SSH or FTP and locate a wp-config.php file.

wp-config.php

Open the file in any text editor and add the following code.
Code: [Select]
@ini_set( 'upload_max_size' , '20M' );
@ini_set( 'post_max_size', '13M');
@ini_set( 'memory_limit', '15M' );
Save your changes and it should increase your file upload size.

Or if all of this not working just restart the server!
And dont put to big numbers :)

6
So just follow for installation of ghost
Code: [Select]
https://ghost.org/docs/install/local/
Hi. I have followed the tutorial step by step, but I always receive error 502.

Please include a capture of the result you receive in CWP Simple Terminal after the command:

Code: [Select]
npm install -production
then starting restareting etc you are going first by navigating to your dir =public_tml  or some folder where you setup your domain
Code: [Select]
npm install -productionthen npm install pm2 -g
then pm2 run ghost or what ever
_______
Quote
Also another capture for the Step 3: Configure Ghost CMS


Thank you.

and i think that you making the mestake with ports so part 4.  Configure Nginx to Act as a Reverse Proxy
when you go to your admin admin/index.php?module=WebServers_domain just enter the port number and save, and when you hit the url exam.ple you are not entering nothing more just url

or if you are difrent urls from on ghost example Producton is 4545 and dev port is 8282 and you setup on reverse proxy to be 4545 and you are runing dev so you have 502 Bad Gateway error

i have maybe 40 - 50 instalations on one vps and diffrent node cms shops or whatever. with no errors of course PM2 is i leader for diferent node versions .

7
CentOS 7 Problems / Passwords Pro Version
« on: December 05, 2019, 09:52:10 AM »
So this can be a bug, i can not gave exact reference but here is the problem.

So more then 3 weeks i make some (from root) email accounts for users.
It is not hard :D
so i type the email, then using generate password so its more random (or not) so klik on eye to show the password copy and repeat again (by the way that is necessary for random pass). and store in some txt documents with that email.

any way, i making for the same user other mail, it is all the same, and when i came to password it is literally the same password.
than i tray again with now mail it is the same. then when i using the generate btn it changes.
then i go to other computer, who i am not using for servers or other stuff, i dont have sync nothing with the other, i login to root, tray again and it is the same password so it is not to my brouser it is not on my filing up the forms.

then i reboot the server affter 200 days :D it is the same, on 2 computers!

so i using
Kernel Version: 3.10.0-1062.1.1.el7.x86_64
CWPpro version: 0.9.8.923

maybe its me or some little aliens :D

8
Updates / CWP PRO 0.9.8.848 after update go to login screen
« on: July 11, 2019, 05:04:10 AM »
After update every thing i click fo to login screen and need to login again.

9
Updates / Re: Is there a way to turn all updates off?
« on: April 08, 2019, 10:43:01 PM »
it can be, but you having bed configuration of vps.

10
CentOS-WebPanel Bugs / Re: Php errros in CWP panel
« on: April 06, 2019, 10:27:10 AM »
Name servers is not ssetup good.
and for domain probably you didnt be directed corectly

11
CentOS-WebPanel Bugs / Re: Error in CWP7 after install
« on: April 06, 2019, 10:23:13 AM »
it was not clean installation!
The best way is to install on brend new Centos 7! you can workaround but,  for lather use is not good!

12
CentOS 6 Problems / Re: White screen admin login
« on: April 05, 2019, 08:17:48 PM »
Tray to check button  Fast Login (no stats and checks) when you login.
tray with other firefox sometimes chrome is messing around!

13
SSL / Re: Can't autossl domain
« on: April 05, 2019, 09:13:12 AM »
you must point dns from domain to your dns servers on vps for autossl

14
First, suppose you're using some kind of vps!
When you created vps, you had to enter a domain name that will be hosted! your example site.com
With your Domain Name provider, enter for your domain, for example, site.com nameservers from your vps provider.
then with your vps provider you enter, for example, srv1.site.com to create the server name because you need it when installing cwp test your server neme in terminal with
Code: [Select]
hostname and you shuld get some result

After that, you create ns1 and ns2.site.com subdomains with your vps provider. all of these sub domains and srv1 and ns1 and ns2 are set to ip address from the server.
After that, the cwp configures your
Quote
hostname to srv1.site.com
reboot
When registering with cwp log in via srv1.site.com:2030
user root is your password
go to dns settings and change ns1 and ns2 for your record and put ip address form server,
Save the configuration and rebuild all users it is mandatory that Bind can work properly. After that, you have your dns

15
Addons / Re: icecast addon
« on: April 04, 2019, 10:40:46 PM »
i Can.  :D :D

Pages: [1] 2 3