Skip to content

Instantly share code, notes, and snippets.

@olsonjeffery
Last active December 27, 2015 02:19
Show Gist options
  • Save olsonjeffery/7250903 to your computer and use it in GitHub Desktop.
Save olsonjeffery/7250903 to your computer and use it in GitHub Desktop.
drwxr-xr-x 3 daemon daemon 36864 Oct 31 04:37 files
Started POST "/redmine/uploads.js?attachment_id=1&filename=9030_stall11111.jpg" for 98.203.227.81 at 2013-10-31 14:38:19 +0000
Processing by AttachmentsController#upload as JS
Parameters: {"attachment_id"=>"1", "filename"=>"9030_stall11111.jpg"}
Current user: jeff.olson (id=4)
Saving attachment '/home/bitnami/apps/redmine/htdocs/files/2013/10/131031143819_9030_stall11111.jpg' (165586 bytes)
Completed 500 Internal Server Error in 12ms
Errno::EACCES (Permission denied - /home/bitnami/apps/redmine/htdocs/files/2013/10/131031143819_9030_stall11111.jpg):
app/models/attachment.rb:111:in `initialize'
app/models/attachment.rb:111:in `open'
app/models/attachment.rb:111:in `files_to_final_location'
app/controllers/attachments_controller.rb:88:in `upload'
bash-4.2# ps aux | grep redmine
daemon 4265 0.0 0.4 187632 7872 ? S 14:37 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 4278 0.0 0.4 187632 8124 ? S 14:37 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 4279 0.0 0.4 187632 7868 ? S 14:37 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 4280 0.0 0.4 187632 7812 ? S 14:37 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 4281 0.0 0.4 187632 7868 ? S 14:37 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
root 4355 0.0 0.0 8108 924 pts/12 S+ 14:39 0:00 grep redmine
root 11662 0.0 0.0 4408 736 pts/12 S 04:39 0:00 /bin/sh /opt/redmine-2.3.1-0/mysql/bin/mysqld_safe --defaults-file=/opt/redmine-2.3.1-0/mysql/my.cnf --port=3306 --socket=/opt/redmine-2.3.1-0/mysql/tmp/mysql.sock --datadir=/opt/redmine-2.3.1-0/mysql/data --log-error=/opt/redmine-2.3.1-0/mysql/data/mysqld.log --pid-file=/opt/redmine-2.3.1-0/mysql/data/mysqld.pid --lower-case-table-names=1
mysql 11924 0.0 3.0 658648 51744 pts/12 Sl 04:39 0:24 /opt/redmine-2.3.1-0/mysql/bin/mysqld.bin --defaults-file=/opt/redmine-2.3.1-0/mysql/my.cnf --basedir=/opt/redmine-2.3.1-0/mysql --datadir=/opt/redmine-2.3.1-0/mysql/data --plugin-dir=/opt/redmine-2.3.1-0/mysql/lib/plugin --user=mysql --lower-case-table-names=1 --log-error=/opt/redmine-2.3.1-0/mysql/data/mysqld.log --pid-file=/opt/redmine-2.3.1-0/mysql/data/mysqld.pid --socket=/opt/redmine-2.3.1-0/mysql/tmp/mysql.sock --port=3306
root 11967 0.0 1.0 187500 17216 ? Ss 04:39 0:02 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
999 11978 0.0 0.0 34624 804 ? Ss 04:39 0:00 /opt/redmine-2.3.1-0/subversion/bin/.svnserve.bin -d --listen-port=3690 --pid-file=/opt/redmine-2.3.1-0/subversion/tmp/svnserve.pid
daemon 11997 0.0 0.5 187772 8556 ? S 04:39 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 11998 0.0 0.4 187632 8052 ? S 04:39 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 12057 0.0 0.4 187632 8052 ? S 04:39 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 12058 0.0 0.4 187632 8052 ? S 04:39 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
daemon 12080 0.1 7.1 317216 121480 ? Sl 04:39 0:37 Passenger RackApp: /opt/redmine-2.3.1-0/apps/redmine/htdocs
daemon 12098 0.0 0.4 187632 8048 ? S 04:39 0:00 /opt/redmine-2.3.1-0/apache2/bin/httpd -f /opt/redmine-2.3.1-0/apache2/conf/httpd.conf
root 14355 0.0 0.1 41908 1760 pts/10 S Oct24 0:00 sudo ./use_redmine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment