Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error web access to lizardfs-cgiserv #907

Open
orlipr84 opened this issue Jul 23, 2021 · 2 comments
Open

Error web access to lizardfs-cgiserv #907

orlipr84 opened this issue Jul 23, 2021 · 2 comments

Comments

@orlipr84
Copy link

I just installed lizardfs-cgiserv 3.13 to monitor the service through the web page and upon entering the page it gives me the following error:

Traceback (most recent call last):
File "/usr/sbin/lizardfs-cgiserver", line 340, in run_cgi
exec(compile(open(self.file_name, "rb").read(), self.file_name, 'exec'), {})
File "/usr/share/mfscgi/mfs.cgi", line 125
raise RuntimeError, "Unknown tree to deserialize: {0}".format(tree)
^
SyntaxError: invalid syntax

Any help please?

@trzysiek
Copy link
Member

trzysiek commented Jul 23, 2021

Can u tell which OS and it's version you are using?

We fixed a bug with cgi about year ago in release candidate. If you download master source code from GitHub and compile it yourself, it should work.

If you don't want to do that, you can always download stable 3.12 version, which we usually recommend to clients, until we release a new version. It should work there too.

You can also check issue #884 . It's probably a similar problem.

@orlipr84
Copy link
Author

orlipr84 commented Jul 23, 2021

I'm using for the production environment lizardfs 3.12 but i would like to test lizardfs 3.13.0 rc version. I installed on Ubuntu 20.04 Server following this instruction to configure the repo:

Ubuntu 20.04

apt-get update
apt-get dist-upgrade
apt-get install wget apt-transport-https
echo 'deb [trusted=yes] https://dev.lizardfs.com/packages/ focal/' | tee /etc/apt/sources.list.d/lizardfs.list
echo 'deb https://dev.lizardfs.com/packages/ focal/' | tee /etc/apt/sources.list.d/lizardfs.list
apt-get update
apt-get install lizardfs-master lizardfs-chunkserver lizardfs-client

And later installed de sofware. Sorry with my english its very bad, adn from Cuba and I use Google Translate.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants