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

Still unable to validate documents after upgrading to 10.5.1 #4357

Closed
mlinaresalvaro opened this issue Jan 16, 2025 · 40 comments
Closed

Still unable to validate documents after upgrading to 10.5.1 #4357

mlinaresalvaro opened this issue Jan 16, 2025 · 40 comments

Comments

@mlinaresalvaro
Copy link

mlinaresalvaro commented Jan 16, 2025

Thanks to Mr. Victor Mattos for his quick response.
However, the problem with validating documents in the cloud with LibreSign continues after updating to LibreSign version 10.5.1.
I'll give you more details.
Previously I had Nextcloud 30.0.4 with LibreSign 10.4.4, PHP 8.3.16, Zend Engine v4.3.16 and Zend OPcache v8.3.16, on a Rocky Linux 9, and everything worked without problems.
Then I updated LibreSign to 10.5.0 and since then I can't validate documents if I click on the URL in the footer or if I scan the QR code of a previously signed document. When I do this, what I achieve is to open a LibreSign page in NextCloud.

Something interesting:
In the list of applications required by LibreSign, within the NextCloud administration interface, it is reported that the Poppler utils application is not installed, however, it is installed in the operating system.

@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Jan 16, 2025
@mlinaresalvaro mlinaresalvaro changed the title Aún sin poder validar documentos despues de actualizar a 10.5.1 63 / 5.000 Still unable to validate documents after upgrading to 10.5.1 Still unable to validate documents after upgrading to 10.5.1 Jan 16, 2025
@vitormattos
Copy link
Member

I opened a PR with the fix and I will create a new release as a soon.

If you wish, you can apply the changes handmade to verify if will work fine.

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 16, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 16, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 16, 2025 via email

@vitormattos
Copy link
Member

I will check what's happened because the error page wasn't displayed correctly. But I saw that the error that this page return is: Current user is not logged in.

Check at your Administration Settings > LibreSign. You need to maintain by this way to make the validation URL public:

Image

@vitormattos
Copy link
Member

Looking the administration setting I found another issue that don't display correctly the saved data about the validation url. I will fix as a soon.

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 16, 2025 via email

@vitormattos
Copy link
Member

Check the newest release, 10.5.2

Your images aren't coming at GitHub issue.

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 16, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 16, 2025 via email

@vitormattos
Copy link
Member

This is a cache of Nextcloud.

Move the folder data/appdata_/appstore to a temporary folder and run again what you made to fetch the newest version of apps.

This is a cache folder.

Also would be good to run occ files:scan-app-data after move the folder to a temporary folder.

If work fine, delete your backup of appstore folder.

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 16, 2025 via email

@vitormattos
Copy link
Member

I made a lot of checks to identify if have any issue at validation page and I found a JS issue that could be what's you having but I can't confirm because at this issue I can't see your screenshots and haven't a detailed steps to reproduce the issue.

I created a new release fixing the JS issue that I found.

Could you verify if will work with the newest release?

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 19, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 20, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 20, 2025 via email

@vitormattos
Copy link
Member

vitormattos commented Jan 21, 2025

At GitHub side I never can see your attachments. To add images to your issues will be necessary open GitHub and write the message.

@mlinaresalvaro
Copy link
Author

Hello Vitor.

I would like to tell you that both in the current version (10.5.3) and in
the previous one (10.5.4), there are several problems.

When I try to sign a document, it simply shows what I send in image 1,
however, the document is signed correctly. I also cannot validate the
document without being in the nextcloud. If I am within the platform, the
validation is carried out successfully, but if I am not authenticated in
the platform, it shows what I attach in image 2.

In the application settings, the configurations of the check boxes of the
validation URL are not saved; when one exits the configuration and
re-enters, they are always in the same position: only the first two are
deactivated. (image 3).

Is there no way to publish an update or downgrade equivalent to the old version 10.4.4
that worked so well? I have tried to downgrade but it gives me a conflict
with the Java libraries and components.

another problem: the configuration check reports that Poppler utils is not installed, however, it is.

Image

Image

Image

@vitormattos
Copy link
Member

I identified another issue when saving the settings. Could you check again if you can save the settings?

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@vitormattos
Copy link
Member

Follow the checks that LibreSign do to identify if all is working fine with poppler:

https://github.com/LibreSign/libresign/blob/main/lib/Service/Install/ConfigureCheckService.php#L75-L106

To reproduce handmade you can:

php -r "print_r(shell_exec('which pdfsig'));"

This will need to return the path of pdfsig binary

php -r "print_r(shell_exec('pdfsig -v 2>&1'));"

This will need to return your pdfsig version

@vitormattos
Copy link
Member

The "Identification documents" isn't working now because we haven't any customer using this feature and to be possible go ahead with the development of LibreSign with our very reduced team and without money to pay us, was necessary to ignore the issues about " Identification documents "

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@vitormattos
Copy link
Member

I'm looking that you used the root user, use the same use that your PHP process is executed.

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@vitormattos
Copy link
Member

If you're getting the message "Poppler utils not installed" is because the command which pdfsig says that the binary pdfsig don't exists and return nothing.

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 27, 2025 via email

@vitormattos
Copy link
Member

Is there anything pending here? I think we can close this issue then, correct?

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 28, 2025 via email

@vitormattos
Copy link
Member

If is possible, will be good to receive a sponsor to help the development of LibreSign.

The funding is very important to keep alive this project.

@github-project-automation github-project-automation bot moved this from 0. Needs triage to 4. to release in Roadmap Jan 28, 2025
@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 28, 2025 via email

@vitormattos
Copy link
Member

I know.
All help will be welcome, including more tests, motivate people to develop new features, translations,...

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 28, 2025 via email

@vitormattos
Copy link
Member

Do you know the Transifex patform to translate LibreSign?

https://app.transifex.com/nextcloud/nextcloud/libresign/

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 28, 2025 via email

@mlinaresalvaro
Copy link
Author

mlinaresalvaro commented Jan 29, 2025 via email

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

No branches or pull requests

2 participants