External HTTP Market Place error

After reading the manual and searching the forum I’ve got the place where I need help. I am using the http driver to create a new Market Place. I get this error when I try to send an image to it.

“Wed Mar 25 15:48:44 2020 : Error importing app into marketplace: Error exporting image to file: -”

I am using Apache on the server as recommended in the instructions. I am using a separate sever for this. The directory I am try to write to is set to 777 and the apache process is the owner.

here is the configuration for the Market Place:

BASE_URL = “http://dvdl-mktplace
BRIDGE_LIST = “dvdl-mktplace”
MARKET_MAD = “http”
PUBLIC_DIR = “market”

I’ve checked and DNS is working.

Has anyone made an HTTP marketplace and can help with this? Is there I log I can look in to see more information on the error above?

John

Check logs from /var/log/one/oned.log, you’ll see something like
Command execution failed (exit code: 255): /var/lib/one/remotes/ **market** /http/monitor {{ base64 template }}
and the error on the next line.

Thanks I’ll dig around in there and see what I can work out,.

Well I found the errror adn am unable to make any sense of it. Is there someone out there who can?

Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:3120 UID:0 one.marketapp.allocate result SUCCESS, 109
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:9360 UID:0 IP:127.0.0.1 one.marketapp.info invoked , 109
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:9360 UID:0 one.marketapp.info result SUCCESS, “…”
Fri Mar 27 09:33:18 2020 [Z0][MKP][I]: Command execution failed (exit code: 1): /var/lib/one/remotes/datastore/fs/export PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+CiAgPElEPjExNDwvSUQ+CiAgPFVJRD4yPC9VSUQ+CiAgPEdJRD4wPC9HSUQ+CiAgPFVOQU1FPmFiaG9pdGU8L1VOQU1FPgogIDxHTkFNRT5vbmVhZG1pbjwvR05BTUU+CiAgPE5BTUU+cGVudGFob183LjFfY29udGV4dC1kaXNrLTA8L05BTUU+CiAgPFBFUk1JU1NJT05TPgogICAgPE9XTkVSX1U+MTwvT1dORVJfVT4KICAgIDxPV05FUl9NPjE8L09XTkVSX00+CiAgICA8T1dORVJfQT4wPC9PV05FUl9BPgogICAgPE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lNQUdFX0RTXV0+PC9UWVBFPgogIDwvVEVNUExBVEU+CjwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg== 109
Fri Mar 27 09:33:18 2020 [Z0][MKP][E]: Error importing app into marketplace: Error exporting image to file: -
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:6720 UID:0 IP:127.0.0.1 one.zone.raftstatus invoked
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:6720 UID:0 one.zone.raftstatus result SUCCESS, “<SERVER_ID>-1<…”
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:8448 UID:0 IP:127.0.0.1 one.vmpool.info invoked , -2, -1, -1, -1
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:8448 UID:0 one.vmpool.info result SUCCESS, “<VM_POOL>119…”
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:8944 UID:0 IP:127.0.0.1 one.vmpool.info invoked , -2, -1, -1, -1
Fri Mar 27 09:33:18 2020 [Z0][ReM][D]: Req:8944 UID:0 one.vmpool.info result SUCCESS, “<VM_POOL>119…”
Fri Mar 27 09:33:19 2020 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 460261 -

Try find smth with this error, aspecially

Error exporting image to file: -

yes that shows up right right after the big block of text and no further explanation as to why.

A quick update. Turns out this error message was caused by trying to export an image from a datastore that was dismounted :-(. Upon choosing another image from a mounted data store we get a new error.

Tue Apr 14 09:55:56 2020 : Error importing app into marketplace: Error dumping /var/lib/one//datastores/1/2daa48aa5b452857b15b07b357f3b15e to dvdl-mktplace:/var/www/html/market/5ade197e703662e1bcba461143755651

We’ll continue to work on this and I’ll update this when we have a solution.