Re: AW: AW: distTar

2022-03-16 Thread Jacques Le Roux

Hi Ingo,

What images are you speaking about and from where do you try to view these 
images?

As a 1st step, I guess it's products images. If it's additional imaged added 
through product/content you should be able to see them on ecommerce site.

Note: I'm currently reviewing the situation of "images" and will get back to 
that later on dev ML with maybe a copy here too...

Jacques

Le 16/03/2022 à 10:41, Ingo Wolfmayr a écrit :

Hi Jaques,

I have one more question to the image path: When I set the "image.server.path" to for 
example "/home/ofbiz/images" the file is uploaded fine - the files are in the right path. 
Unfortunately viewing the image requires it to be available via a webpath as by default /images

Do you have a recommendation on how to set it up correctly?

Best regards,
Ingo

-Ursprüngliche Nachricht-
Von: Jacques Le Roux 
Gesendet: Freitag, 11. Februar 2022 19:06
An: user@ofbiz.apache.org
Betreff: Re: AW: distTar

Hi Ingo, All,

To clarify my thoughts and message.

Actually I was wrong when I said that "a feature was lost when common-theme was put in". 
The rest is right. This feature is the possibility, through image.server.path property in 
catalog.properties file, to place the images, and other the static files as well, in a location 
that fits with you for any reason. Notably following the NSA recommendation to place it in "a 
non-web accessible area". This to prevent webshell uploads and all kind of other malicious 
files uploads. The same is true for the other property image.management.path.

So the fact that before common-theme was put in, with the folder for images 
/themes/common/images/webapp/images/, this folder was /framework/images/webapp/images/ 
has nothing to do with "a non-web accessible area". That's you to decide...

There is also a ${tenantId} var used in image.server.path property that is used 
in case of multi-tenant, that's another thing.

So I finally don't think it's necessary to put the images and image.management 
in runtime. This would add nothing. I'll remove the FIXMEs

Jacques

Le 07/02/2022 à 19:37, Ingo Wolfmayr a écrit :

Hi Jacques,

thanks for the fast response. I will do it exactly as you say.

Best regards
Ingo


-Ursprüngliche Nachricht-
Von: Jacques Le Roux
Gesendet: Montag, 7. Februar 2022 19:21 An:user@ofbiz.apache.org
Betreff: Re: distTar

Hi Ingo,

You don't need to use

./gradlew "ofbiz start"

./gradlew ofbiz
is enough and does not generate zip/tar.

This said I'm currently working on a feature that was lost when
common-theme was put in. Fortunately tt was then documented by these
FIXMEs #FIXME the image server path need to be moved on runtime #FIXME
the image management path need to be moved on runtime

The idea is to not have the images under OFBiz tree but in a specific location 
unrelated to OFBiz.

I'm actually also working on this for security reason. It's a NSA 
recommendation*:

  <>

“To preserve functionality, some web applications require configuration changes 
to save uploads to a non-web accessible area.” That's exactly what we lost with 
common-theme. Fortunately it was documented and I stumbled upon it while 
working on related security issues.

Having images, and at large static files, in a specific location can also allow 
to speed things...


HTH

Jacques
*https://healthitsecurity.com/news/nsa-shares-guide-to-web-shell-malwa
re-vulnerabilities-mitigation


Le 07/02/2022 à 17:56, Ingo Wolfmayr a écrit :

Hi everybody,

I have a question about building ofbiz. In previous versions for example 17.12 
I had the following process:

./gradlew build (build the project and see if everything is fine)
./gradlew "ofbiz start"

Now I am working with the current trunk and when I start ./gradlew build it starts 
"disttar" and generates a .tar and a .zip. As I have lots of images in a project it uses 
lots of disk space and time. Is my process wrong? Is there "correct" way of how it should 
be done?

Thanks for every hint.

Best regards,
Ingo




Re: intstall

2022-03-16 Thread sales

Hi,

thanks i will try it out tonight and try do a fresh install and create a 
user.


Regards
Reinier


On 2022-03-16 13:24, Michael Brohl wrote:

Ah, I see the error.

You have to set the property host-headers-allowed to include your
domain/IP in framework/security/config/security.properties :

host-headers-allowed=localhost,127.0.0.1,demo-trunk.ofbiz.apache.org,demo-stable.ofbiz.apache.org,demo-old.ofbiz.apache.org,

You will have to setup a valid domain and provide a certificate
though, else you will not be able to serve over https which is
strongly recommended.

As mentioned before, you should NOT install OFBiz under root on your
server. Better create a new user on the server which does have less
privileges and install OFBiz there.

It should be possible to run ERPNext and OFBiz side-by-side on one
Server. You will have to take care about the ports each application is
using and configure in a way that they use different ports to avoid
conflicts. Easiest would be to put an Apache webserver before OFBiz
and serve OFBiz through a subdomain like ofbiz.yourdomain.com.

You'll find further reading in our wiki, for example here:
https://cwiki.apache.org/confluence/display/OFBIZ/Install+OFBiz+with+MariaDB%2C+Apache2+Proxy+and+SSL

Regards

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 18:05 schrieb sa...@maxcapital.co.za:

Hi Michael,

uploaded it to mediafire,

https://www.mediafire.com/file/kgkkat03bcffkrl/opening+with+error.jpg/file 
I will reinstall it from the start under root, have learned alot the 
past few days. Using ERPnext at the moment but would like to see Ofbiz 
and maybe change over. At the moment ERPnext is installed using my 
website domain, is this possible also to link the Ofbiz ecommerce to 
your website domain.


Regards
Reinier


On 2022-03-16 12:10, Michael Brohl wrote:

Hi Reinier,

inline...

Michael


Am 16.03.22 um 16:55 schrieb sa...@maxcapital.co.za:

Hi Michael,

got it loaded with the following code "sudo ufw allow 1:/tcp"


I cannot recommend this setting as it open all ports in this range.
You should only allow the needed ports.




It loads but then gives the screenshot attached.


