Trovebox (OpenPhoto) issues after fresh install

125 views
Skip to first unread message

enteractive

unread,
Jul 8, 2014, 4:02:24 AM7/8/14
to open...@googlegroups.com

After a fresh install of OpenPhoto on my Ubuntu 14.04 (x64) VPS I encountered the 'blank page @ step 3' error. Somehow I solved it (after several reinstalls, and fiddling with file/folder permissions).

Though solving the blank page.... Now other errors show up:

  • Sorry, an error occured when trying to create your album.
  • Could not update the status of this plugin.
  • 1 New Feature On This Page link is not working
  • Nothing happens when trying to upload a photo
  • Photo uploaded by iOS app is shown, but cannot view view larger sizes...
  • So far I have changed/tested: chmod +x all files/folders, chmod -R 775 all files/folders, chown www-data: files/folders, chmod 777 userdata cache photos

For now, I have restored a snapshot and started all over again. I gave extra attention to the installation of the json and mcrypt modules. The rest of the installation I followed the 'InstallationUbuntuApache' manual letter for letter.....

Unfortunately no succes.. Any help would be great

Jaisen Mathai

unread,
Jul 11, 2014, 6:28:41 PM7/11/14
to open...@googlegroups.com
I just did an Ubuntu 14.04 install and one issue I hit was that php5-mcrypt didn't enable the module for apache. I had to symlink it from /etc/php/mods-available to /etc/apache/conf.d/

But that should show up in your error log if that is the problem...


--
You received this message because you are subscribed to the Google Groups "OpenPhoto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openphoto+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

enter...@gmail.com

unread,
Jul 25, 2014, 12:57:43 PM7/25/14
to open...@googlegroups.com, enter...@gmail.com
After install xx I changed the mode to "dev" .......
And it works without errors.

Some how the "prod" setting breaks the jquery's

akva...@gmail.com

unread,
Jul 31, 2014, 8:18:03 AM7/31/14
to open...@googlegroups.com, enter...@gmail.com
Hm, could you please elaborate. I'm haveing the same issues as you had initially.
You do a fresh install according to InstallationUbuntuApache and you change mode to "dev" on what?

/Anders

Jaisen Mathai

unread,
Jul 31, 2014, 2:33:33 PM7/31/14
to open...@googlegroups.com, enter...@gmail.com
Can anyone confirm that instead of changing mode to "dev" that commenting out this line fixes the problems?
https://github.com/photo/frontend/blob/54abb4a5576a91460c318ce1c208453bbfbab4a6/src/html/assets/themes/fabrizio1.0/templates/template.php#L148

Anders the file they're referring to is a (new) file named /src/configs/override.ini with the following.

[site]
mode="dev"


--

akva...@gmail.com

unread,
Aug 4, 2014, 6:32:25 PM8/4/14
to open...@googlegroups.com, enter...@gmail.com
Yes sir, commenting out that line  had the same effect as mode="dev".

An other thing I noticed was that .TIF and .NEF files does not show up in the list of file names in the "Upload" tab. It works fine for .JPG and .PNG. 
Actually it looks like .TIF files cannot be uploaded at all. When I try to upload a .TIF file I get the following in the apache2/error.log:
[Tue Aug 05 00:22:55.280542 2014] [:error] [pid 6926] [client 192.168.0.3:51792] PHP Warning:  POST Content-Length of 23889507 bytes exceeds the limit of 167772
16 bytes in Unknown on line 0, referer: http://192.168.0.191:8900/photos/upload
[Tue Aug 05 00:22:55.292326 2014] [:error] [pid 6926] [client 192.168.0.3:51792] {severity:warn, description:"Crumb does not match", additional:}, referer: http
[Tue Aug 05 00:22:55.750458 2014] [:error] [pid 6926] [client 192.168.0.3:51792] PHP Notice:  Undefined offset: 0 in /var/www/openphoto/src/libraries/controller
s/ApiPhotoController.php on line 551, referer: http://192.168.0.191:8900/photos/upload
[Tue Aug 05 00:22:55.750751 2014] [:error] [pid 6926] [client 192.168.0.3:51792] PHP Notice:  Undefined index: ids in /var/www/openphoto/src/libraries/controlle
rs/ApiPhotoController.php on line 562, referer: http://192.168.0.191:8900/photos/upload
[Tue Aug 05 00:22:55.750842 2014] [:error] [pid 6926] [client 192.168.0.3:51792] PHP Notice:  Undefined variable: duplicatePhotos in /var/www/openphoto/src/temp
lates/upload-confirm.php on line 42, referer: http://192.168.0.191:8900/photos/upload

And when I upload a .NEF I get: 
processing /tmp/php7ftqC0-copy
Not a JPEG file: starts with 0x4d 0x4d
[Tue Aug 05 00:22:01.510348 2014] [:error] [pid 6996] [client 192.168.0.3:51755] PHP Notice:  Undefined variable: duplicatePhotos in /var/www/openphoto/src/temp
lates/upload-confirm.php on line 42, referer: http://192.168.0.191:8900/photos/upload

Moreover, when I try to look at my photos (doesn´t matter if they are .JPG, .PNG, .NEF or .TIF) they doesn´t show.  If I click 'Albums' I get my albums with the Trovebox logo as cover and what looks like a broken link icon in the corner. If I go in to the album the names of the uploaded files are there but it is only a blank, not clickable picture there.
I can find my uploaded pictures in the "storage pool" I have setup for Tbox. 



/Anders

Hubert Figuière

unread,
Aug 4, 2014, 9:13:22 PM8/4/14
to open...@googlegroups.com
On 04/08/14 06:32 PM, akva...@gmail.com wrote:
> Actually it looks like .TIF files cannot be uploaded at all. When I try to
> upload a .TIF file I get the following in the apache2/error.log:
> [Tue Aug 05 00:22:55.280542 2014] [:error] [pid 6926] [client
> 192.168.0.3:51792] PHP Warning: POST Content-Length of 23889507 bytes
> exceeds the limit of 16777216 bytes in Unknown on line

This is quite obvious: file is too big. Not surprising for a TIFF.

> And when I upload a .NEF I get:
> processing /tmp/php7ftqC0-copy
> Not a JPEG file: starts with 0x4d 0x4d

RAW files aren't supported. Here it is expecting a JPEG which is weird,
but I suspect that's a bug.

Hub
Reply all
Reply to author
Forward
0 new messages