Errors Migrating from LC Server Community

Deploying to Linux? Get penguinated here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
brodwils
Posts: 5
Joined: Sun Aug 18, 2013 3:45 pm

Errors Migrating from LC Server Community

Post by brodwils » Tue Sep 17, 2019 8:34 am

I had an old LC Community Server installation from 2017 which worked fine.
Now with a paid license available to me I tried installing the Linux 64 version on my Ubuntu 14_04 64 Digital Ocean droplet.

I changed my .htaccess file to point to the new LiveCode executable instead of the old community version.

Now when running the test dot lc "Hello World" example I receive an internal error:
--------------------------
The server encountered an internal error or misconfiguration and was unable to complete your request.

The most common causes of this problem are errors in the app's .htaccess file or incorrect file or directory permissions preventing the web server from reading the .htaccess file.

Detailed information about this error is available in the app's Apache error log . . .
---------------------------

When checking the mentioned log it gives the following:
End of script output before headers: livecode-server

I have checked permissions and nothing seems anomalous. I did not install any 32bit libraries as mentioned in the LC lesson here: 36652-how-do-i-install-livecode-server-on-linux-with-apache (as I understand these aren't needed for the 64bit LC Server).

Any clues what I am missing here??

brodwils
Posts: 5
Joined: Sun Aug 18, 2013 3:45 pm

Re: Errors Migrating from LC Server Community

Post by brodwils » Tue Sep 17, 2019 2:28 pm

Solved!

Trawling the forum I found the command to check dependencies:
ldd ./livecode-server

which flagged the shared library fontconfig was not installed

so installed it with command

sudo apt-get install fontconfig

and my "Hello World" page loads fine!

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7046
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Errors Migrating from LC Server Community

Post by FourthWorld » Tue Sep 17, 2019 6:03 pm

Glad you got it working.

FWIW this enhancement request is related. It won't prevent such issues from happening, but will make for a much simpler solution, and provide a modest speed boost along the way.

https://quality.livecode.com/show_bug.cgi?id=14115

It's simple enough that anyone in our community with decent C++ skills could implement this. Unfortunately I've not been able to find anyone with the intersection of skills and interest to do it.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply

Return to “Linux”