This mailing list does not allow image attachments. Can you provide
the image elsewhere and give a link?




I unzipped ofbiz 18.12.05 into,

root@ofbiz:~/apache-ofbiz-18.12.05#


You should not run OFBiz under root directly for security reasons.




How can i get into the security.properties to update this, and if 
possible can you tell me where to update.


What do you want to change exactly?




Regards
Reinier


On 2022-03-16 11:43, Michael Brohl wrote:

What is the output of "sudo netstat -plnt" on the server?

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 16:29 schrieb sa...@maxcapital.co.za:

Hi Michael,

thanks for the reply, opened the ports on my server but still the 
same problem. Details from the server below.


Rule added (v6)
root@ofbiz:~# sudo ufw allow 8080/tcp
Rule added
Rule added (v6)
root@ofbiz:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action  From
-- --  
22 ALLOW IN    Anywhere
80/tcp ALLOW IN    Anywhere
443/tcp    ALLOW IN    Anywhere
8443/tcp   ALLOW IN    Anywhere
8080/tcp   ALLOW IN    Anywhere
22 (v6)    ALLOW IN    Anywhere (v6)
80/tcp (v6)    ALLOW IN    Anywhere (v6)
443/tcp (v6)   ALLOW IN    Anywhere (v6)
8443/tcp (v6)  ALLOW IN    Anywhere (v6)
8080/tcp (v6)  ALLOW IN    Anywhere (v6)

Regards
Reinier




On 2022-03-16 11:05, Michael Brohl wrote:

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports
OFBiz is running with (8443/8080). Might be a firewall set up 
there to

only expose the standard ports for http(s), ssh, ftp etc.

You'll have to check this with the Hoster and maybe change the 
default

ports in your Catalina configuration to 443/80 to make it work.

For production use, it is recommended to put an Apache Webserver
before the OFBiz instance, connected with AJP.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server 
IP on vultr. i also pinged the ip from the ofbiz on the ubuntu 
server and looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:
If your install is on the same machine you are trying to 
connect to,
then you won't use your network ip address but your local 
machine
address.  For example, if I installed OFBiz on my desktop here, 
I

would connect to it as follows:

https://localhost:8443/webtools

or

Re: intstall

2022-03-16 Thread Michael Brohl

Ah, I see the error.

You have to set the property host-headers-allowed to include your 
domain/IP in framework/security/config/security.properties :


host-headers-allowed=localhost,127.0.0.1,demo-trunk.ofbiz.apache.org,demo-stable.ofbiz.apache.org,demo-old.ofbiz.apache.org,IP>


You will have to setup a valid domain and provide a certificate though, 
else you will not be able to serve over https which is strongly recommended.


As mentioned before, you should NOT install OFBiz under root on your 
server. Better create a new user on the server which does have less 
privileges and install OFBiz there.


It should be possible to run ERPNext and OFBiz side-by-side on one 
Server. You will have to take care about the ports each application is 
using and configure in a way that they use different ports to avoid 
conflicts. Easiest would be to put an Apache webserver before OFBiz and 
serve OFBiz through a subdomain like ofbiz.yourdomain.com.


You'll find further reading in our wiki, for example here: 
https://cwiki.apache.org/confluence/display/OFBIZ/Install+OFBiz+with+MariaDB%2C+Apache2+Proxy+and+SSL


Regards

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 18:05 schrieb sa...@maxcapital.co.za:

Hi Michael,

uploaded it to mediafire,

https://www.mediafire.com/file/kgkkat03bcffkrl/opening+with+error.jpg/file 



I will reinstall it from the start under root, have learned alot the 
past few days. Using ERPnext at the moment but would like to see Ofbiz 
and maybe change over. At the moment ERPnext is installed using my 
website domain, is this possible also to link the Ofbiz ecommerce to 
your website domain.


Regards
Reinier


On 2022-03-16 12:10, Michael Brohl wrote:

Hi Reinier,

inline...

Michael


Am 16.03.22 um 16:55 schrieb sa...@maxcapital.co.za:

Hi Michael,

got it loaded with the following code "sudo ufw allow 1:/tcp"


I cannot recommend this setting as it open all ports in this range.
You should only allow the needed ports.




It loads but then gives the screenshot attached.


This mailing list does not allow image attachments. Can you provide
the image elsewhere and give a link?




I unzipped ofbiz 18.12.05 into,

root@ofbiz:~/apache-ofbiz-18.12.05#


You should not run OFBiz under root directly for security reasons.




How can i get into the security.properties to update this, and if 
possible can you tell me where to update.


What do you want to change exactly?




Regards
Reinier


On 2022-03-16 11:43, Michael Brohl wrote:

What is the output of "sudo netstat -plnt" on the server?

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 16:29 schrieb sa...@maxcapital.co.za:

Hi Michael,

thanks for the reply, opened the ports on my server but still the 
same problem. Details from the server below.


Rule added (v6)
root@ofbiz:~# sudo ufw allow 8080/tcp
Rule added
Rule added (v6)
root@ofbiz:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action  From
-- --  
22 ALLOW IN    Anywhere
80/tcp ALLOW IN    Anywhere
443/tcp    ALLOW IN    Anywhere
8443/tcp   ALLOW IN    Anywhere
8080/tcp   ALLOW IN    Anywhere
22 (v6)    ALLOW IN    Anywhere (v6)
80/tcp (v6)    ALLOW IN    Anywhere (v6)
443/tcp (v6)   ALLOW IN    Anywhere (v6)
8443/tcp (v6)  ALLOW IN    Anywhere (v6)
8080/tcp (v6)  ALLOW IN    Anywhere (v6)

Regards
Reinier




On 2022-03-16 11:05, Michael Brohl wrote:

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports
OFBiz is running with (8443/8080). Might be a firewall set up 
there to

only expose the standard ports for http(s), ssh, ftp etc.

You'll have to check this with the Hoster and maybe change the 
default

ports in your Catalina configuration to 443/80 to make it work.

For production use, it is recommended to put an Apache Webserver
before the OFBiz instance, connected with AJP.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server 
IP on vultr. i also pinged the ip from the ofbiz on the ubuntu 
server and looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:
If your install is on the same machine you are trying to 
connect to,

then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use 
an IP

address l

Re: intstall

2022-03-16 Thread sales

Hi Michael,

uploaded it to mediafire,

https://www.mediafire.com/file/kgkkat03bcffkrl/opening+with+error.jpg/file

I will reinstall it from the start under root, have learned alot the 
past few days. Using ERPnext at the moment but would like to see Ofbiz 
and maybe change over. At the moment ERPnext is installed using my 
website domain, is this possible also to link the Ofbiz ecommerce to 
your website domain.


Regards
Reinier


On 2022-03-16 12:10, Michael Brohl wrote:

Hi Reinier,

inline...

Michael


Am 16.03.22 um 16:55 schrieb sa...@maxcapital.co.za:

Hi Michael,

got it loaded with the following code "sudo ufw allow 1:/tcp"


I cannot recommend this setting as it open all ports in this range.
You should only allow the needed ports.




It loads but then gives the screenshot attached.


This mailing list does not allow image attachments. Can you provide
the image elsewhere and give a link?




I unzipped ofbiz 18.12.05 into,

root@ofbiz:~/apache-ofbiz-18.12.05#


You should not run OFBiz under root directly for security reasons.




How can i get into the security.properties to update this, and if 
possible can you tell me where to update.


What do you want to change exactly?




Regards
Reinier


On 2022-03-16 11:43, Michael Brohl wrote:

What is the output of "sudo netstat -plnt" on the server?

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 16:29 schrieb sa...@maxcapital.co.za:

Hi Michael,

thanks for the reply, opened the ports on my server but still the 
same problem. Details from the server below.


Rule added (v6)
root@ofbiz:~# sudo ufw allow 8080/tcp
Rule added
Rule added (v6)
root@ofbiz:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action  From
-- --  
22 ALLOW IN    Anywhere
80/tcp ALLOW IN    Anywhere
443/tcp    ALLOW IN    Anywhere
8443/tcp   ALLOW IN    Anywhere
8080/tcp   ALLOW IN    Anywhere
22 (v6)    ALLOW IN    Anywhere (v6)
80/tcp (v6)    ALLOW IN    Anywhere (v6)
443/tcp (v6)   ALLOW IN    Anywhere (v6)
8443/tcp (v6)  ALLOW IN    Anywhere (v6)
8080/tcp (v6)  ALLOW IN    Anywhere (v6)

Regards
Reinier




On 2022-03-16 11:05, Michael Brohl wrote:

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports
OFBiz is running with (8443/8080). Might be a firewall set up there 
to

only expose the standard ports for http(s), ssh, ftp etc.

You'll have to check this with the Hoster and maybe change the 
default

ports in your Catalina configuration to 443/80 to make it work.

For production use, it is recommended to put an Apache Webserver
before the OFBiz instance, connected with AJP.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server IP 
on vultr. i also pinged the ip from the ofbiz on the ubuntu server 
and looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:
If your install is on the same machine you are trying to connect 
to,

then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use an 
IP

address like the one you listed.

Mathew


From: sa...@maxcapital.co.za 
Sent: Tuesday, March 15, 2022 11:53 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Mathew,

sent a email with the attachments but then the email comes back, 
when i

send it without the screenshots the emails can go through to you.

Regards
Reinier

On 2022-03-15 14:40, sa...@maxcapital.co.za wrote:

Hi Mathew,

go it installed at last but cannot open it in the browser. 
Please see
the screenshots attached and i used the below code without any 
errors.
The last screenshot show the screen when trying to open Ofbiz on 
the

web.

# sudo apt update && sudo apt upgrade
Restart

# sudo apt-get install openjdk-8-jdk
java -version

# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# ls -1

# unzip apache-ofbiz-18.12.05.zip
# ls -1

# cd apache-ofbiz-18.12.05
# ls -1

# cd gradle
# ls -la
# cd ..

# sudo ./gradle/init-gradle-wrapper.sh

# sudo ./gradlew cleanAll
# sudo ./gradlew cleanAll loadAll
# sudo ./gradlew ofbiz

https://95.179.199.59:8443/accounting
https://95.179.199.59:8443/myportal/control/main

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:
Let me try and be a little more clear as I 

Re: intstall

2022-03-16 Thread Michael Brohl

Hi Reinier,

inline...

Michael


Am 16.03.22 um 16:55 schrieb sa...@maxcapital.co.za:

Hi Michael,

got it loaded with the following code "sudo ufw allow 1:/tcp"


I cannot recommend this setting as it open all ports in this range. You 
should only allow the needed ports.





It loads but then gives the screenshot attached.


This mailing list does not allow image attachments. Can you provide the 
image elsewhere and give a link?





I unzipped ofbiz 18.12.05 into,

root@ofbiz:~/apache-ofbiz-18.12.05#


You should not run OFBiz under root directly for security reasons.




How can i get into the security.properties to update this, and if 
possible can you tell me where to update.


What do you want to change exactly?




Regards
Reinier


On 2022-03-16 11:43, Michael Brohl wrote:

What is the output of "sudo netstat -plnt" on the server?

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 16:29 schrieb sa...@maxcapital.co.za:

Hi Michael,

thanks for the reply, opened the ports on my server but still the 
same problem. Details from the server below.


Rule added (v6)
root@ofbiz:~# sudo ufw allow 8080/tcp
Rule added
Rule added (v6)
root@ofbiz:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action  From
-- --  
22 ALLOW IN    Anywhere
80/tcp ALLOW IN    Anywhere
443/tcp    ALLOW IN    Anywhere
8443/tcp   ALLOW IN    Anywhere
8080/tcp   ALLOW IN    Anywhere
22 (v6)    ALLOW IN    Anywhere (v6)
80/tcp (v6)    ALLOW IN    Anywhere (v6)
443/tcp (v6)   ALLOW IN    Anywhere (v6)
8443/tcp (v6)  ALLOW IN    Anywhere (v6)
8080/tcp (v6)  ALLOW IN    Anywhere (v6)

Regards
Reinier




On 2022-03-16 11:05, Michael Brohl wrote:

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports
OFBiz is running with (8443/8080). Might be a firewall set up there to
only expose the standard ports for http(s), ssh, ftp etc.

You'll have to check this with the Hoster and maybe change the default
ports in your Catalina configuration to 443/80 to make it work.

For production use, it is recommended to put an Apache Webserver
before the OFBiz instance, connected with AJP.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server IP 
on vultr. i also pinged the ip from the ofbiz on the ubuntu server 
and looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:

If your install is on the same machine you are trying to connect to,
then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use an IP
address like the one you listed.

Mathew


From: sa...@maxcapital.co.za 
Sent: Tuesday, March 15, 2022 11:53 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Mathew,

sent a email with the attachments but then the email comes back, 
when i

send it without the screenshots the emails can go through to you.

Regards
Reinier

On 2022-03-15 14:40, sa...@maxcapital.co.za wrote:

Hi Mathew,

go it installed at last but cannot open it in the browser. 
Please see
the screenshots attached and i used the below code without any 
errors.
The last screenshot show the screen when trying to open Ofbiz on 
the

web.

# sudo apt update && sudo apt upgrade
Restart

# sudo apt-get install openjdk-8-jdk
java -version

# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# ls -1

# unzip apache-ofbiz-18.12.05.zip
# ls -1

# cd apache-ofbiz-18.12.05
# ls -1

# cd gradle
# ls -la
# cd ..

# sudo ./gradle/init-gradle-wrapper.sh

# sudo ./gradlew cleanAll
# sudo ./gradlew cleanAll loadAll
# sudo ./gradlew ofbiz

https://95.179.199.59:8443/accounting
https://95.179.199.59:8443/myportal/control/main

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:
Let me try and be a little more clear as I think I might have 
not been

as much.

As an example:

I extracted the contents of apache-ofbiz-18.12.05.zip onto my 
desktop

which created the folder:

apache-ofbiz-18.12.05

If I open up my command prompt and navigate to that directory 
it would

look something like this:

$> cd ~/Desktop/apache-ofbiz-18.12.05/
(the ~ means my personal login home directory, not to be 
confused with

/home)

In this directory there is a folder called gradle

If you type:

$>cd gradle

You wil

Re: intstall

2022-03-16 Thread sales

Hi Michael,

got it loaded with the following code "sudo ufw allow 1:/tcp"

It loads but then gives the screenshot attached.

I unzipped ofbiz 18.12.05 into,

root@ofbiz:~/apache-ofbiz-18.12.05#

How can i get into the security.properties to update this, and if 
possible can you tell me where to update.


Regards
Reinier


On 2022-03-16 11:43, Michael Brohl wrote:

What is the output of "sudo netstat -plnt" on the server?

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 16:29 schrieb sa...@maxcapital.co.za:

Hi Michael,

thanks for the reply, opened the ports on my server but still the same 
problem. Details from the server below.


Rule added (v6)
root@ofbiz:~# sudo ufw allow 8080/tcp
Rule added
Rule added (v6)
root@ofbiz:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action  From
-- --  
22 ALLOW IN    Anywhere
80/tcp ALLOW IN    Anywhere
443/tcp    ALLOW IN    Anywhere
8443/tcp   ALLOW IN    Anywhere
8080/tcp   ALLOW IN    Anywhere
22 (v6)    ALLOW IN    Anywhere (v6)
80/tcp (v6)    ALLOW IN    Anywhere (v6)
443/tcp (v6)   ALLOW IN    Anywhere (v6)
8443/tcp (v6)  ALLOW IN    Anywhere (v6)
8080/tcp (v6)  ALLOW IN    Anywhere (v6)

Regards
Reinier




On 2022-03-16 11:05, Michael Brohl wrote:

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports
OFBiz is running with (8443/8080). Might be a firewall set up there 
to

only expose the standard ports for http(s), ssh, ftp etc.

You'll have to check this with the Hoster and maybe change the 
default

ports in your Catalina configuration to 443/80 to make it work.

For production use, it is recommended to put an Apache Webserver
before the OFBiz instance, connected with AJP.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server IP 
on vultr. i also pinged the ip from the ofbiz on the ubuntu server 
and looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:
If your install is on the same machine you are trying to connect 
to,

then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use an 
IP

address like the one you listed.

Mathew


From: sa...@maxcapital.co.za 
Sent: Tuesday, March 15, 2022 11:53 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Mathew,

sent a email with the attachments but then the email comes back, 
when i

send it without the screenshots the emails can go through to you.

Regards
Reinier

On 2022-03-15 14:40, sa...@maxcapital.co.za wrote:

Hi Mathew,

go it installed at last but cannot open it in the browser. Please 
see
the screenshots attached and i used the below code without any 
errors.
The last screenshot show the screen when trying to open Ofbiz on 
the

web.

# sudo apt update && sudo apt upgrade
Restart

# sudo apt-get install openjdk-8-jdk
java -version

# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# ls -1

# unzip apache-ofbiz-18.12.05.zip
# ls -1

# cd apache-ofbiz-18.12.05
# ls -1

# cd gradle
# ls -la
# cd ..

# sudo ./gradle/init-gradle-wrapper.sh

# sudo ./gradlew cleanAll
# sudo ./gradlew cleanAll loadAll
# sudo ./gradlew ofbiz

https://95.179.199.59:8443/accounting
https://95.179.199.59:8443/myportal/control/main

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:
Let me try and be a little more clear as I think I might have not 
been

as much.

As an example:

I extracted the contents of apache-ofbiz-18.12.05.zip onto my 
desktop

which created the folder:

apache-ofbiz-18.12.05

If I open up my command prompt and navigate to that directory it 
would

look something like this:

$> cd ~/Desktop/apache-ofbiz-18.12.05/
(the ~ means my personal login home directory, not to be confused 
with

/home)

In this directory there is a folder called gradle

If you type:

$>cd gradle

You will be in this directory and in this directory you should 
type

the following command:

$> ls -la

You should get a list that looks like this:

total 20
drwxr-xr-x  3 root root 4096 Jan  2 01:20 .
drwxr-xr-x 12 root root 4096 Jan  2 02:56 ..
-rw-r--r--  1 root root 1849 Jan  2 01:20 init-gradle-wrapper.ps1
-rwxr-xr-x  1 root root 4049 Jan  2 01:20 init-gradle-wrapper.sh
drwxr-xr-x  2 root root 4096 Mar 14 12:40 wrappe

Re: intstall

2022-03-16 Thread Michael Brohl

What is the output of "sudo netstat -plnt" on the server?

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 16:29 schrieb sa...@maxcapital.co.za:

Hi Michael,

thanks for the reply, opened the ports on my server but still the same 
problem. Details from the server below.


Rule added (v6)
root@ofbiz:~# sudo ufw allow 8080/tcp
Rule added
Rule added (v6)
root@ofbiz:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action  From
-- --  
22 ALLOW IN    Anywhere
80/tcp ALLOW IN    Anywhere
443/tcp    ALLOW IN    Anywhere
8443/tcp   ALLOW IN    Anywhere
8080/tcp   ALLOW IN    Anywhere
22 (v6)    ALLOW IN    Anywhere (v6)
80/tcp (v6)    ALLOW IN    Anywhere (v6)
443/tcp (v6)   ALLOW IN    Anywhere (v6)
8443/tcp (v6)  ALLOW IN    Anywhere (v6)
8080/tcp (v6)  ALLOW IN    Anywhere (v6)

Regards
Reinier




On 2022-03-16 11:05, Michael Brohl wrote:

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports
OFBiz is running with (8443/8080). Might be a firewall set up there to
only expose the standard ports for http(s), ssh, ftp etc.

You'll have to check this with the Hoster and maybe change the default
ports in your Catalina configuration to 443/80 to make it work.

For production use, it is recommended to put an Apache Webserver
before the OFBiz instance, connected with AJP.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server IP 
on vultr. i also pinged the ip from the ofbiz on the ubuntu server 
and looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:

If your install is on the same machine you are trying to connect to,
then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use an IP
address like the one you listed.

Mathew


From: sa...@maxcapital.co.za 
Sent: Tuesday, March 15, 2022 11:53 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Mathew,

sent a email with the attachments but then the email comes back, 
when i

send it without the screenshots the emails can go through to you.

Regards
Reinier

On 2022-03-15 14:40, sa...@maxcapital.co.za wrote:

Hi Mathew,

go it installed at last but cannot open it in the browser. Please see
the screenshots attached and i used the below code without any 
errors.

The last screenshot show the screen when trying to open Ofbiz on the
web.

# sudo apt update && sudo apt upgrade
Restart

# sudo apt-get install openjdk-8-jdk
java -version

# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# ls -1

# unzip apache-ofbiz-18.12.05.zip
# ls -1

# cd apache-ofbiz-18.12.05
# ls -1

# cd gradle
# ls -la
# cd ..

# sudo ./gradle/init-gradle-wrapper.sh

# sudo ./gradlew cleanAll
# sudo ./gradlew cleanAll loadAll
# sudo ./gradlew ofbiz

https://95.179.199.59:8443/accounting
https://95.179.199.59:8443/myportal/control/main

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:
Let me try and be a little more clear as I think I might have not 
been

as much.

As an example:

I extracted the contents of apache-ofbiz-18.12.05.zip onto my 
desktop

which created the folder:

apache-ofbiz-18.12.05

If I open up my command prompt and navigate to that directory it 
would

look something like this:

$> cd ~/Desktop/apache-ofbiz-18.12.05/
(the ~ means my personal login home directory, not to be confused 
with

/home)

In this directory there is a folder called gradle

If you type:

$>cd gradle

You will be in this directory and in this directory you should type
the following command:

$> ls -la

You should get a list that looks like this:

total 20
drwxr-xr-x  3 root root 4096 Jan  2 01:20 .
drwxr-xr-x 12 root root 4096 Jan  2 02:56 ..
-rw-r--r--  1 root root 1849 Jan  2 01:20 init-gradle-wrapper.ps1
-rwxr-xr-x  1 root root 4049 Jan  2 01:20 init-gradle-wrapper.sh
drwxr-xr-x  2 root root 4096 Mar 14 12:40 wrapper

I want you to make sure that the file init-gradle-wrapper.sh has 
three

"x" markings where it reads above:

-rwxr-xr-x

It should but we are just checking at this point.

Now type:

$>cd ..

This should take you back to your root directory of the apache
directory.  From this directory, if you type:

$>sudo ./gradle/init-gradle-wrapper.sh

You should get the following output:


Re: intstall

2022-03-16 Thread sales

Hi Michael,

thanks for the reply, opened the ports on my server but still the same 
problem. Details from the server below.


Rule added (v6)
root@ofbiz:~# sudo ufw allow 8080/tcp
Rule added
Rule added (v6)
root@ofbiz:~# sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action  From
-- --  
22 ALLOW INAnywhere
80/tcp ALLOW INAnywhere
443/tcpALLOW INAnywhere
8443/tcp   ALLOW INAnywhere
8080/tcp   ALLOW INAnywhere
22 (v6)ALLOW INAnywhere (v6)
80/tcp (v6)ALLOW INAnywhere (v6)
443/tcp (v6)   ALLOW INAnywhere (v6)
8443/tcp (v6)  ALLOW INAnywhere (v6)
8080/tcp (v6)  ALLOW INAnywhere (v6)

Regards
Reinier




On 2022-03-16 11:05, Michael Brohl wrote:

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports
OFBiz is running with (8443/8080). Might be a firewall set up there to
only expose the standard ports for http(s), ssh, ftp etc.

You'll have to check this with the Hoster and maybe change the default
ports in your Catalina configuration to 443/80 to make it work.

For production use, it is recommended to put an Apache Webserver
before the OFBiz instance, connected with AJP.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server IP on 
vultr. i also pinged the ip from the ofbiz on the ubuntu server and 
looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:

If your install is on the same machine you are trying to connect to,
then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use an IP
address like the one you listed.

Mathew


From: sa...@maxcapital.co.za 
Sent: Tuesday, March 15, 2022 11:53 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Mathew,

sent a email with the attachments but then the email comes back, when 
i

send it without the screenshots the emails can go through to you.

Regards
Reinier

On 2022-03-15 14:40, sa...@maxcapital.co.za wrote:

Hi Mathew,

go it installed at last but cannot open it in the browser. Please 
see
the screenshots attached and i used the below code without any 
errors.

The last screenshot show the screen when trying to open Ofbiz on the
web.

# sudo apt update && sudo apt upgrade
Restart

# sudo apt-get install openjdk-8-jdk
java -version

# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# ls -1

# unzip apache-ofbiz-18.12.05.zip
# ls -1

# cd apache-ofbiz-18.12.05
# ls -1

# cd gradle
# ls -la
# cd ..

# sudo ./gradle/init-gradle-wrapper.sh

# sudo ./gradlew cleanAll
# sudo ./gradlew cleanAll loadAll
# sudo ./gradlew ofbiz

https://95.179.199.59:8443/accounting
https://95.179.199.59:8443/myportal/control/main

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:
Let me try and be a little more clear as I think I might have not 
been

as much.

As an example:

I extracted the contents of apache-ofbiz-18.12.05.zip onto my 
desktop

which created the folder:

apache-ofbiz-18.12.05

If I open up my command prompt and navigate to that directory it 
would

look something like this:

$> cd ~/Desktop/apache-ofbiz-18.12.05/
(the ~ means my personal login home directory, not to be confused 
with

/home)

In this directory there is a folder called gradle

If you type:

$>cd gradle

You will be in this directory and in this directory you should type
the following command:

$> ls -la

You should get a list that looks like this:

total 20
drwxr-xr-x  3 root root 4096 Jan  2 01:20 .
drwxr-xr-x 12 root root 4096 Jan  2 02:56 ..
-rw-r--r--  1 root root 1849 Jan  2 01:20 init-gradle-wrapper.ps1
-rwxr-xr-x  1 root root 4049 Jan  2 01:20 init-gradle-wrapper.sh
drwxr-xr-x  2 root root 4096 Mar 14 12:40 wrapper

I want you to make sure that the file init-gradle-wrapper.sh has 
three

"x" markings where it reads above:

-rwxr-xr-x

It should but we are just checking at this point.

Now type:

$>cd ..

This should take you back to your root directory of the apache
directory.  From this directory, if you type:

$>sudo ./gradle/init-gradle-wrapper.sh

You should get the following output:

 === Prepare operation ===
/home/root/Desktop/apache-ofbiz-18.12.05/gradle/wrapper/gradle-wrapper.jar 
not found, we download it

 === Download gradle-wrapper.

Re: intstall

2022-03-16 Thread Michael Brohl

Hi Reinier,

I don't know Vultr but maybe it does not expose the default ports OFBiz 
is running with (8443/8080). Might be a firewall set up there to only 
expose the standard ports for http(s), ssh, ftp etc.


You'll have to check this with the Hoster and maybe change the default 
ports in your Catalina configuration to 443/80 to make it work.


For production use, it is recommended to put an Apache Webserver before 
the OFBiz instance, connected with AJP.


Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 16.03.22 um 15:32 schrieb sa...@maxcapital.co.za:

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz 
installed successfully but tried all of the ways with my server IP on 
vultr. i also pinged the ip from the ofbiz on the ubuntu server and 
looks like running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:

If your install is on the same machine you are trying to connect to,
then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use an IP
address like the one you listed.

Mathew


From: sa...@maxcapital.co.za 
Sent: Tuesday, March 15, 2022 11:53 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Mathew,

sent a email with the attachments but then the email comes back, when i
send it without the screenshots the emails can go through to you.

Regards
Reinier

On 2022-03-15 14:40, sa...@maxcapital.co.za wrote:

Hi Mathew,

go it installed at last but cannot open it in the browser. Please see
the screenshots attached and i used the below code without any errors.
The last screenshot show the screen when trying to open Ofbiz on the
web.

# sudo apt update && sudo apt upgrade
Restart

# sudo apt-get install openjdk-8-jdk
java -version

# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# ls -1

# unzip apache-ofbiz-18.12.05.zip
# ls -1

# cd apache-ofbiz-18.12.05
# ls -1

# cd gradle
# ls -la
# cd ..

# sudo ./gradle/init-gradle-wrapper.sh

# sudo ./gradlew cleanAll
# sudo ./gradlew cleanAll loadAll
# sudo ./gradlew ofbiz

https://95.179.199.59:8443/accounting
https://95.179.199.59:8443/myportal/control/main

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:

Let me try and be a little more clear as I think I might have not been
as much.

As an example:

I extracted the contents of apache-ofbiz-18.12.05.zip onto my desktop
which created the folder:

apache-ofbiz-18.12.05

If I open up my command prompt and navigate to that directory it would
look something like this:

$> cd ~/Desktop/apache-ofbiz-18.12.05/
(the ~ means my personal login home directory, not to be confused with
/home)

In this directory there is a folder called gradle

If you type:

$>cd gradle

You will be in this directory and in this directory you should type
the following command:

$> ls -la

You should get a list that looks like this:

total 20
drwxr-xr-x  3 root root 4096 Jan  2 01:20 .
drwxr-xr-x 12 root root 4096 Jan  2 02:56 ..
-rw-r--r--  1 root root 1849 Jan  2 01:20 init-gradle-wrapper.ps1
-rwxr-xr-x  1 root root 4049 Jan  2 01:20 init-gradle-wrapper.sh
drwxr-xr-x  2 root root 4096 Mar 14 12:40 wrapper

I want you to make sure that the file init-gradle-wrapper.sh has three
"x" markings where it reads above:

-rwxr-xr-x

It should but we are just checking at this point.

Now type:

$>cd ..

This should take you back to your root directory of the apache
directory.  From this directory, if you type:

$>sudo ./gradle/init-gradle-wrapper.sh

You should get the following output:

 === Prepare operation ===
/home/root/Desktop/apache-ofbiz-18.12.05/gradle/wrapper/gradle-wrapper.jar 


not found, we download it
 === Download gradle-wrapper.jar ===
 === Download gradle-wrapper.properties ===
 === Control downloaded files ===
gradle/wrapper/gradle-wrapper.jar: OK
gradle/wrapper/gradle-wrapper.properties: OK
gradlew: OK



If you are getting any other output, please post it so we (not
necessarily me) can better diagnose what is going on.



Mathew


From: sa...@maxcapital.co.za 
Sent: Monday, March 14, 2022 6:14 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Jacques, Mathew,

still getting the same errors on Ubuntu. Are there any latest scripts
that can be followed step by step to install as i have looked around
online but all seems to be old.

Tried the ./gradle/init-gradle-wrapper.sh (Says no such file found)
Tried the ./gradlew cleanAll loadAll (instead of defaultAll) still the
same error (No such file or directory.

Not sure why i am getting these errors, i have update and upgraded
Ubuntu, restarted the sever. Installed sudo apt-get install
openjdk-8-jdk successfully. Then downloaded the latest version 

Re: intstall

2022-03-16 Thread sales

Hi Mathew,

it's on Vultr.com so it is a remote Ubuntu 20.04 server. Ofbiz installed 
successfully but tried all of the ways with my server IP on vultr. i 
also pinged the ip from the ofbiz on the ubuntu server and looks like 
running fine.


Not sure what else to do from here.

Regards
Reinier

On 2022-03-15 16:11, Mathew Cox wrote:

If your install is on the same machine you are trying to connect to,
then you won't use your network ip address but your local machine
address.  For example, if I installed OFBiz on my desktop here, I
would connect to it as follows:

https://localhost:8443/webtools

or alternatively

https://127.0.0.1:8443/webtools

If the install is on a remote machine, only then would you use an IP
address like the one you listed.

Mathew


From: sa...@maxcapital.co.za 
Sent: Tuesday, March 15, 2022 11:53 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Mathew,

sent a email with the attachments but then the email comes back, when i
send it without the screenshots the emails can go through to you.

Regards
Reinier

On 2022-03-15 14:40, sa...@maxcapital.co.za wrote:

Hi Mathew,

go it installed at last but cannot open it in the browser. Please see
the screenshots attached and i used the below code without any errors.
The last screenshot show the screen when trying to open Ofbiz on the
web.

# sudo apt update && sudo apt upgrade
Restart

# sudo apt-get install openjdk-8-jdk
java -version

# wget https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip
# ls -1

# unzip apache-ofbiz-18.12.05.zip
# ls -1

# cd apache-ofbiz-18.12.05
# ls -1

# cd gradle
# ls -la
# cd ..

# sudo ./gradle/init-gradle-wrapper.sh

# sudo ./gradlew cleanAll
# sudo ./gradlew cleanAll loadAll
# sudo ./gradlew ofbiz

https://95.179.199.59:8443/accounting
https://95.179.199.59:8443/myportal/control/main

Regards
Reinier

On 2022-03-14 16:01, Mathew Cox wrote:
Let me try and be a little more clear as I think I might have not 
been

as much.

As an example:

I extracted the contents of apache-ofbiz-18.12.05.zip onto my desktop
which created the folder:

apache-ofbiz-18.12.05

If I open up my command prompt and navigate to that directory it 
would

look something like this:

$> cd ~/Desktop/apache-ofbiz-18.12.05/
(the ~ means my personal login home directory, not to be confused 
with

/home)

In this directory there is a folder called gradle

If you type:

$>cd gradle

You will be in this directory and in this directory you should type
the following command:

$> ls -la

You should get a list that looks like this:

total 20
drwxr-xr-x  3 root root 4096 Jan  2 01:20 .
drwxr-xr-x 12 root root 4096 Jan  2 02:56 ..
-rw-r--r--  1 root root 1849 Jan  2 01:20 init-gradle-wrapper.ps1
-rwxr-xr-x  1 root root 4049 Jan  2 01:20 init-gradle-wrapper.sh
drwxr-xr-x  2 root root 4096 Mar 14 12:40 wrapper

I want you to make sure that the file init-gradle-wrapper.sh has 
three

"x" markings where it reads above:

-rwxr-xr-x

It should but we are just checking at this point.

Now type:

$>cd ..

This should take you back to your root directory of the apache
directory.  From this directory, if you type:

$>sudo ./gradle/init-gradle-wrapper.sh

You should get the following output:

 === Prepare operation ===
/home/root/Desktop/apache-ofbiz-18.12.05/gradle/wrapper/gradle-wrapper.jar
not found, we download it
 === Download gradle-wrapper.jar ===
 === Download gradle-wrapper.properties ===
 === Control downloaded files ===
gradle/wrapper/gradle-wrapper.jar: OK
gradle/wrapper/gradle-wrapper.properties: OK
gradlew: OK



If you are getting any other output, please post it so we (not
necessarily me) can better diagnose what is going on.



Mathew


From: sa...@maxcapital.co.za 
Sent: Monday, March 14, 2022 6:14 AM
To: user@ofbiz.apache.org 
Subject: Re: intstall

Hi Jacques, Mathew,

still getting the same errors on Ubuntu. Are there any latest scripts
that can be followed step by step to install as i have looked around
online but all seems to be old.

Tried the ./gradle/init-gradle-wrapper.sh (Says no such file found)
Tried the ./gradlew cleanAll loadAll (instead of defaultAll) still 
the

same error (No such file or directory.

Not sure why i am getting these errors, i have update and upgraded
Ubuntu, restarted the sever. Installed sudo apt-get install
openjdk-8-jdk successfully. Then downloaded the latest version with
wget
https://dlcdn.apache.org/ofbiz/apache-ofbiz-18.12.05.zip

Maybe from here i am doing something wrong, i do unzip the latest
version so i really don't know where  the problem is. Have probably
tried it 50 times the last 2 days.

Regards
Reinier

On 2022-03-14 07:59, sa...@maxcapital.co.za wrote:

Hi Jacques,

thanks i will read through it and also try the loadAll. Im not to
clued up with coding but learning as i go along.

Regards
Reinier

On 2022-03-14 05:47, Jacques Le Roux wrote:

Hi,

You should not use loadDefault but loadAll

Also reading https://nightli

AW: AW: distTar

2022-03-16 Thread Ingo Wolfmayr
Hi Jaques,

I have one more question to the image path: When I set the "image.server.path" 
to for example "/home/ofbiz/images" the file is uploaded fine - the files are 
in the right path. Unfortunately viewing the image requires it to be available 
via a webpath as by default /images

Do you have a recommendation on how to set it up correctly?

Best regards,
Ingo

-Ursprüngliche Nachricht-
Von: Jacques Le Roux  
Gesendet: Freitag, 11. Februar 2022 19:06
An: user@ofbiz.apache.org
Betreff: Re: AW: distTar

Hi Ingo, All,

To clarify my thoughts and message.

Actually I was wrong when I said that "a feature was lost when common-theme was 
put in". The rest is right. This feature is the possibility, through 
image.server.path property in catalog.properties file, to place the images, and 
other the static files as well, in a location that fits with you for any 
reason. Notably following the NSA recommendation to place it in "a non-web 
accessible area". This to prevent webshell uploads and all kind of other 
malicious files uploads. The same is true for the other property 
image.management.path.

So the fact that before common-theme was put in, with the folder for images 
/themes/common/images/webapp/images/, this folder was 
/framework/images/webapp/images/ has nothing to do with "a non-web accessible 
area". That's you to decide...

There is also a ${tenantId} var used in image.server.path property that is used 
in case of multi-tenant, that's another thing.

So I finally don't think it's necessary to put the images and image.management 
in runtime. This would add nothing. I'll remove the FIXMEs

Jacques

Le 07/02/2022 à 19:37, Ingo Wolfmayr a écrit :
> Hi Jacques,
>
> thanks for the fast response. I will do it exactly as you say.
>
> Best regards
> Ingo
>
>
> -Ursprüngliche Nachricht-
> Von: Jacques Le Roux
> Gesendet: Montag, 7. Februar 2022 19:21 An:user@ofbiz.apache.org
> Betreff: Re: distTar
>
> Hi Ingo,
>
> You don't need to use
>
> ./gradlew "ofbiz start"
>
> ./gradlew ofbiz
> is enough and does not generate zip/tar.
>
> This said I'm currently working on a feature that was lost when 
> common-theme was put in. Fortunately tt was then documented by these 
> FIXMEs #FIXME the image server path need to be moved on runtime #FIXME 
> the image management path need to be moved on runtime
>
> The idea is to not have the images under OFBiz tree but in a specific 
> location unrelated to OFBiz.
>
> I'm actually also working on this for security reason. It's a NSA 
> recommendation*:
>
>  < permissions to write directly to a web accessible directory or modify web
>  accessible code.
>  “Attackers are unable to upload a web shell to a vulnerable application 
> if the web server blocks access to the web accessible directory,”
>  according to the guidance. “To preserve functionality, some web 
> applications require configuration changes to save uploads to a non-web 
> accessible
>  area.”>>
>
> “To preserve functionality, some web applications require configuration 
> changes to save uploads to a non-web accessible area.” That's exactly what we 
> lost with common-theme. Fortunately it was documented and I stumbled upon it 
> while working on related security issues.
>
> Having images, and at large static files, in a specific location can also 
> allow to speed things...
>
>
> HTH
>
> Jacques
> *https://healthitsecurity.com/news/nsa-shares-guide-to-web-shell-malwa
> re-vulnerabilities-mitigation
>
>
> Le 07/02/2022 à 17:56, Ingo Wolfmayr a écrit :
>> Hi everybody,
>>
>> I have a question about building ofbiz. In previous versions for example 
>> 17.12 I had the following process:
>>
>> ./gradlew build (build the project and see if everything is fine) 
>> ./gradlew "ofbiz start"
>>
>> Now I am working with the current trunk and when I start ./gradlew build it 
>> starts "disttar" and generates a .tar and a .zip. As I have lots of images 
>> in a project it uses lots of disk space and time. Is my process wrong? Is 
>> there "correct" way of how it should be done?
>>
>> Thanks for every hint.
>>
>> Best regards,
>> Ingo
>>
>>


Re: 2 Factor Authentication

2022-03-16 Thread Jacques Le Roux

Hi Johan,

There is none and AFAIK no plan. I think you can easily find Java 2FA solutions 
outside to integrate.

Jacques

Le 16/03/2022 à 08:32, Johan Cronje a écrit :

Good day,

I would just like to find out if there are any 2 Factor Authentication
plugins or 2 Factor Authentication capability within the current OFBiz
framework which I can use for my installation.

Kind Regards,
Johan




2 Factor Authentication

2022-03-16 Thread Johan Cronje
Good day,

I would just like to find out if there are any 2 Factor Authentication
plugins or 2 Factor Authentication capability within the current OFBiz
framework which I can use for my installation.

Kind Regards,
Johan