Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

BBS install error on Synology #100

Closed
juggernutscupper opened this issue Jul 15, 2014 · 6 comments
Closed

BBS install error on Synology #100

juggernutscupper opened this issue Jul 15, 2014 · 6 comments
Labels

Comments

@juggernutscupper
Copy link

Hi,

I've downloaded the 1.23 version from GitHub and installed by dragged the unzipped folder to my web on a Synology (all standard set-up).

I get the following errors when trying to access via myip/bbs or myip/bbs/installcheck:

Warning: require(/volume1/web/bbs/vendor/swiftmailer/swiftmailer/lib/swift_required.php): failed to open stream: No such file or directory in /volume1/web/bbs/vendor/composer/autoload_real.php on line 43 Fatal error: require(): Failed opening required '/volume1/web/bbs/vendor/swiftmailer/swiftmailer/lib/swift_required.php' (include_path='.') in /volume1/web/bbs/vendor/composer/autoload_real.php on line 43

Then nothing happens.

Do you have an idea what I can do to fix the problem(s)?

Best regards,
Søren

@rvolz
Copy link
Owner

rvolz commented Jul 16, 2014

That sounds like an unzip/unpack error. Perhaps some files got lost during the dragging? The safest way is to unzip on the device.

@juggernutscupper
Copy link
Author

Thanks for helping out!
I unzipped in the /web folder - and then I get this:

Warning: mkdir(): Permission denied in /volume1/web/bbs/lib/BicBucStriim/bicbucstriim.php on line 52 Warning: mkdir(): Permission denied in /volume1/web/bbs/lib/BicBucStriim/bicbucstriim.php on line 55 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 table config already exists' in /volume1/web/bbs/lib/BicBucStriim/bicbucstriim.php:81 Stack trace: #0 /volume1/web/bbs/lib/BicBucStriim/bicbucstriim.php(81): PDO->exec('create table co...') #1 /volume1/web/bbs/lib/BicBucStriim/own_config_middleware.php(63): BicBucStriim->createDataDb() #2 /volume1/web/bbs/lib/BicBucStriim/own_config_middleware.php(24): OwnConfigMiddleware->check_config_db() #3 /volume1/web/bbs/lib/BicBucStriim/caching_middleware.php(41): OwnConfigMiddleware->call() #4 /volume1/web/bbs/vendor/slim/slim/Slim/Slim.php(1254): CachingMiddleware->call() #5 /volume1/web/bbs/index.php(193): Slim\Slim->run() #6 {main} thrown in /volume1/web/bbs/lib/BicBucStriim/bicbucstriim.php on line 81

I noticed that the permissions was originally set to read-only for this new /bbs folder. I have changed it to RW but still get the above warnings.

@juggernutscupper
Copy link
Author

... and a solution:

I remembered I had read somewhere that DSM 5 does not set-up http/web permissions the same way as DSM 4.x. So I took a chance and assigned the http user (created by DSM 5) to the /bbs with full RW - and voila: I have access to a login screen.
I try to carry on by myself from hereon :-)
Thank you for the (fast) help!

@juggernutscupper
Copy link
Author

Well - I still have a small problem.
I get to the configuration page and I put in the books folder (in my case /volume1/calibre) - leave the rest as is, press Save - and get a blank page.

I've done the installcheck and get this result: https://www.evernote.com/shard/s1/sh/4df2232d-d011-4535-a325-1d3f26cbe977/5f35bbd823a5052142c80a9ddabcf2f8

Maybe the problem is the red-dotted URL rewrite or the PHP intl? Open-dir is amended and OK.

I'm going on vacation - but I'll try and find out how to change the rights on URL rewrite and enable PHP intl on my DS411j when I get back.

@rvolz
Copy link
Owner

rvolz commented Jul 19, 2014

The blank page is a problem due to Synology's new PHP version. That doesn't provide a function that was required fnmatch. I'll add a fix.

rvolz added a commit that referenced this issue Jul 19, 2014
@rvolz
Copy link
Owner

rvolz commented Jul 19, 2014

Tested with the fix DSM 5.0-4493 Update 2. I hope this fixes your problems.

@rvolz rvolz added the bug label Jul 19, 2014
rvolz added a commit that referenced this issue Jul 20, 2014
Apache environment variables can now be prefixed wit a module name.
Installcheck looks for both versions now.

Changed version to 1.2.4
@rvolz rvolz closed this as completed Jul 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants