Code Monkey home page Code Monkey logo

Comments (6)

elrido avatar elrido commented on June 12, 2024 1

Since you guys mention using a database backend: Have you seen this topic in the 1.7.2 release discussion? In short, either:

  • ensure your database user has permissions to upgrade the schema
  • or perform the schema & version upgrade manually (this is the safer choice, but more tedious)

We do rarely change the schema, but the 1.7.2 release contained a cleanup of an unused column in one of the tables. The last time a release contained a schema change was with 1.3. Therefore I would not necessarily advise you to add a GRANT to your user, just be aware of this and check the doc/Installation.md for any changes in the database area upon upgrades.

You should have gotten a PDO exception thrown, though, and logged somewhere. If it didn't end up in your usual webserver or PHP error logs, maybe it bubbled up into journalctl or primary syslog file?

from privatebin.

brunob avatar brunob commented on June 12, 2024

Same on https://bin.infini.fr/ tested also with bootstrap & bootstrap5 themes. I don't get any error in php logs with error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT same with error_reporting = E_ALL

  • we use MySQL to store pastes
  • I've checked folder permissions and also made a clean of corrupted pastes found by bin/administration - s.
  • ctype extension is also enabled

Bug seems also present on https://pbinka.duckdns.org/

from privatebin.

rugk avatar rugk commented on June 12, 2024

Did you check the (file system) permissions are correct? Also was this a fresh installation or an update, given you mention a different older instance?
See also previous similar issues: https://github.com/PrivateBin/PrivateBin/issues?q=is%3Aissue+Error+saving+paste+is%3Aclosed It's usually a permission problem.

In general what is the setup? Docker?

from privatebin.

bikmaek avatar bikmaek commented on June 12, 2024

Did you check the (file system) permissions are correct? Also was this a fresh installation or an update, given you mention a different older instance? See also previous similar issues: https://github.com/PrivateBin/PrivateBin/issues?q=is%3Aissue+Error+saving+paste+is%3Aclosed It's usually a permission problem.

In general what is the setup? Docker?

Hi rugk,

thanks for your information - but I don't think that it's a permission problem. - as soon as I copy the old files it's working (same file/data-owner - 4 sure!!!) - as soon as I put the 1.7.3 files - the error occurs. Therefore I created a dev-subdomain to test a lot.

  • 1.7.1 - working -> replace by 1.7.3 files: not working
  • 1.7.3 new installation - not working -> replace by 1.7.1 files: working again
  • 1.7.1 new installation - working -> replacing files by 1.7.3 files: not working

if you have any other ideas - I'm ready to check it!

unfortunately there are no entries in the logfiles - it's like searching in the dark without any light...

It's installed in a "classic" environment - server configured with plesk - nginx proxy -> apache - with php 8.3.7 and MariaDB database

from privatebin.

brunob avatar brunob commented on June 12, 2024

Same here, no docker, permissions and owners checked, and also a config with nginx proxy / apache with php-fpm 8.1 and a mariadb database.

from privatebin.

bikmaek avatar bikmaek commented on June 12, 2024

hi @elrido - this solved my issue!

I changed the title - for other ones that doesn't read the 1.7.2 release discussion 👍

thanks!

from privatebin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.