[Fixed] Background tasks issue

Hi Anvil friends!

Recently we update our anvil-app-server to the last version (1.7.2) and after that we have an issue with our background tasks, we receive this errors

[INFO  anvil.app-server.run] [SESSION] nil EITXIGBKMQL4YUYNLSSHHLTSUVHPWDVI {:func task:update_last_stock_prices, :scheduled_task EUONDFMU}
[ERROR anvil.dispatcher.core] Unexpected error in synchronous-return-path code: f25844db3bb5
org.postgresql.util.PSQLException: ERROR: column "session" is of type bigint but expression is of type character varying
  Hint: You will need to rewrite or cast the expression.
  Position: 105

We use PSQL 14. We will appreciate any help to solve this

Thanks in advance!

To give more info we received this message each time that we start the server

Found 3 migration(s) for (base runtime) DB.
Executing Anvil migrations...
Database currently at "2022-01-17-anvil-config"
Database is already up to date.

The 3 migrations never go down :frowning:

Hi @epalenque83,

Thanks very much - we’re aware of this issue and will be releasing a new version to fix the problem soon. In the meantime, you may wish to downgrade to the previous version.

I’ll post here when we have an update.


This issue should now be resolved in the latest version of the App Server (1.7.3). Please let us know if you see any further issues!


Wow thanks a lot we updated and now