ERROR: Deployment process failed. Original files are unmodified

Hello. I tried to install the file from DEV to PROD server and i get this error “Deployment process failed. Original files are unmodified.” File is small 125MB.
OttoFMS on dev is 4.7.2 and on PROD is 4.7.0.
What could be the cause of this problem?

Hi John,

There could be any number of issues. The best thing to do is to take a look at the deployment log. You can find that in the OttoFMS web page. You can also take a look at the combined log. Here are the docs on how to get the combined log

There should be more information in one of those two place that can help you figure it out.

Let us know what you find

Todd

2024-11-26T23:02:06.807Z info otto internal database up to date
2024-11-26T23:02:06.817Z info Listening on http://localhost:3061
2024-11-26T23:02:06.817Z info environment production
2024-11-26T23:02:06.817Z info version 4.7.2
2024-11-26T23:02:06.818Z info node version v20.11.1
2024-11-26T23:02:07.021Z info started watching offsite backup
2024-11-26T23:02:07.021Z info started watching for hostname changes
2024-11-26T23:02:07.027Z info Reverse Proxy already installed
2024-11-26T23:02:08.459Z info License status: valid
2024-11-26T23:02:19.094Z error BadRequestError: Can not connect from a remote address. Use proxy - {service:express-error-handler}
2024-11-26T23:02:21.885Z info web app login successful

all the externalo drive permission , ssl, privilege , permission disk, all good !

Hello @alecorticelli

Are you working with @John who started this thread or do you have a different problem on a different server?

Thanks

Todd

i have 5 server 3 works greate ! 2 not ! same problem !

Are you trying to connect directly to port 3061 on those servers. Because that will not work. You must use a fully qualified domain name and port 443

Todd

now all owrk greate as usual without ottofms on this 2 machine ! i will waith your next version before re-install the actual one.

Hello,

Sounds like things aren’t working well for you. But I am afraid I still can’t figure out what your question is. or what is happening.

It sounds like maybe your FileMaker Server is not accepting your FileMaker License or SSL certificate? Does this have anything to do with OttoFMS? Or is it just FileMaker Server?

Could you send a video.

Todd

We are not connected. Apparently he just joined our conversation. I will post my logs but I am waiting that admin of PROD server updates FMS and OttoFMS to latest version so I can try again.

Ok John, We will wait to hear from you about the logs.

Todd

This is what I get:

Thanks John,

That looks like your two servers can’t communicate. Are you sure that OttoFMS is still running on your other server?

It looks like it is just getting some random webpage. The other possibility is that your server url is wrong and it isn’t pointed a server that is running OttoFMS.

Can you log into both servers through the OttoFMS web console?

Let us know

Todd

Hi. Yes. I can login to both. I can upload files directly on both or close and download them. API admin keys are set on both, file has full privilege account. Both servers have SSL, same version of FMS and otto. Is it important how initial fmp12 files are set? Can i send you log files somewhere else that I do not put them here publicly?

Hello

You can send the logs to me with Direct Message here on this platform.

Todd

I am new user and I am not allowed to upload atachments in DMs.

Hi John

I got your logs. Unfortunately it doesn’t tell me anything new.

It still looks to me like the two server can’t talk to each other. You might be able to connect to both servers, but they also need to talk to each other directly.

If you know how to use Postman or other HTTP request clients. You could try using the developer api to test this. See these docs
https://docs.ottofms.com/apidoc#tag/Miscellaneous/operation/GetOttoApiCanReachOtherServer

If you have remote desktop access to both server you could also just log into each server and use your browser to log into the other server.

Let us know what you discover.

Todd

I am still waiting to get an access to PROD servers teminal however here is the response from DEV server (I have intentionally replaced some characters in servers URL and IP number with XX):
curl -v -G
–data-urlencode “otherServerUrl=https://AAA.fmphost.com
–data-urlencode “isLegacy=0”
https://AAA.fmphost.com/api/can-reach
----- RESPONSE:

  • Host AAA.fmphost.com:443 was resolved.
  • IPv6: (none)
  • IPv4: XX.XXX.XXX.XXX
  • Trying XX.XXX.XXX.XXX:443…
  • Connected to AAA.fmphost.com (XX.XXX.XXX.XXX) port 443
  • ALPN: curl offers h2,http/1.1
  • CAfile: /etc/ssl/cert.pem
  • CApath: none
  • SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
  • Server certificate:
  • subject: CN=*.fmphost.com
  • start date: Feb 12 00:00:00 2024 GMT
  • expire date: Feb 11 23:59:59 2025 GMT
  • subjectAltName: host “AAA.fmphost.com” matched cert’s “*.fmphost.com”
  • issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
  • SSL certificate verify ok.

GET /api/can-reach?otherServerUrl=https%3A%2F%2FAAA.fmphost.com&isLegacy=0 HTTP/2
Host: AAA.fmphost.com
User-Agent: curl/8.7.1
Accept: /

  • Request completely sent off
    < HTTP/2 404
    < server: nginx
    < date: Thu, 28 Nov 2024 07:56:01 GMT
    < content-type: text/plain; charset=utf-8
    < content-length: 9
    < x-powered-by: Express
    < etag: W/“9-0gXL1ngzMqISxa6S1zx3F4wtLyg”
    < vary: Accept-Encoding
    < strict-transport-security: max-age=31536000; includeSubDomains
    <
  • Connection #0 to host AAA.fmphost.com left intact
    Not Found

Hi John

This is the result you should get back.

  "response": {
    "ok": true,
    "msg": "success"
  },
  "messages": [
    {
      "code": 0,
      "text": "ok"
    }
  ]
}

But I think you may have called the wrong url. You might have miss otto at the beginning of the path. Like this.

/otto/api/can-reach-other-server

Hope that helps

Thanks

Todd