1. Helge Tjelta
  2. Valentina Database ADK
  3. Thursday, July 22 2021, 09:16 PM
  4.  Subscribe via email
Hi, I'm trying to use Lifeboat for deploying my xojo app on a linux debian.

My problem is that I can not get anything to run with valentina on it.
Installing a plain empty "hello world" project with not init of valentina, runs fine.
Now step to.
Just do a init of valentina in open app event.. So now the valentina plugin get copied .

Now next I do is copy the vresources into app.level, and all the libs files into the Libs folder... (all the .so. and aliases).
Now the app will not start. Lifeboat gives the status: Inactive, and when trying to run the app I get 502 Bad Gateway (nginx/1.10.3)

When looking into the log of my attempt to start this app, lifeboat says:
Jul 22 21:12:46 ip-172-26-13-163 step242005[16051]: Failed to load plugin v4rb_x64_release.so:
Jul 22 21:12:46 ip-172-26-13-163 step242005[16051]: libvshared_release_x64.so.10422: cannot open shared object file: No such file or directory

Looking into the installed files from the component_64 (linux version), I can only see .1131 and .56 files, no .10422

What is wrong, am I missing some files here ?

cheers Helge
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hi Helge,

10.4.22 is the version of V4RB plugin installed on the system where you compile an application.
It is necessary to use the same version for compiling and deployment.

You can download vcomponents as ZIP archive.

Previous versions can be found here:
References
  1. http://valentina-db.com/download/prev_releases/
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
Helge Tjelta Accepted Answer
Hi Sergey, I did that now. But still it will not start... now the log says:

cat: /var/log/lifeboat/test21042242006.log: No such file or directory
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 2
Sergey Pashkov Accepted Answer
Is it CGI deployment? In CGI, there could be some permissions issues (the app is started by the Web server)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 3
Helge Tjelta Accepted Answer
LIfeboat is a very new program for uploading and starting web-services... I don't know if it is CGI... it should fix all permissions etc.. but I have contacted the developer for help.

I'll let you know.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 4
Sergey Pashkov Accepted Answer
We haven’t tried lifeboat yet.
Is it possible to try to run Xojo web app on this Linux system directly, without lifeboat? It should be easier to identify the problem
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 5
Sergey Pashkov Accepted Answer
Hello Helge,

I've just tried to use Lifeboat for WebApp utilizing the V4RB plugin (I'm using 11.3.1) and it works. But I had to recreate symbolic links to vcomponents libraries.

After uploading I tried to start it and the application didn't work.

I connected via SSH to the Linux system, navigated to the libraries directory:

/home/user/.com.strawberrysw.Lifeboat/myapp/MyApplication Libs


ls command didn't show aliases, looks like they were lost during transfer.

So I had to recreate all of them:

ln -s libvkernel_release_x64.so.1131 libvkernel_release_x64.so
ln -s libvreport_release_x64.so.1131 libvreport_release_x64.so
ln -s libvshared_release_x64.so.1131 libvshared_release_x64.so
ln -s libvclient_release_x64.so.1131 libvclient_release_x64.so


I started the app and checked that it works in the browser.
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 6
Helge Tjelta Accepted Answer
Fantastic, I’ll try it tonight then! Promising
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 7
Helge Tjelta Accepted Answer
yes, works here as wll now. V10.4.22

Thanks Sergey.

Now it is up to Tim (author of lifeboat) to fix the aliases :)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 8
Tim Parnell Accepted Answer
Thank you both for digging into this issue!

I just wanted to stop by and let everyone know that a fix is in the works. If you have any questions or concerns please feel free to contact me directly

Best wishes,
Tim Parnell
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 9
Sergey Pashkov Accepted Answer
And we'll try to remove the requirement to have aliases in the future version (changes were already made).
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 10
Helge Tjelta Accepted Answer
Hi Sergey, just tried with the 11.4.1 version... but the logs in lifeboat says that a file with .1140 cannot open shaed object file...

but this is 1141 ? isn't it... why is it asking for .1140???
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 11
Helge Tjelta Accepted Answer
my earlier test on another app, using 11.4.0 works fine... but this which is build with 11.4.1 fails....
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 12
Sergey Pashkov Accepted Answer
Hi Helge,
That's strange, I'm checking it now
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 13
Sergey Pashkov Accepted Answer
11.4.1 works for me.
It looks like Xojo copies an old version of the plugin into the compiled app.

It happens sometimes, it is recommended to quit Xojo, empty plugins cache and try again.

Plugins cache can be found here:
~/Library/Caches/Xojo/XOJO_VERSION/Precompiled Plugins
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 14
Helge Tjelta Accepted Answer
Hm, I never thought of that, have never done that before...

I tried it, but still the same... I have 5 attempt trying to load that plugin... v4rb_x64_release.so. libvshare_release_x64.so.1140 still fails...

Still no go....
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 15
Helge Tjelta Accepted Answer
Sergey, SORRY MY FAULT... I had changed to v 11.4.1 on the linux components download and the vstudio pro, but had forgotten the actual plugin in Xojo... Now that I have changed that to 11.4.1 all runs well....

I'm very, very sorry for this. I'll be more aware of all the places to update, next time.

Sorry.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 16
Tim Parnell Accepted Answer
Lifeboat build 64 has been released which fixes the issue with leaving symlinks behind. This should resolve issues with pre 11.4.1 versions of the Xojo plugin :)

Best wishes,
Tim Parnell
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 17
Helge Tjelta Accepted Answer
Hi Tim, this is just superb, I need to maintain som old web 1.0 projects that I have recently moved from a windows server to a linux, and this app makes it a breeze...
Thanks to both Paradigma and StrawberrySW for fixing this issue.

thanks. Helge
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 18
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories