Posted by: pyragony54 Posted on: May 31st, 2019 at 7:40am
After the server change. YaBB 2.6.12. Could also be at 2.7. Pop up. Is not tested yet.
Quote:
Can't locate Paths.pm in @INC (you may need to install the Paths module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at Dobackup.pl line 35.
Posted by: pyragony54 Posted on: May 15th, 2019 at 5:14pm
Unfortunately it does not work either. But let it be good, I just reopened the forum. The problem is simple, the paths on the new server are very different. Even an adjustment did not work. YaBB 2.7 is now working. There I find in the endurance test so far no errors.
Posted by: Dandello Posted on: May 14th, 2019 at 8:22pm
Posted by: pyragony54 Posted on: May 14th, 2019 at 4:38pm
Now I get Internal Server Error. I'll send you the FTP data and the URL via PM. The error would certainly not occur if I could make a direct move from Plesk to Plesk. The forum went well for 4 years. If it can not be otherwise, then I put it on again. I do not want to extend the contract from the old server unnecessarily, it costs all the money. I've set up a test domain on the new server so I can get it to work. Actually, I wanted to play YaBB 2.7, but the installation of the mods does not really work.
Posted by: Dandello Posted on: May 14th, 2019 at 12:22pm
Oddly enough, this one didn't throw errors in 2.7 on your server.
Posted by: pyragony54 Posted on: May 14th, 2019 at 8:41am
I still get this error message.
Quote:
Can't locate Paths.pm in @INC (you may need to install the Paths module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at BackupFix.pl line 17.
Posted by: Dandello Posted on: May 1st, 2019 at 7:32pm
I will probably have the changes in the SVN sometime this evening (my time).
I still think there was a folder ownership misconfiguration with the Plesk server set up.
Executables in the cgi-bin should run as 'nobody' (which is basically the same as 'everybody') and should 'own' all the files and folders it can find - which is why Perl scripts have the potential of so extremely dangerous in the hands of malicious people or people who don't know what they're doiing. (And why we have to be so careful to not allow bad code to get in from the outside.)
But if YaBB's script was trying to create a file or write to a file in a folder that was 'owned' by someone other than 'nobody' then it couldn't write or create the file.
Posted by: pyragony54 Posted on: May 1st, 2019 at 4:20pm
That's crazy. The new server can be YaBB 2.7 and I got along with chmod 755. However, he does not find the path here either. I am waiting for the SVN.
The same FTP data, again boardmod.
I could not even start the setup on the old server.
YaBB test is still on the old server. But I'll leave it that way, so that we have the certainty that YaBB 2.7 runs everywhere. Is of course no guarantee.
However, you have no chance with the new Plesk. (Web Admin Edition).
Posted by: Dandello Posted on: May 1st, 2019 at 4:09pm
Please PM me the FTP to where your 2.7 install is and I'll check it later today or tomorrow. It may be something simple that went wrong - or not.
I doubt the current build of 2.7 will work on your new server as the Perl installed on it doesn't like getting the required path using Cwd
Posted by: pyragony54 Posted on: May 1st, 2019 at 3:37pm
Great, that works the new server. That was a lot of work and then find and test the right tool. Now I'll see what he says to yabb 2.7. The old server does not want to. You can see how different Perl responds on other servers.
Posted by: Dandello Posted on: May 1st, 2019 at 2:25pm
Got in and got it.
Apparently the Perl on your new server didn't like using the $cwd variable even though that bit of code is what's recommended by other perl Mongers dealing with '.' being disabled.
Deriving the proper path from $ENV{'SCRIPT_FILENAME'} worked. This is the fix that will be going into 2.6.12 on the SVN.